Dataset,dataadapter,datagridview
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...
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

SrinivasRank #3,567 · 408 reputationPosted May 19, 2009, 1:32 AM EDT
Hi
Please open the VB application in .NET. It will show you some wizards. You click next in that wizards. It will automatecally convert the vb application into VB.NET.
It will show some errors, you need to solve yourselfs.
Find the respective methods of Vb into vb.net.
virgel martinez3 reputationPosted May 19, 2009, 10:08 PM EDT