protected void Button1_Click(object sender, EventArgs e) { ADOLayer n = new ADOLayer(); int sid = int.Parse(TextBox1.Text); n.deletestu(sid); }
protected void Button1_Click(object sender, EventArgs e) { ADOLayer ad = new ADOLayer(); int fid = int.Parse(TextBox1.Text); string fname = TextBox2.Text; ad.insertrowoff(fid, fname); }
protected void Button1_Click(object sender, EventArgs e) { ADOLayer ad = new ADOLayer(); int tid = int.Parse(TextBox1.Text); string techdomain = TextBox2.Text; ad.updatedata(tid, techdomain); }
protected void Button1_Click(object sender, EventArgs e) { ADOLayer ad = new ADOLayer(); int cid = int.Parse(TextBox1.Text); string cname = TextBox2.Text; int nfs = int.Parse(TextBox3.Text); ad.insertrowofc(cid, cname, nfs); }
protected void Button1_Click(object sender, EventArgs e) { ADOLayer ad = new ADOLayer(); int tid = int.Parse(TextBox1.Text); int nfs = int.Parse(TextBox3.Text); ad.updatedataofc(tid, nfs); }
protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { ADOLayer ad = new ADOLayer(); var data = ad.Getallrecordsofc(); GridView1.DataSource = data; GridView1.DataBind(); } }