D
Doru Roman
Hi,
To update the changes in the grid I use the structure taken from the Help
examples:
private void dgCompany_UpdateCommand(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
TextBox CompanyBox = (TextBox)e.Item.Cells[2].Controls[0];
I try to get the hierarchy starting at Item.Cells[2].Controls[0]
I could not find the Cells and then Controls collections inside the datagrid
class.
Can someone explain to me how I can get to the controls in the end, as
Controls[0] means Textbox, Controls[1] means Checkbox, or at least this is
what I presume.
Thanks,
Doru
To update the changes in the grid I use the structure taken from the Help
examples:
private void dgCompany_UpdateCommand(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
TextBox CompanyBox = (TextBox)e.Item.Cells[2].Controls[0];
I try to get the hierarchy starting at Item.Cells[2].Controls[0]
I could not find the Cells and then Controls collections inside the datagrid
class.
Can someone explain to me how I can get to the controls in the end, as
Controls[0] means Textbox, Controls[1] means Checkbox, or at least this is
what I presume.
Thanks,
Doru