public void ProcessRequest(HttpContext context) { DataClasses1DataContext db = new DataClasses1DataContext(); var msg = new msgInfo { msgCon = context.Request.QueryString["msgInfo"], userName = context.Request.QueryString["username"], dateTime = context.Request.QueryString["dateTime"], }; db.msgInfo.InsertOnSubmit(msg); db.SubmitChanges(); context.Response.Write("true"); }
partial void UpdatemsgInfo(msgInfo instance);
partial void DeletemsgInfo(msgInfo instance);
partial void InsertmsgInfo(msgInfo instance);