943,971 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 6672
  • C# RSS
Aug 26th, 2005
0

Blank Record & Open Form From Datagrid

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 2
Posting Whiz in Training
Toulinwoek is offline Offline
274 posts
since Mar 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Is ther a other way??(SharpDevelop ActiveX)
Next Thread in C# Forum Timeline: C# books?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC