예제 #1
0
        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");
        }
예제 #2
0
 partial void UpdatemsgInfo(msgInfo instance);
예제 #3
0
 partial void DeletemsgInfo(msgInfo instance);
예제 #4
0
 partial void InsertmsgInfo(msgInfo instance);