What are the reasons that a SQL command builder object doesnt build an update statement properly.
When I ask the commandtext that it created, it gives whole the string but the parameters dont have any values.
So I update nothing.
I have a primary key in my initial query: SELECT * FROM Table1 WHERE ID = 2 (this is one row)
Then I bind all the controls I need to change. When I change one value of and I click on UPDATE. It doesnt do anything, because he doesnt produce values for the parameters in the update query.
Any solution??
When I ask the commandtext that it created, it gives whole the string but the parameters dont have any values.
So I update nothing.
I have a primary key in my initial query: SELECT * FROM Table1 WHERE ID = 2 (this is one row)
Then I bind all the controls I need to change. When I change one value of and I click on UPDATE. It doesnt do anything, because he doesnt produce values for the parameters in the update query.
Any solution??