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...
virgel martinezPosted May 20, 2009, 2:08 AM
SrinivasPosted May 19, 2009, 5:32 AM
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.