A
ashelley
Hello,
If i am binding a datagrid to a dataset, is there anyway to include
each rows index number so that I can explicly reference it on the
itemdatabound event regardless of sort order / filtering.
Here's what I want to do for my ItemDataBound event.
//xd is a XmlDataDocument that has been stored in a session
xd.DataSet.Tables["PART"].Rows[int.Parse(e.Item.Cells[0].Text)].GetChildRows("PART_DET");
where
e.Item.Cells[0].Text is the original row number as found in the
dataset?
-Adam
If i am binding a datagrid to a dataset, is there anyway to include
each rows index number so that I can explicly reference it on the
itemdatabound event regardless of sort order / filtering.
Here's what I want to do for my ItemDataBound event.
//xd is a XmlDataDocument that has been stored in a session
xd.DataSet.Tables["PART"].Rows[int.Parse(e.Item.Cells[0].Text)].GetChildRows("PART_DET");
where
e.Item.Cells[0].Text is the original row number as found in the
dataset?
-Adam