Topic: How To Edit Even TableGrid1 To DateTimePicker1

How To Edit  even double click from  TableGrid1 and display datetimepicker1


tablea
ID      birthdate
1        1999-01-01 00:00:00.000
2        1998-01-01 00:00:00.000
3        1997-01-01 00:00:00.000
4        1996-01-01 00:00:00.000

how to edit code ?

form1.DateTimePicker1.?????????? :=
SQLExecute('select birthdate from tablea where tablea.id ='+
inttostr(form1.TableGrid1.dbItemID));
My Visual Database : I Love You
Easy For Beginner Student For Me

Re: How To Edit Even TableGrid1 To DateTimePicker1

form1.DateTimePicker1.DateTime := SQLDateTimeToDateTime( SQLExecute('select birthdate from tablea where tablea.id ='+ inttostr(form1.TableGrid1.dbItemID)) ) ;
Dmitry.