|
-
Nov 14th, 2005, 04:37 AM
#1
Thread Starter
Lively Member
Databinding design time/coded
Heya,
I'm currently having a trouble at this part:
To get data from databases I use datasets, of wich I want to bind certain tables to textboxes/comboxes.
For example I have a textbox, calling txtProject and a dataset ServerInfoDataset1.
After executing the stored procedure and filling the dataset, I do the following line in code:
VB Code:
Me.txtProject.DataBindings.Add("Text", Me.ServerInfoDataset1, "ServerInfo.Project")
This worx cool, but suppose I would like to do this in design time, because I have a hell of a load of textboxes/comboboxes.
I now tried to go to properties -> "Data" -> "DataBindings" -> under "Text" : browse to ServerInfo -> Project in the ServerInfoDataSet1 I find in there.
The problem is, after running the project, the value in the textbox doesn't get updated after filling the dataset...
Anyone knows what is going wrong in the design part?
-
Nov 14th, 2005, 07:52 AM
#2
Thread Starter
Lively Member
Re: Databinding design time/coded
Hereby the request to delete this thread plz, as I posted it twice by mistake...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|