Skip to main content

All Questions

Tagged with
0 votes
0 answers
295 views

Update records in SQL Server database table after crystal report is exported

I am developing a WinForms application using C# and SQL Server 2015. I want to update the records of a table once the crystal report is generated and exported as pdf file. Details: The user form ...
siraj ahmed's user avatar
1 vote
1 answer
184 views

Updating Records on Zoho using C#

I am trying to update records on a Zoho database and there does not seem to be a single piece of C# code online for me to use to help find my issue. My code is: WebRequest request = WebRequest.Create(&...
Jason's user avatar
  • 29
-2 votes
1 answer
375 views

C# stored procedure insert or update with DataTable problem?

I want to add or update with the code below. I get the following error. How should I edit this code? Must declare the scalar variable "@UyeID". Incorrect syntax near the keyword 'ELSE'. My ...
user3811744's user avatar
0 votes
0 answers
499 views

Excel Oledb Update Query - Updating header row in Excel 2016

Trying to update the rows in Excel using Oledb, but update query updates Header row in Excel 2016. It works perfectly fine in Excel 2010 or earlier, just wondering what is required in Excel 2016? To ...
Keshavdas M's user avatar
-1 votes
2 answers
336 views

Sqlite INSERT or else return existing item

I have the following data structure: ID (int), Name (text), Info (text), List (text). "List" is a list of enums as string with the intended syntax: "word1,word2,word3" I'd like to ...
Battle's user avatar
  • 816
1 vote
1 answer
159 views

C# SetValues, EntityState.Modified not working

I have the following entries in my database: MeetingID AgendaItem LegistarID Title 48620 3 60710 Comment 48620 5 60615 Extending report date 48620 ...
erasmo carlos's user avatar
0 votes
0 answers
138 views

WPF- LINQ Database doesn't update

Im trying to write a WPF application using Linq but while trying to update the database (add new data to it) it doesn't update at all. I want to add another row when I click a button but it doesn't ...
Luke's user avatar
  • 11
0 votes
1 answer
50 views

Edit data from a listbox to my SQL Database

Table name: highscores Whenever I want to edit a selected registration (with gamer and hscore properties), my gamer value turns into "0" and the highscore remains unchanged. For example, I've ...
Rotaru Cosmin's user avatar
0 votes
1 answer
339 views

Update is not working for many-to-many relationship. Entity Framework Core 2.2

I have many to many relationships between games and Categories. I am Using Sql Server. One game can have multiple categories. Create operation working but the update is not working. Getting an error: ...
S.P Sarkar's user avatar
0 votes
1 answer
48 views

Update one record using entity frame work

I wanna update one record to database using entity framework . when update this record all date for this employee set Null Only Employee Code And IsActive .. how update isAcive only this is My Code ...
Ahmed Abdo's user avatar
2 votes
1 answer
3k views

Updating whole Document if already exist with mongodbDriver

I am using mongodb driver, insert worked with no problem, but that will lead me with multiple documents with the same ID. What I´m trying to do it´s to use UpdateOne with upsert, to update my ...
Luis Hongo's user avatar
3 votes
2 answers
3k views

Check duplicate value in the database

Before I save value from TextBox into the database I need to check if that value already exists in the database. This is the TextBox code: <tr> <td> <asp:Label ID=...
freej17's user avatar
  • 371
0 votes
1 answer
148 views

C# MySql Insert or Upadte Command Syntax for a Survey form with 78 Radio Buttons

I have a C# Win form which contains (amongst other things) a popup panel with a survey containing 78 radio buttons. The survey has a submit button which inserts the data into a MySQL table. The code ...
Root User's user avatar
-1 votes
1 answer
34 views

update in ms access using c#

can someone please help what is wrong with my code? it is a update function and during my debug it executing properly but it is not updating my database. I already search for an answer to for this ...
Sherilyn Reyes's user avatar
-1 votes
2 answers
81 views

Update windows form like if app restarted C#

I would like to update a panel in a windows form C# after adding an entity from another form and without having to use Application.Restart(); Form 1 : private void kopf1_Load(object sender, ...
Linda Pavlović's user avatar

15 30 50 per page
1
2 3 4 5
8