public override PagedData ProcessRequest(HttpContext context, CookDBDataContext db)
        {
            if (context.Request.Params.Count == 0)
                return new PagedData("Can't call AddGrammar.ashx without parameters");

            if (context.Request.Params.Get("name") == null)
                return new PagedData("Name is null");
            


            Grammar gram = new Grammar();

            gram.name = context.Request.Params.Get("name");
            gram.filename = "n/a";

            /*if (context.Request.Params.Get("filename") != null)
                gram.name = context.Request.Params.Get("filename");*/

            db.Grammars.InsertOnSubmit(gram);


            db.SubmitChanges();

            return new PagedData("");
        }
 partial void DeleteGrammar(Grammar instance);
 partial void UpdateGrammar(Grammar instance);
 partial void InsertGrammar(Grammar instance);