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

How to Update SQL Table from Telerik RadDropDownlist Control and

1 Answer 74 Views
Sample Applications
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lauwanzer
Top achievements
Rank 1
Lauwanzer asked on 13 Feb 2014, 02:55 PM
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());


}

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 18 Feb 2014, 12:05 PM
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.
Tags
Sample Applications
Asked by
Lauwanzer
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or