Question : A data key for DataTable?

Dear experts,

I create and populate a DataTable dynamically in code behind, and use it as a DataSource for my GridView. I need to be able to identify GridView rows in RowDataBound(), but the GridView has no DataKey, because I don't use a query to populate the GridView e.g. using SqlDataSource. Is there any way to dynamically assign a DataKey or something else to each row of the DataTable?

Thanks.

Answer : A data key for DataTable?

It is located in: InstallPath\Errorlog.txt
Random Solutions  
 
programming4us programming4us