|
-
Sep 24th, 2008, 08:33 AM
#1
Thread Starter
New Member
[2005] 'Type Expected' Error
Hi
Wondering if anyone can help me with a very strange problem I'm experiencing. The following line of code is stopping my application from compiling with the error "Type Expected"
The offending line of code is
Dim rData As New Data
I have included the correct Import statements i.e
Imports System.Data
Imports System.Data.SqlClient
and have even tried re-adding System.Data as a reference and putting the dll directly into me bin directory but my project simply refuses to recognise it as a valid type. Needless to say I'm pulling my hair out trying to figure out what's going on here. Am I missing something obvious or is this some thing anyone has experienced before.
Any help would be greatly appreciated.
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|