Click here to Skip to main content
15,896,269 members
Home / Discussions / Database
   

Database

 
GeneralRe: Help! What's this error? Pin
Michael P Butler16-Jul-05 6:31
Michael P Butler16-Jul-05 6:31 
GeneralRe: Help! What's this error? Pin
Blue_Skye16-Jul-05 10:39
Blue_Skye16-Jul-05 10:39 
GeneralThe Math.Round() in VS.NET and Round() in SQL Server 2000 Pin
Blue_Skye16-Jul-05 0:59
Blue_Skye16-Jul-05 0:59 
GeneralRe: The Math.Round() in VS.NET and Round() in SQL Server 2000 Pin
Rob Graham16-Jul-05 7:48
Rob Graham16-Jul-05 7:48 
Generalsqlce connection problems help Pin
Member 190267915-Jul-05 21:58
Member 190267915-Jul-05 21:58 
GeneralRe: sqlce connection problems help Pin
Rob Graham16-Jul-05 7:21
Rob Graham16-Jul-05 7:21 
GeneralADO.net Pin
boutie15-Jul-05 20:30
boutie15-Jul-05 20:30 
GeneralRe: ADO.net Pin
Rob Graham16-Jul-05 7:33
Rob Graham16-Jul-05 7:33 
You are giving both dates the same parameter name, so the result is that you are asking for all the records between the same dates: dateTimePicker2 is 5-9-2004 then the query becomes: select...from...where [searchdate] >= #05/09/2005# and [searchdate] <= #05/09/2005#

Instead of using the field name as a parameter name, use some arbitrary names like p1,p2 so each of the two parameters in your query have different names. add tem to the parameters collection and set their values in the order they will be used in the query (the oledb layer doesn't care about the parameter names, just the order; but the .Net collection object (the parameters collection of the query) wants unique parameter names)


Absolute faith corrupts as absolutely as absolute power
Eric Hoffer

The opposite of the religious fanatic is not the fanatical atheist but the gentle cynic who cares not whether there is a god or not.
Eric Hoffer

QuestionHow to get @@IDENTITY when working offline with Dataset Pin
fracalifa15-Jul-05 2:17
fracalifa15-Jul-05 2:17 
AnswerRe: How to get @@IDENTITY when working offline with Dataset Pin
Rob Graham15-Jul-05 4:17
Rob Graham15-Jul-05 4:17 
GeneralRe: How to get @@IDENTITY when working offline with Dataset Pin
fracalifa15-Jul-05 4:24
fracalifa15-Jul-05 4:24 
GeneralRe: How to get @@IDENTITY when working offline with Dataset Pin
Michael Potter15-Jul-05 5:25
Michael Potter15-Jul-05 5:25 
GeneralRe: How to get @@IDENTITY when working offline with Dataset Pin
fracalifa15-Jul-05 8:19
fracalifa15-Jul-05 8:19 
GeneralBook recommendations Pin
PJ Arends14-Jul-05 17:41
professionalPJ Arends14-Jul-05 17:41 
GeneralRe: Book recommendations Pin
Christian Graus14-Jul-05 17:52
protectorChristian Graus14-Jul-05 17:52 
GeneralRe: Book recommendations Pin
PJ Arends14-Jul-05 21:39
professionalPJ Arends14-Jul-05 21:39 
GeneralRe: Book recommendations Pin
Rob Graham15-Jul-05 4:21
Rob Graham15-Jul-05 4:21 
GeneralRe: Book recommendations Pin
PJ Arends15-Jul-05 6:20
professionalPJ Arends15-Jul-05 6:20 
GeneralDatabase redesign Pin
Mincy George14-Jul-05 4:53
Mincy George14-Jul-05 4:53 
GeneralRe: Database redesign Pin
Michael Potter15-Jul-05 5:31
Michael Potter15-Jul-05 5:31 
GeneralRe: Database redesign Pin
Rob Graham16-Jul-05 7:55
Rob Graham16-Jul-05 7:55 
GeneralRe: Database redesign Pin
Anonymous18-Jul-05 6:20
Anonymous18-Jul-05 6:20 
GeneralImport data to SQL server Pin
cberam14-Jul-05 1:06
cberam14-Jul-05 1:06 
GeneralRe: Import data to SQL server Pin
phokojoe14-Jul-05 2:35
phokojoe14-Jul-05 2:35 
GeneralRe: Import data to SQL server Pin
Vasudevan Deepak Kumar15-Jul-05 3:03
Vasudevan Deepak Kumar15-Jul-05 3:03 

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.