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
Ajit N
NA
352
71.5k
how to fill datagridview with thousand of records quickly ?
Jul 6 2019 12:54 AM
Hello, I want to show thousand of records in datagridview within a second, i tried some code but it takes some minutes to show data in datagriview.
so help me how can i do this...
sample code below -
public
void
BindData()
{
OleDbCommand cmd =
new
OleDbCommand(
"Select LC,Name from Ledger order by LC DESC"
, con);
OleDbDataAdapter da =
new
OleDbDataAdapter(cmd);
DataTable dt =
new
DataTable();
da.Fill(dt);
dataGridView1.DataSource = dt;
}
Reply
Answers (
6
)
C# Code which check the current user Remote Desktop status.
Dynamically Create instance for class