Home > Software engineering >  VB textbox control read data data
VB textbox control read data data

Time:09-17

Text1. The DataSource=Data1
Text1. DataField="student id"
It was useless to directly on the property line written


Don't know how to write code, thank you

CodePudding user response:

So confusing, remove the value of the data directly to text1 assignment is not OK, I personally is very opposed to data binding,
Make the data binding don't want to save something, the results for the provincial three lines of code to to CSDN Posting, etc. A day no one reply,

CodePudding user response:

Upstairs brother, not yo, I am now want to use the code to implement, can't I use N times method, the CSDN also has a man asked, just like me, still no solution,
Although this know this ACCESS has been eliminated, but I still want to understand, why the code is not, I want to learn programming thinking what do you think I according to the new assignment, you will know, you write a code I see hope brother, I this is an error, student id no data, because I want to by programming, and is not written in the properties window, there are data properties window to write,

CodePudding user response:

Should need to connect to the database, through the connection to the database to invoke the data in the table

CodePudding user response:

I usually don't use the form controls the method of data binding, but as well as 1/f, with open recordset object form, by querying the assign values to the controls,

In fact, the original design data binding is subject to many constraints, is not suitable for all applications,

And you code execution, also with the original method of design idea,

CodePudding user response:

Data binding is too small
  • Related