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
Boblysan
NA
66
0
Error filling dataset with ODBC.NET
Jun 25 2004 4:58 AM
Ok, I'm going crazy with this one. Can anyone tell me why I am getting the following error when running the below code? ERROR:[IM001] [Microsoft][ODBC Driver Manager][Driver does not support this function] This error comes up on executing the da.Fill... line I have fully tested my ODBC connection to the database and it works perfectly, outside of the development environment. *****************CODE******************* string connString = "DSN=MMB"; string sqlString = "SELECT * FROM MB.T_MB_AGENT_SKILLS"; OdbcConnection conn = new OdbcConnection(); conn.ConnectionString = connString; OdbcDataAdapter da = new OdbcDataAdapter(sqlString, conn); DataSet ds = new DataSet(); da.Fill(ds, "T_MB_AGENT_SKILLS"); dataGrid1.DataSource = ds.DefaultViewManager;
Reply
Answers (
0
)
ODBC.NET Add in and the DataGrid
text not getting displayed (using GDI+)