This question is locked. New answers and comments are not allowed.
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());
}
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());
}