How to Update SQL Table from Telerik RadDropDownlist Control and

2 posts, 0 answers
  1. Lauwanzer
    Lauwanzer avatar
    1 posts
    Member since:
    Jan 2014

    Posted 13 Feb 2014 Link to this post

    I'm trying to  Update an SQL Table from  a Telerik RadDropDownlist Control that is alrady populated with list items contained in a seperate SQL table.

    I am intered in know with is the correct property settings in the snipit shown below:


    protected void RadDropDownList1_ItemSelected1(object sender, DropDownListEventArgs e)
    {


    SqlCommand sqlUpdateCmd = new SqlCommand("UPDATE table SET column= @value", sqlConn);

    sqlUpdateCmd.Parameters.AddWithValue("@value", e.Value.ToString());


    }
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 18 Feb 2014 Link to this post

    Hello,

    Please find here a very useful forum discussion about updating SQL data base using SQL command from code behind.


    Regards,
    Boyan Dimitrov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top