How can I make this button
resultsHtml.Append(" <button runat="server" ID='btnHelloWorld' OnClick='btnHelloWorld_Click' Text='Upd`ate label!' /> ");
run this
protected void btnHelloWorld_Click(object sender, EventArgs e)
{
lblHelloWorld.Text = "Hello, world";
}
In the same page?
They are both in the back code and the same page. The reason I put it in resultsHtml.Append(); is because it's in the datatable