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
Hari babu
NA
16
30.7k
Importing Excell Sheet Which Include Check Boxes
Jun 27 2013 7:32 AM
Dear Sir/Madam,
I am planning to import Excel 2007 data into my Database. As of initial work I am reading excel sheet data into DataTable using
OleDbDataAdapter
. But the problem is I am unable to read CheckBox controls data into my dataset. It is showing empty values for check box fields . I am sharing lines of code I am using.
DataTable dtTrainers;
dadVET = new OleDbDataAdapter("Select * From [SheetName$]", myConnection);
dtTrainers = new DataTable("TrainersAndAdminStaff");
dadVET.FillSchema(dtTrainers, SchemaType.Source);
dadVET.Fill(dtTrainers);
Please if you have any idea update solution asap.
Thanks & Regards,
T.Hari babu
E-Mail :
[email protected]
Reply
Answers (
0
)
textbox styles
chating application