示例#1
0
        //UpdateFundDetails method is to update the details of Fund based on fundID
        //can be updated by UpdateFundDetails and store it to database
        protected void UpdateFundDetails(int fundID)
        {
            int noOfRowsaffected = 0;

            Objfund.Fundnumber = fundID;
            Objfund.Fundname   = fundnametxtbox.Text.Trim();

            try
            {
                noOfRowsaffected = Objfund.UpdateFundDetails();
                Validations.showMessage(lblErrorMsg, Validations.Msg_updatedFund, "Success");
            }
            catch (Exception ex)
            {
            }
        }