DataGrid Row Count
Posted on 2004-09-22
I assgned a empty DataTable as data Source to the Datagrid. Now i entered the data in
the datagrid rows and this data i want to assing to the datatable and then update to database
for this i want the rows count of the grid to know how much rows i entered in the grid and then
manually assign this griddata to that datatable by loop.... for this i dont know how
I CAN GET THE ROW COUNT OF DATAGRID CONTROL ......
I also made type cast of datagrid to datatable and then tried to get count but in this way it
gives me the row count of that empty datatabel which i assigned to datagrid as datasource.
PLEASE REPLY ME AS SOON AS .... I STRUCKED AT THIS POINT