protected void Button2_Click(object sender, EventArgs e) { BillingTable bt = new BillingTable(); bt.Uid = Convert.ToInt32(Session["uid"].ToString()); bt.DAddress = TextBox4.Text; bt.TotalPrice = Convert.ToInt32(TextBox5.Text); dl.da.BillingTables.InsertOnSubmit(bt); dl.da.SubmitChanges(); Response.Write("<script>alert('Your order is in process.!!!!')</script>"); Response.Redirect("Billing.aspx"); }
partial void DeleteBillingTable(BillingTable instance);
partial void UpdateBillingTable(BillingTable instance);
partial void InsertBillingTable(BillingTable instance);