public string UpdateNewsLetterDate(string NewsLetterId, string SelectedDate) { string html = ""; string qry = ""; if (NewsLetterId != null && NewsLetterId != "") { qry = "update NewsLetter set fwd_date='" + SelectedDate + "', isactive=1 where NewsLetterId=" + NewsLetterId; clsprop.ExecuteNonQuery(qry); html = "success"; } else { html = "NewsLetterId is empty."; } return(html); }