示例#1
0
        protected void cboBranch_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            Data.Branch        clsBranch  = new Data.Branch();
            Data.BranchDetails clsDetails = clsBranch.Details(Convert.ToInt16(cboBranch.SelectedItem.Value));
            clsBranch.CommitAndDispose();

            txtBranchAddress.Text = clsDetails.Address;
        }
示例#2
0
 private void cmdOK_Click(object sender, EventArgs e)
 {
     Data.Branch clsBranch = new Data.Branch();
     BranchDetails = clsBranch.Details(cboBranch.Text);
     clsBranch.CommitAndDispose();
     Result = System.Windows.Forms.DialogResult.OK;
     this.Hide();
 }
示例#3
0
 private void cmdOK_Click(object sender, EventArgs e)
 {
     Data.Branch clsBranch = new Data.Branch();
     BranchDetails = clsBranch.Details(cboBranch.Text);
     clsBranch.CommitAndDispose();
     Result = System.Windows.Forms.DialogResult.OK;
     this.Hide();
 }
示例#4
0
		protected void cboBranch_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			Data.Branch clsBranch = new Data.Branch();
			Data.BranchDetails clsDetails = clsBranch.Details(Convert.ToInt16(cboBranch.SelectedItem.Value));
			clsBranch.CommitAndDispose();
			
			txtBranchAddress.Text = clsDetails.Address;
		}