Monday, July 28, 2014

Add new columns in DatagridView While using Database

Hello Guys, I find hard to explain what I wanted to happen but I will try my best to Explain my problem. Here it goes.


I have a datagridview which have a datasource ms access access database table name "tblStudent". Now, I have 3 columns from the database then I want to add a column in datagridview programmatically with 1 looping value in all rows. How could I do that? to make it more clearer here's an image:



The first 3 columns are values from my database table tblStudent but the last column was only added programmatically. Can someone give me the code on how to loop a STRING in all cells in COLUMN STUDENT TIME OUT? Thanks for the reply :)


No comments:

Post a Comment