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
SUNIL GUTTA
NA
1k
393.9k
Data reader with gridview ?
Sep 18 2013 5:47 AM
Hi
i tried as below its not loading data into grid view when i tried using dataset it worked perfectly
OleDbCommand cmd = new OleDbCommand("select * from customer", con);
con.Open();
MessageBox.Show(con.State.ToString());
OleDbDataReader dr = cmd.ExecuteReader();
con.Close();
MessageBox.Show(con.State.ToString());
dataGridView1.DataSource = dr;
Cheers & thanks everyone
Reply
Answers (
8
)
How to find connection status ? in DATASET
Chart Background Image Problem