protected void btnSubmit_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(Request.QueryString["id"]))
     {
         //update
         dc.Law_Update(int.Parse(Request.QueryString["id"]), Ddlawtype.Text, txttitle.Text, txtdesc.Text, true);
         Response.Redirect("LawList.aspx");
     }
     {
         //insert
         dc.Law_Insert(Ddlawtype.Text, txttitle.Text, txtdesc.Text, true);
         Response.Redirect("LawList.aspx");
     }
 }