Click here to Skip to main content
15,924,507 members
Home / Discussions / C#
   

C#

 
GeneralRe: Double Click Interval Pin
Tom Clement9-Apr-04 15:50
professionalTom Clement9-Apr-04 15:50 
GeneralRe: Double Click Interval Pin
Tom Clement9-Apr-04 15:53
professionalTom Clement9-Apr-04 15:53 
GeneralRe: Double Click Interval Pin
Nick Parker9-Apr-04 17:40
protectorNick Parker9-Apr-04 17:40 
GeneralRe: Double Click Interval Pin
leppie9-Apr-04 21:05
leppie9-Apr-04 21:05 
GeneralRe: Double Click Interval Pin
Tom Clement10-Apr-04 6:29
professionalTom Clement10-Apr-04 6:29 
GeneralImport to SqlServer Pin
quocbao9-Apr-04 14:29
quocbao9-Apr-04 14:29 
GeneralRe: Import to SqlServer Pin
dabuskol10-Apr-04 20:37
dabuskol10-Apr-04 20:37 
GeneralHelp can't figure this one out with OleDbDataAdapter and acesss Pin
MeterMan9-Apr-04 13:52
MeterMan9-Apr-04 13:52 
I have a program that works perfectly fine but i want to change one thing.
my database data.mdb is on the root of my c drive.
I want to put it in my project directory. I would assume i could move the database anywhere i want and just reconfigure the oleadapters accordingly. Well for some reason its not working as i thought it should.

Here is what i do.
I right click on the Adapter1 and hit configuration.
I hit new connection and select the connection for access.
i then select my database and test the connection. It works fine.
so i know have ACCESS..\data.mdb.Admin
I then hit Query builder and select my columns Help and Information.
I then hit finish.
I then go back to the configuration adapter and want to add
WHERE (Help = ?)
so query looks like this
SELECT Help, Information FROM Csharp WHERE (Help = ?)


i hit next and get the following error.

OleDbCommand.Prepare method requires all variable length parameters to have an explicitly set non-zero Size.


I don't understand the problem cause if i reload my program from my backup files. putting it back to the state of where the database was in the c:
it works perfectly.


Confused | :confused:
Any Idea would be great

Win32newb
"Making windows programs worse than they already are"

Win32newb
"Making windows programs worse than they already are"
GeneralRe: Help can't figure this one out with OleDbDataAdapter and acesss Pin
leppie9-Apr-04 21:14
leppie9-Apr-04 21:14 
GeneralRe: Help can't figure this one out with OleDbDataAdapter and acesss Pin
MeterMan9-Apr-04 21:21
MeterMan9-Apr-04 21:21 
GeneralText box scrolling Pin
Andy Brummer9-Apr-04 10:03
sitebuilderAndy Brummer9-Apr-04 10:03 
GeneralRe: Text box scrolling Pin
Heath Stewart9-Apr-04 10:06
protectorHeath Stewart9-Apr-04 10:06 
GeneralRe: Text box scrolling Pin
Andy Brummer9-Apr-04 10:16
sitebuilderAndy Brummer9-Apr-04 10:16 
GeneralRe: Text box scrolling Pin
Heath Stewart9-Apr-04 10:38
protectorHeath Stewart9-Apr-04 10:38 
GeneralRe: Text box scrolling Pin
Andy Brummer9-Apr-04 11:08
sitebuilderAndy Brummer9-Apr-04 11:08 
GeneralRe: Text box scrolling Pin
Nick Parker9-Apr-04 11:34
protectorNick Parker9-Apr-04 11:34 
GeneralRe: Text box scrolling Pin
Andy Brummer9-Apr-04 12:03
sitebuilderAndy Brummer9-Apr-04 12:03 
GeneralRe: Text box scrolling Pin
Andy Brummer9-Apr-04 12:02
sitebuilderAndy Brummer9-Apr-04 12:02 
Generaldouble clicking an item in a listBox Pin
User 9625789-Apr-04 7:43
User 9625789-Apr-04 7:43 
GeneralRe: double clicking an item in a listBox Pin
Heath Stewart9-Apr-04 7:58
protectorHeath Stewart9-Apr-04 7:58 
GeneralRe: double clicking an item in a listBox Pin
User 9625789-Apr-04 8:50
User 9625789-Apr-04 8:50 
GeneralRe: double clicking an item in a listBox Pin
Heath Stewart9-Apr-04 8:58
protectorHeath Stewart9-Apr-04 8:58 
GeneralRe: double clicking an item in a listBox Pin
User 9625789-Apr-04 8:44
User 9625789-Apr-04 8:44 
GeneralRe: double clicking an item in a listBox Pin
Nick Parker9-Apr-04 11:41
protectorNick Parker9-Apr-04 11:41 
Generalrefreshing listview content Pin
Paolo Ponzano9-Apr-04 7:35
Paolo Ponzano9-Apr-04 7:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.