TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abraham Olatubosun
NA
471
113.6k
Able to write to asp.Net listbox one record id at a time
Mar 4 2019 2:58 PM
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
Reply
Answers (
2
)
read coordinates (x,y) of 5 point from a file
AutoComplete TextBox with SubString search in C#