Quantcast
Channel: Getting Started
Browsing all 5 articles
Browse latest View live

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 Article



Re: 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 Article

Re: Need help updating sql field based on selected index of radiobuttonlist

try : string newStatus = "true";

View Article

Re: 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 Article

Need 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

Browsing all 5 articles
Browse latest View live




Latest Images