goransaler
IS-IT--Management
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
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