P
Paul Edwards
I am writing an application in c# that connects to a SQL
server database. Following examples etc I can use bound
controls and with the position property go to a row and
edit it and save changes back to database. The problem is
I can't find how to set the position of the form to a new
row. If I just add a blank row to the datatable and then
try to go to it only works if all columns are nillable,
however this then leaves room for errors or I have to put
default values in columns that I don't want to have them.
Is there any way to point a bound form to a new row?
Thanks in advance
Paul
server database. Following examples etc I can use bound
controls and with the position property go to a row and
edit it and save changes back to database. The problem is
I can't find how to set the position of the form to a new
row. If I just add a blank row to the datatable and then
try to go to it only works if all columns are nillable,
however this then leaves room for errors or I have to put
default values in columns that I don't want to have them.
Is there any way to point a bound form to a new row?
Thanks in advance
Paul