function show(URL) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("display").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET",URL,true); xmlhttp.send(); }
DateTime date=System.DateTime.Now; string strquery = "insert into tblMessage(StudId,EmailId,Date,Message) values('" + StudId + "','" + ddlReceiver.SelectedItem.Value + "','" + date + "','" + txtMessage.Text + "')"; objsqlcommand = new SqlCommand(strquery, objsqlconnection); try { objsqlcommand.ExecuteNonQuery(); txtMessage.Text = ""; } catch { Console.WriteLine("Fail!!!!!!!!"); }
Ujwala Gholap wrote:Server Error in '/ ' Application Runtime error
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)