R
Rado
Hello.
I have One problem.
Whan I make database program in Visual Basic 6 which has some Forms. I make
Dataenvironment. There I make connection to my database. In command I select
table or write SQL comand.And Now I can acces to this tabel/ created new
table with SQL command/. Such that, when I put some textbox,datagrid to
first form I can bind this components with created Dataenvironment command.
When I put some commponents to second Form, thirs
form...................................
I can do same thing, so I can bind with created Dataenvironment command.
How Can I make it in Visual Basic.NET.
BEcause when I work with databases, I can make one connection in Server
Explorer, but I must make Dataadapter/Dataset/ for each Form.
Have any Idea how Can i do it, that I created one conection, once I write
Sql command, and on the this conecntion-command I should be accses from each
form ?
Thank You very much for your answer.
I have One problem.
Whan I make database program in Visual Basic 6 which has some Forms. I make
Dataenvironment. There I make connection to my database. In command I select
table or write SQL comand.And Now I can acces to this tabel/ created new
table with SQL command/. Such that, when I put some textbox,datagrid to
first form I can bind this components with created Dataenvironment command.
When I put some commponents to second Form, thirs
form...................................
I can do same thing, so I can bind with created Dataenvironment command.
How Can I make it in Visual Basic.NET.
BEcause when I work with databases, I can make one connection in Server
Explorer, but I must make Dataadapter/Dataset/ for each Form.
Have any Idea how Can i do it, that I created one conection, once I write
Sql command, and on the this conecntion-command I should be accses from each
form ?
Thank You very much for your answer.