Re: Need help updating sql field based on selected index of radiobuttonlist
First thing you should only use one from cmd1.ExecuteNonQuery() and cmd1.ExecuteScalar().Next I thing your query should be "UPDATE FoodActiveCycle set [activeStatus] =" + newStatus + "WHERE...
View ArticleRe: Need help updating sql field based on selected index of radiobuttonlist
Now I get the error stating that the string 'selectedValue' is not a column name. It should be looking for the value of the selectedValue string to get the column name but it is not. protected void...
View ArticleRe: Need help updating sql field based on selected index of radiobuttonlist
try : string newStatus = "true";
View ArticleRe: Need help updating sql field based on selected index of radiobuttonlist
I think You are missing the method to Update the Database Record.Something like cmd1.ExecuteNonQuery();cmd1.ExecuteScalar();
View ArticleNeed help updating sql field based on selected index of radiobuttonlist
I am trying to update a sqlfield based on the selected value of a radio button list. I have been able to test that the variables are defined appropriately, however, when I click one instead of the...
View Article
More Pages to Explore .....