Click here to Skip to main content
15,885,910 members
Home / Discussions / C#
   

C#

 
QuestionHow to display Multiple images in crystal report Pin
me_ariharan23-Sep-09 8:49
me_ariharan23-Sep-09 8:49 
AnswerRe: How to display Multiple images in crystal report Pin
Abhishek Sur23-Sep-09 10:35
professionalAbhishek Sur23-Sep-09 10:35 
QuestionError when opening demo projects Pin
Stieven23-Sep-09 8:26
Stieven23-Sep-09 8:26 
AnswerRe: Error when opening demo projects Pin
Luc Pattyn23-Sep-09 10:13
sitebuilderLuc Pattyn23-Sep-09 10:13 
GeneralRe: Error when opening demo projects Pin
Stieven23-Sep-09 10:21
Stieven23-Sep-09 10:21 
GeneralRe: Error when opening demo projects Pin
Luc Pattyn23-Sep-09 10:37
sitebuilderLuc Pattyn23-Sep-09 10:37 
GeneralRe: Error when opening demo projects Pin
Stieven24-Sep-09 1:37
Stieven24-Sep-09 1:37 
Questionstring is not recognized Pin
Rabia_Arif23-Sep-09 7:40
Rabia_Arif23-Sep-09 7:40 
hello,
I am using Visual c# 2005 and sql server2005
In my project I have to use the next date from the current system and have to use it in the where clause of sql query string for that i did the following:

string day = (DateTime.Now.AddDays(1).Day.ToString());
           string month = (DateTime.Now.Month.ToString());
           string year = (DateTime.Now.Year.ToString());
           string date_nextDay = month + '/' + day + '/' + year;


then in sql query my code looks like this:
strQueryString = "select * from view_reservation where  date =" + date_nextDay.ToString();


but the problem is sql is not recognizing it although there are some rows in database and whenever I just write the next day date in single quotes by myself it works correctly.Dont kno what to do
AnswerRe: string is not recognized Pin
PIEBALDconsult23-Sep-09 7:48
mvePIEBALDconsult23-Sep-09 7:48 
AnswerRe: string is not recognized Pin
Ian Shlasko23-Sep-09 8:41
Ian Shlasko23-Sep-09 8:41 
GeneralRe: string is not recognized Pin
PIEBALDconsult23-Sep-09 12:23
mvePIEBALDconsult23-Sep-09 12:23 
AnswerRe: string is not recognized Pin
Ashfield23-Sep-09 8:56
Ashfield23-Sep-09 8:56 
GeneralRe: string is not recognized Pin
DaveyM6923-Sep-09 9:07
professionalDaveyM6923-Sep-09 9:07 
GeneralRe: string is not recognized Pin
PIEBALDconsult23-Sep-09 12:12
mvePIEBALDconsult23-Sep-09 12:12 
GeneralRe: string is not recognized Pin
Luc Pattyn23-Sep-09 13:14
sitebuilderLuc Pattyn23-Sep-09 13:14 
GeneralRe: string is not recognized Pin
PIEBALDconsult23-Sep-09 17:55
mvePIEBALDconsult23-Sep-09 17:55 
GeneralRe: string is not recognized Pin
Luc Pattyn24-Sep-09 0:27
sitebuilderLuc Pattyn24-Sep-09 0:27 
GeneralRe: string is not recognized Pin
Ashfield23-Sep-09 21:04
Ashfield23-Sep-09 21:04 
GeneralRe: string is not recognized Pin
DaveyM6924-Sep-09 0:00
professionalDaveyM6924-Sep-09 0:00 
GeneralRe: string is not recognized Pin
Luc Pattyn24-Sep-09 0:29
sitebuilderLuc Pattyn24-Sep-09 0:29 
GeneralRe: string is not recognized Pin
Ashfield24-Sep-09 1:23
Ashfield24-Sep-09 1:23 
GeneralRe: string is not recognized Pin
Rabia_Arif24-Sep-09 5:19
Rabia_Arif24-Sep-09 5:19 
QuestionFileSystemWatcher and Window Service. Pin
Escocia23-Sep-09 6:43
Escocia23-Sep-09 6:43 
AnswerRe: FileSystemWatcher and Window Service. Pin
0x3c023-Sep-09 6:55
0x3c023-Sep-09 6:55 
AnswerRe: FileSystemWatcher and Window Service. Pin
Luc Pattyn23-Sep-09 8:25
sitebuilderLuc Pattyn23-Sep-09 8:25 

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.