Re: create a select query with a parameters.
- From: "Bob Beauchemin" <no_bobb_spam@xxxxxxxxxxxxx>
- Date: Thu, 3 Nov 2005 16:16:33 -0800
Hi Amos,
It not so much the database you're using but the provider. With Access you
are working with the OleDb data provider. With this data provider, names
don't matter, but parameter order does. SqlClient data provider uses named
parameters, so names must be specified correctly.
Cheers,
Bob Beauchemin
http://www.SQLskills.com/bobb/blogs
"amos hchmon" <amoshchmon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E200534D-1DC4-42B4-8CB8-D48033A407ED@xxxxxxxxxxxxxxxx
>I working in .net with c# .if I working with sql sever I need to add @
>before
> the variable for query with parameters. my database set on access I want
> to
> know which character I need to add before the variable .can you give me a
> reference with example that execute the select query with parameters
> completely .
>
> Thanks for who refer to my question.
>
.
- Prev by Date: DB update issue
- Next by Date: Re: DB update issue
- Previous by thread: DB update issue
- Next by thread: Re: create a select query with a parameters.
- Index(es):
Relevant Pages
|
Loading