<input type="checkbox" name="n" value=1 />
<input type="checkbox" name="n" value=2 />
<input type="checkbox" name="n" value=3 />
I have above checkbox when i select the this i need to update the DB table without post back. Please explain.. If possible you can say jquery or ajax method to solve my problem
just create code behind in mvc2 where you will get value from request and save it to db
You have to do some sort of request back to the server, whether it's a POST from a form button or an Ajax POST or GET request.
Form button:
Or, Ajax (with jquery):
Then your controller:
That's the simplest example - can't answer more without more details about exactly what you're trying to accomplish.
" />
in controller
public ActionResult(string value) { return View();
} it is help you