PC Review


Reply
Thread Tools Rate Thread

Create a parameter for the oledb data adapter

 
 
=?Utf-8?B?Q2hyaXM=?=
Guest
Posts: n/a
 
      25th Jan 2005
Hello,

Is it possible when configuring an OLEDB DataAdapter, using the Query
Builder, to specify parameters?

I've tried placing =@parametername in the criteria section of the Query
Builder, but this seems to always gerenate errors and then the Datasets won't
fill.

The datasource is a set of Visual Fox Pro tables.

Any help is appreciated.

Thank you
 
Reply With Quote
 
 
 
 
Miha Markic [MVP C#]
Guest
Posts: n/a
 
      25th Jan 2005
Try with question marks instead of that:
=?

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
SLODUG - Slovene Developer Users Group
www.rthand.com

"Chris" <(E-Mail Removed)> wrote in message
news:8499E33E-1BBD-4A72-8171-(E-Mail Removed)...
> Hello,
>
> Is it possible when configuring an OLEDB DataAdapter, using the Query
> Builder, to specify parameters?
>
> I've tried placing =@parametername in the criteria section of the Query
> Builder, but this seems to always gerenate errors and then the Datasets
> won't
> fill.
>
> The datasource is a set of Visual Fox Pro tables.
>
> Any help is appreciated.
>
> Thank you



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception Details: System.Data.OleDb.OleDbException: Parameter ?_1 has no silesius Microsoft ASP .NET 0 16th Nov 2004 12:30 PM
System.Data.OleDb.OleDbException: Parameter ?_1 has no default value silesius Microsoft C# .NET 0 16th Nov 2004 01:01 AM
Sub query using parameters with OleDb Data adapter problem =?Utf-8?B?amVhbl9w?= Microsoft ADO .NET 1 26th May 2004 03:36 PM
Sub query using parameters with OleDb Data adapter problem =?Utf-8?B?amVhbl9w?= Microsoft VB .NET 2 25th May 2004 07:27 PM
SDL Data Adapter and Parameter Brian P. Hammer Microsoft Dot NET Framework Forms 2 8th Jan 2004 02:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:15 AM.