Questions tagged [updatecommand]

47 questions
-1
votes
1 answer

Updating records from Datagridview

I am trying to update records from a DataGrid but I am getting the following error message: Update requires valid UpdateCommand when passed DataRow collection with modified rows Here is My code: private void btnUpdate_Click(object sender,…
Dix Dux
  • 1
  • 2
-3
votes
1 answer

update SQL command in C#

I'm having some troubles parsing SQL query, I'm trying to update the database. I have a database as follows: name: Users columns: ID (int) userName (string) LastConnected (string) isConnected (string) I tried this: SqlCeCommand…
Roy M
  • 1
  • 1
1 2 3
4