//public string CustomFormatter(string input) //{ // if (input.Length < 5) return input; // char[] characters = input.ToCharArray(); // for (int i = characters.Length - 5; i <= 0; i--) // { // characters[i] = '*'; // } // return new string(characters); //} protected void chkboxPrimary_CheckedChanged(object sender, EventArgs e) { CheckBox chk = (CheckBox)sender; if (chk.Checked) { string hdnfldId = ((HiddenField)chk.Parent.FindControl("HdnfldAcountId")).Value; BankAccounts.updateBankAccountInfo(Conversion.ParseInt(hdnfldId), UserInfo.GetCurrentUserInfo().UserId); } BankAcountInfo(); }