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

2 posts, 0 answers
  1. Vignesh
    Vignesh avatar
    1 posts
    Member since:
    Aug 2013

    Posted 17 Sep 2014 Link to this post

    In My update Command
          UPDATE [TableName] SET [FieldName] = @ValueField WHERE Month=@Month

    And I am passing the Below parameters for


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

     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

  2. Konstantin Dikov
    Konstantin Dikov avatar
    2087 posts

    Posted 20 Sep 2014 Link to this post

    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:

    Konstantin Dikov

    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.

Back to Top