DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   Blank Record & Open Form From Datagrid (http://www.daniweb.com/forums/thread31243.html)

Toulinwoek Aug 26th, 2005 9:28 pm
Blank Record & Open Form From Datagrid
 
I have two issues;

If I create a new datatable and use a datagrid on my form, when I run the application there is this new, blank record already there. If I try to enter anything in it, it won't save. I have to actually click to create a new record (which I can edit and save), but this blank record is still there. The same is true if I use discrete controls bound to the datatable.

Any ideas on why this is happening, and how to make it stop?

Also, if I have two forms, one with a datagrid and the other with discrete controls (details), bound to the same database, how can I click on a record in the grid view and have it open the detail form with the clicked record displaying? I can get the details form to open, but not with the selected record displaying.


All times are GMT -4. The time now is 12:40 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC