cmd.CommandText = "update mytable set Progress='" + progress + "' where [Registered]='" +DropDownList1.SelectedValue.ToString() + "'and [EmployeID]='" + Label1.Text.ToString() + "' ";
function InsertProgress() {
$.ajax({
type: "POST",
url: 'NewVideosPage.aspx/storeprogress',
data: "",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (msg) {
alert("I am working ");
},
error: function (e) {
alert("Something Wrong.");
}
});
}