This is a migrated thread and some comments may be shown as answers.

How to pass a keyword(like Month) as a Parameter to the StoredProcedure in Telerik Radgrid UpdateCommand..

1 Answer 19 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vignesh
Top achievements
Rank 1
Vignesh asked on 17 Sep 2014, 09:41 AM
In My update Command
      UPDATE [TableName] SET [FieldName] = @ValueField WHERE Month=@Month

And I am passing the Below parameters for

Updating..

<UpdateParameters>
<asp:Parameter Name="ValueField1" Type="String">
<asp:Parameter Name="Month" Type="String">
</asp:Parameter>
</UpdateParameters>

 the Issue is It Could not be updated...But, When i

Change the Field name "Month" to  Other(like

"MonthVal"..etc) It Works Perfectly...What I am

doing Wrong while passing the Parameter as

"Month"

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 20 Sep 2014, 03:57 PM
Hi Vignesh,

Can you please provide your StoredProcedure, the SqlDataSource and the RadGrid settings, so we can have a better idea of your exact scenario. Thus we will be able to easily locate the root of the problem.

Additionally, you could take a look at the following Code Library, which should help you for getting the right settings:

Regards,
Konstantin Dikov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Vignesh
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or