|
-
Nov 14th, 2005, 05:54 AM
#1
Thread Starter
Lively Member
Plz help me on this :)
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 (instance of ServerInfoDataset, dragged onto the design form)
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...
When I'm trying the same with a combobox, only 1 value is shown when coded, and nothing shown when I databind the respective table to the combobox in design time 
Anyone knows what is going wrong in the design part?
Last edited by Dagon; Nov 14th, 2005 at 06:03 AM.
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
|