Dear all,
I want to trust that this mail meet you all in good health, i am processing some records from a database, i want each record unique id to be written into an asp.net ListBox after it has been processed,
i have tried
- string SQLS = "Select * from Patient_Identifier where Patient_id <> '10'";
- var DF = new DataTable();
- DF = conn.GetMySQL(ref SQLS);
- foreach (DataRow p in DF.Rows)
- {
- PUID = p["identifier"].ToString().Trim();
-
- ListBox1.Items.Add(PUID + " added to Person and Patient Successfully..");
- PUID = "";
- cnt++;
-
- }
the above sample will write these records ID at once into the ASP.NET ListBox, what i wanted is as after each record is processed it will write it unique ID to the ListBox before processing another one.
Thank you for yor help