Results 1 to 2 of 2

Thread: AddNew

  1. #1
    Join Date
    Feb 2003
    Posts
    8

    Unanswered: AddNew

    If
    have a table like this

    Activity

    Id Starttime Endtime Activity


    and i like to generate a new row in the dataset
    but i like the starttime field to be the datetime now
    if i use a textbox i understand how i can do it but if i don't
    how do i do

    this.BindingContext[Dsactivity,"Activity"].EndCurrentEdit();
    this.BindingContext[Dsactivity,"Activity"].AddNew();
    ???????


    please help

  2. #2
    Join Date
    Feb 2003
    Posts
    8

    visual studio c#

    sorry i forgot


    its done in visual studio c#

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •