PDA

View Full Version : gridview with dropdown update error


Koss_G
06-13-2009, 06:27 PM
Hi!

I'm getting an error when I try to update gridview with nested dropdown. The dropdownlist contains a list of Type of clients the datatextfield is the name and the value field is their clienttypeID. The SqlDataSource has an update statement, and the update is enabled in the GridView. But when I click on Edit and then on Update I get the following error: Incorrect syntax near nvarchar. :confused: It's strange because I don't have any parameter, which is nvarchar. I can't seems to find a way to update the GridView with the DropDownList inside it.

Please, can someone give me some hints why the update doesn't work.

10x in advance!!