Browse Source

#22660 handle null values for kyc count

Ime-london-webcore
Leeza Baidar 10 months ago
parent
commit
34ec6820a0
  1. 6
      Swift.web/DashboardV2/Dashboard2.aspx.cs

6
Swift.web/DashboardV2/Dashboard2.aspx.cs

@ -370,9 +370,9 @@ namespace Swift.web.DashboardV2
{
data.KycStatus = new KycStatus
{
KycNotCompleted = Convert.ToString(ds.Tables[7].Rows[0]["Count"]),
KycProcessing = Convert.ToString(ds.Tables[7].Rows[1]["Count"]),
KycCompleted = Convert.ToString(ds.Tables[7].Rows[2]["Count"])
KycNotCompleted = Convert.ToString(ds.Tables[7].Rows[0]["kycNotCompleted"]),
KycProcessing = Convert.ToString(ds.Tables[7].Rows[0]["kycProcessing"]),
KycCompleted = Convert.ToString(ds.Tables[7].Rows[0]["kycCompleted"])
};
}
catch (Exception ex)

Loading…
Cancel
Save