Login or sign up Lost password?
Login or sign up
But if the blue lines in the above code are commented, then the INSERT SQL command doesn't add a new row in the data source. I know that data can be inserted WITHOUT using Sql Data Adapter (& that's what I have shown in the code in my first post) but IF Sql Data Adapter is used (as shown in the code in my follow-up), is it necessary to update the Data Set/Data Table first & then update the data source?