how to bind records into gridview using data reader
-
i am the beginer for .net, i need to bind records into gridview using data reader, please help me, how to do this..
-
i am the beginer for .net, i need to bind records into gridview using data reader, please help me, how to do this..
this is very easy, first declare data reader and provide obj for data reader and read each and every row using for loop and bind the gridview columns.
-
i am the beginer for .net, i need to bind records into gridview using data reader, please help me, how to do this..
Quite easy, first declare some list with type of your data wrapper, then read db via reader and populate one warper object with data from reader for each row and add it to declared list. Lastly you need to set gridview data source property to your declared list and call bind on gridview that's it.
Share your experience with others Check my Blog...
-
i am the beginer for .net, i need to bind records into gridview using data reader, please help me, how to do this..