|
-
Feb 20th, 2007, 12:07 AM
#3
Thread Starter
Addicted Member
Re: [2.0] help converting vb to c sharp...
 Originally Posted by jmcilhinney
I would guess that's because there already exists an SqlParameter class. You've created a name clash. I can't see why you need your SqlParameter structure by any name though. Just create an System.Data.SqlClient.SqlParameter object directly.
Oh, i see. but then how come it ran fine with VB?
is VB a little more lax regarding duplicate names??
Thanks, i will use the System.Data.SqlClient.SqlParameter object instead...
Thanks, Justin
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
|