2
Answers

dataset,dataadapter,datagridview

virgel martinez

virgel martinez

15y
6.6k
1
Folks can you please help me on this, i have this code in vb6, can you please write this in vb.net... private sub form_load() init_main end sub private sub init_main datMain.databasename = "c:\main.mdb" datMain.recordsource = "select * from main" datmain.refresh end sub private sub init_detail(my_key as string) datDetails.databasename = "c:\main.mdb" datDetails.recordsource = "Select * from detail where key = '"& my_key & "'" datDetails.refresh end sub private sub datMain_Reposition() init_detail("virgel") end sub Thanks a lot...
Answers (2)