Results 1 to 2 of 2

Thread: dataset binding (BindingContext)

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2003
    Posts
    43

    dataset binding (BindingContext)

    hello,

    i created a form with the following controls (system.windows.form) :

    textbox

    combobox
    DateTimePicker

    my problem is with the combobox / datetimepicker when using the command :

    Me.BindingContext(bindedTable).AddNew

    DateTimePicker
    when this item is binded to the datatable ("bindedTable"), the controls are not cleared (nothing happens) when entering the command above.

    when the controls that are binding don't include this control, when using the command, the controls are cleared (as should be).


    combobox

    when clicking the command, i exspect the field to retrieve a default value.

    how to do so ?

    many thanks
    Eran.

  2. #2
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Dublin (Ireland)
    Posts
    304
    post your code as I bind to both combobox and datetimepicker without any problems

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