dualshck012
Active member
Hello sir, i have a datagridview which displays a patient list according to diagnosis code. The following code must display a patient list according to diagnosis code "A97.0 and A97.1" respectively
i have this code:
But i'm only getting the A97.1 content in my datagridview
i have this code:
C#:
else if (miancmbdiag.SelectedIndex == 4)
{
string[] dengue_icd = { "A97.0","A97.1"};
foreach (string intcid in dengue_icd)
{
hiddenicdcode.Text = intcid.Substring(0); //A97.0; A97.1
}
diag_descrip.Text = "Dengue Fever";
}
But i'm only getting the A97.1 content in my datagridview
Last edited by a moderator: