B
Britney
I have the following simple dataForm sample, basically I can click on a
button then return the datagrid.dataBind().
but I want to convert my button to a hyperlink, how do I do that? Is that
possible?
<TD><asp:button id="buttonLoad" accessKey="L" runat="server"
Text="Load"></asp:button>
public void buttonLoad_Click(object sender, System.EventArgs e)
{
try
{
this.LoadDataSet();
this.masterDataGrid.SelectedIndex = -1;
this.masterDataGrid.DataBind();
}
catch (System.Exception eLoad)
{
this.Response.Write(eLoad.Message);
}
button then return the datagrid.dataBind().
but I want to convert my button to a hyperlink, how do I do that? Is that
possible?
<TD><asp:button id="buttonLoad" accessKey="L" runat="server"
Text="Load"></asp:button>
public void buttonLoad_Click(object sender, System.EventArgs e)
{
try
{
this.LoadDataSet();
this.masterDataGrid.SelectedIndex = -1;
this.masterDataGrid.DataBind();
}
catch (System.Exception eLoad)
{
this.Response.Write(eLoad.Message);
}