Results 1 to 2 of 2

Thread: Databinding design time/coded

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Posts
    70

    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:
    1. 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?

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Oct 2005
    Posts
    70

    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
  •  



Click Here to Expand Forum to Full Width