Expand|Select|Wrap|Line Numbers
- using System;
- using System.Collections;
- using System.Configuration;
- using System.Data;
- using System.Linq;
- using System.Web;
- using System.Web.Security;
- using System.Web.UI;
- using System.Web.UI.HtmlControls;
- using System.Web.UI.WebControls;
- using System.Web.UI.WebControls.WebParts;
- using System.Xml.Linq;
- namespace CourierMgmt
- {
- public partial class WebForm6 : System.Web.UI.Page
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- }
- protected void Button1_Click(object sender, EventArgs e)
- {
- string consignmentno = TextBox1.Text;
- string f_add = TextBox9.Text;
- string t_add = TextBox8.Text;
- string f_ph = TextBox5.Text;
- string f_pin =TextBox10.Text;
- string t_ph = TextBox3.Text;
- string t_pin =TextBox2.Text;
- string status = TextBox6.Text;
- string Present = TextBox7.Text;
- string get = "insert into aba(consignmentno, f_add, t_add, f_ph , f_pin, t_ph, t_pin, status, Present) values(" + consignmentno + ",'" + f_add + "','" + t_add + "'," + f_ph + ", " + f_pin + "," + t_ph + "," + t_pin + ",'" + status + "','" + Present + "')";
- DataManager.ExecuteNonQuery(get);
- }
- protected void Button4_Click(object sender, EventArgs e)
- {
- Response.Redirect("WebForm6.aspx");
- }
- }
- }