private void GetDealerDepositInHand() { txtDepositeAmountLD.Text = "0"; // txtDepositeAmountSPL.Text = "0"; DataSet dsDepositeAmountInHand = new DataSet(); dsDepositeAmountInHand = objLtmsService.GetDealerDepositInHandDtlById(Convert.ToInt64(hdUniqueId.Value)); if (dsDepositeAmountInHand.Tables.Count > 0) { if (dsDepositeAmountInHand.Tables[0].Rows.Count > 0) { txtDepositeAmountLD.Text = dsDepositeAmountInHand.Tables[0].Rows[0]["DepositInHandAmountLD"].ToString(); } //if (dsDepositeAmountInHand.Tables[1].Rows.Count > 0) //{ // txtDepositeAmountSPL.Text = dsDepositeAmountInHand.Tables[1].Rows[0]["DepositInHandAmountSPL"].ToString(); //} } }