Populate a DataGrid or Gridview
Posted on 2010-08-27
I want to populate a datagrid and the data is not going ot come from any database. what i have is an object and i am going through loop through different values in that object and then populate the datagrid with the values that I get after each loop.
this is what i want to do:
loop through object:
string x = object.somevalue
string y = object.somevalue
Function populategrid (sting x, string y)
populate grid by appending new values.