#region "Variables" protected int _uid =0; protected string _name = ""; protected string _father = ""; public int _type = 0; #endregion #region "Properties" public int Uid { get { return _uid; }
BAL_insert Obj = new BAL_insert(); protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { Obj.Uid = TextBox1.Text; Obj.Name = TextBox2.Text; Obj.Father = TextBox3.Text;
protected void Button1_Click(object sender, EventArgs e) { Obj.Uid = Convert.ToInt32(TextBox1.Text); Obj.Name = TextBox2.Text; Obj.Father = TextBox3.Text; }
protected string _uid =0; ... ... public string Uid { get { return _uid; }
int
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)