gridview update problem plz help needed ,,,
-
i m using dropdownlist in my gridview edititemtemplate, when i click update of gridview to send values in database i m getting error (Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'.) for testing i use GridView2_RowUpdating event and write all the update code in it, its working fi9 values r going in DB, then after this execution end i get the same old error screen ... ? i m confused plz help. thnkx in advance.
-
i m using dropdownlist in my gridview edititemtemplate, when i click update of gridview to send values in database i m getting error (Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'.) for testing i use GridView2_RowUpdating event and write all the update code in it, its working fi9 values r going in DB, then after this execution end i get the same old error screen ... ? i m confused plz help. thnkx in advance.
-
i m using dropdownlist in my gridview edititemtemplate, when i click update of gridview to send values in database i m getting error (Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'.) for testing i use GridView2_RowUpdating event and write all the update code in it, its working fi9 values r going in DB, then after this execution end i get the same old error screen ... ? i m confused plz help. thnkx in advance.
dream_liner_7e7 wrote:
(Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'.)
Your exception tell every thing. please debug your code
cheers, Abhijit Check My Latest Article
-
i m using dropdownlist in my gridview edititemtemplate, when i click update of gridview to send values in database i m getting error (Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'nvarchar'.) for testing i use GridView2_RowUpdating event and write all the update code in it, its working fi9 values r going in DB, then after this execution end i get the same old error screen ... ? i m confused plz help. thnkx in advance.
ok the simple question .. how to update values from gridview, when gridview update link is clicked?? thnx in advance