I am using VB data environment designer, SQL 2000 database, form controls the datagrid control want to relative to connect to the database, what to do, (direct manually modify the datasource in the data environment is absolute or relative?) , after the completion of the connection, want a form on the load event, a database load let datagride shows a table of contents, how to write this code (also data environment) answer, genuflect is begged if you can answer correctly readmitted didn't tooth unforgettable, please!!!!!!
CodePudding user response:
What is relative?
Database - & gt; The datagrid
1, load the SQL library
2, use the "select * from your table" statement, will you read the content of the database to your datatable,
3, the datagrid beat him binding table,
Your modifications cannot modify directly into the database, have to manually write code into,
Advice: buy a book, according to the column range walk again you will,
CodePudding user response:
Pass by, to learn,