F
Faizal Tan
Hi guys, i have a problem with my button in my datagrid. Wht i need to do
is have this button link to another page. The button must also pass an ID to
the next page. this is wht i coded in the code behind.
Where " +e.Item.Cells[0].Text); " is pointing to an invisble Bound
column with a Data field named i_ComponentSetupId ( tht is the id thts its
supposed to pass to the next page).
Hmm, it aint working. I'm new to programming, i wonder if anyone can show
me any examples?
Thx in advance people.
private void DataGridComponentProcesses_ItemCommand(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
Response.Redirect("EditComponentSetup.aspx?id="+ e.Item.Cells[0].Text);
}
is have this button link to another page. The button must also pass an ID to
the next page. this is wht i coded in the code behind.
Where " +e.Item.Cells[0].Text); " is pointing to an invisble Bound
column with a Data field named i_ComponentSetupId ( tht is the id thts its
supposed to pass to the next page).
Hmm, it aint working. I'm new to programming, i wonder if anyone can show
me any examples?
Thx in advance people.
private void DataGridComponentProcesses_ItemCommand(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
Response.Redirect("EditComponentSetup.aspx?id="+ e.Item.Cells[0].Text);
}