/Web/UserControls/AddBank.ascx.cs
C# | 33 lines | 30 code | 3 blank | 0 comment | 0 complexity | ab9a408dbfdb8cdcb44389a9b2942dc1 MD5 | raw file
- using System;
- using System.Collections;
- using System.Configuration;
- using System.Data;
- using System.Data.Linq;
- 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;
- using DAL;
- public partial class UserControls_AddBank : System.Web.UI.UserControl
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- }
- protected void btnAddBank_Click(object sender, EventArgs e)
- {
- InvoicingDataContext db = new InvoicingDataContext();
- BankDetail bank = new BankDetail
- {
- bank_name = this.txtBankName.Text,
- sort_code = Convert.ToInt32(this.txtSortCode.Text),
- account_number = this.txtAccountNumber.Text
- };
- }
- }