-
Notifications
You must be signed in to change notification settings - Fork 0
/
NewCompany.aspx.cs
32 lines (28 loc) · 1022 Bytes
/
NewCompany.aspx.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class NewCompany : System.Web.UI.Page
{
DS_COMP.COMPANYMST_SELECTDataTable CoDT = new DS_COMP.COMPANYMST_SELECTDataTable();
DS_COMPTableAdapters.COMPANYMST_SELECTTableAdapter CoAdapter = new DS_COMPTableAdapters.COMPANYMST_SELECTTableAdapter();
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnregister_Click(object sender, EventArgs e)
{
CoAdapter.Insert(txtname.Text, txtadd.Text, txtcity.Text, txtpin.Text, txtcontactperson.Text, txtmobile.Text, txtdetail.Text, txttype.Text, txtuname.Text, txtupass.Text);
lbldone.Text = "Registration Done";
txtname.Text="";
txtadd.Text="";
txtcity.Text="";
txtpin.Text="";
txtcontactperson.Text="";
txtmobile.Text="";
txtdetail.Text="";
txttype.Text="";
txtuname.Text="";
}
}