how to insert the data in data grid ?
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
how to insert data in data grid in vb.net
-
how to insert data in data grid in vb.net
Try this... dim conn = new sqlconnection(connstring) dim cmd = new sqlcommand cmd.connection = conn cmd.commandtype = command.text cmd.commandtext = "SELECT ...." dim da = new sqldataadapter da.selectcommand = cmd dim ds = new dataset da.fill(ds, "tblname") dg.datasource = ds.tables(0) Feng Screwed, the art of moving to a new place because it would just be too much to clean the old place