stillinlife101
Programmer
I have a form that was more or less automatically generated by C# Express 2005 by dragging the "details" view of a SQL table onto a form. I have a bunch of textboxes connected to a dataset and the corresponding toolbar.
I don't want the user to play around with the primary key, so I have the "ID" field set to read-only. How can I have that box automatically filled in so I don't get a "field cannot be null" when the user tries to save a new record?
Thanks,
Dan
I don't want the user to play around with the primary key, so I have the "ID" field set to read-only. How can I have that box automatically filled in so I don't get a "field cannot be null" when the user tries to save a new record?
Thanks,
Dan