Accessing bindingsource created in code view through design view in Visual Studio 2005 C#...

Unanswered Accessing bindingsource created in code view through design view in Visual Studio 2005 C#...

  • Thursday, March 20, 2008 4:05 PM
     
     

    Hi there once more,

     

    I ve created many textbox window components and a bindingsource whose fields i want to bind to the textboxes. The problem is that the bindingsource was created in codeview as a result it is not accessible through design view from which i was planning to do the bindings easily. Any help on finding a way to overcome or solve my problem would be appreciated.

     

    Thank you,

     

    Patonios

All Replies

  • Friday, March 21, 2008 7:31 AM
     
     
    If you want to access it in design view. you will have to create it from the deisgner.
  • Saturday, March 22, 2008 9:43 AM
     
     

    Thanks for your response!

     

    The problem is that i dont want all the auto generated code design view produces if i create the binding source from there. Another reason is that my bindingsource.datasource dataset is passed to my form as a parameter so neither dataset is viewed by designer view so i can make the binding.

     

    Is there another way to by-pass this problem?

     

    Thanks again,

    Patonios