R
Rod
I'm new to both SQL server and asp.net so please excuse the dumb question.
I have a table in SQL server that has an identity column and also some
columns that are marked as Not Null.
In asp.net I put this table into a dataset then display it in either a
DataList or a DataGrid.
I want to add a new row so I presume I need a button that will add a row to
the dataset. But how do I sort out the identity field.
I could create the blank row in the database first which gives me the id,
but then the Not Null fields will start demanding data. Seems like a Catch
22.
Please advise!
Many thanks in advance.
Rod
I have a table in SQL server that has an identity column and also some
columns that are marked as Not Null.
In asp.net I put this table into a dataset then display it in either a
DataList or a DataGrid.
I want to add a new row so I presume I need a button that will add a row to
the dataset. But how do I sort out the identity field.
I could create the blank row in the database first which gives me the id,
but then the Not Null fields will start demanding data. Seems like a Catch
22.
Please advise!
Many thanks in advance.
Rod