About 3,610 results
Open links in new tab
  1. c# - Data not saving permanently to SQL table - Stack Overflow

    May 6, 2014 · I solved it by installing SSDT(SQL server data tools) for visual studio. Install it according to your visual studio version. Go to following link to download the SSDT for visual studio.

  2. c# - Inserting not committed to database - Stack Overflow

    Sep 21, 2012 · During the .Update the associated table adapter, complete with associated insert/update/delete commands, will iterate the rows and execute the command on a given row depending on the row's state. When the rows have been iterated, .AcceptChanges is called, reverting the row state's to default.

  3. sql - Inserting values into Database.mdf C# - Stack Overflow

    Jan 9, 2017 · I've been trying to insert values to a Database.mdf SQL Server database file via datagridView from a few textboxes before loading them in to a Chart, but first it was returning this error:

  4. [RESOLVED] No row was updated. The data in row 1 was not committed.

    Dec 20, 2012 · The data in row 1 was not committed. String or Binary data would be truncated. That typically means you're trying to enter more data into a field that it can accept, e.g. 51 characters in to a varchar(50) field.

  5. sql server - Some rows giving "String or binary data would be …

    When trying to add data to a newly created column using SQL Server Management Studio (edit rows), I am getting the following error: No row was updated. The data in row 1 was not committed. Error Source: .Net SqlClient Data Provider. Error Message: String or binary data would be truncated. The statement has been terminated.

  6. Solved: Can't enter data into SQL table | Experts Exchange

    Oct 24, 2008 · I created a table and tried to enter data into the first row. But when I finish entering the data, I get this error message: No row was updated. The data in row 1 was not committed.

  7. r/SQL on Reddit: Adding data to my database, using C# code, …

    Jun 24, 2018 · Adding data to my database, using C# code, after I execute the command, the row count increased. However, when the program starts, it reverts back its original count. The database that I just add is not saving to my *.mdf file. Any advice? (Code inside) string query = "INSERT INTO dbo.

  8. Row was not comitted!!! - SQL Server Forums - SQLTeam.com

    Feb 12, 2011 · You're trying to enter data longer than the column allows. That said, stop using the bug-ridden edit rows 'feature' and start using insert or update statements.

  9. row - Can't save data to database - Stack Overflow

    Oct 2, 2012 · I'm creating my first database via c# and visual studio 2k12. I added new item, went throw all those setups and finally saw *.mdf. Then I added new table, added data and by drag&drop added components to form. Since here everything goes right. But then I made a button, which add new row to database.

  10. SQL transaction.Commit () in WinForm - Microsoft Q&A

    Jan 9, 2021 · My C# code is using "transaction.Commit ()", so I can perform a "transaction.Rollback ()" if there's an issue. My code is looping through rows of a DataTable, to save data to the database. After I call "transaction.Commit ()", I clear the DataTable.

Refresh