how to populate datagrid from dataset manually
-
hi! can any body guide me that how can i populate datagrid row by row that is i dont want ot use datagrid.datasource = dataset, datagrid.databind() .... instead i want it in the following senario(manually) populate a dataset then go through some loop check each row on each iteration and specify some criteria if it match then add that row to grid other wise skip it and move to the next row plz explain it with the help of code regards shezi
-
hi! can any body guide me that how can i populate datagrid row by row that is i dont want ot use datagrid.datasource = dataset, datagrid.databind() .... instead i want it in the following senario(manually) populate a dataset then go through some loop check each row on each iteration and specify some criteria if it match then add that row to grid other wise skip it and move to the next row plz explain it with the help of code regards shezi
What criteria are you checking against? Would you be able to create a dataview from your dataset table and then perform a filter? This would be a much simpler solution.