Click here to Skip to main content
15,885,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: convert local time to another country time Pin
Parwej Ahamad16-Dec-08 19:07
professionalParwej Ahamad16-Dec-08 19:07 
AnswerRe: convert local time to another country time Pin
Christian Graus16-Dec-08 19:12
protectorChristian Graus16-Dec-08 19:12 
QuestionPassing null to datetime datatype Pin
Rahul Gharat16-Dec-08 18:46
Rahul Gharat16-Dec-08 18:46 
AnswerRe: Passing null to datetime datatype Pin
Christian Graus16-Dec-08 18:48
protectorChristian Graus16-Dec-08 18:48 
GeneralRe: Passing null to datetime datatype Pin
Rahul Gharat16-Dec-08 18:59
Rahul Gharat16-Dec-08 18:59 
GeneralRe: Passing null to datetime datatype Pin
Christian Graus16-Dec-08 19:14
protectorChristian Graus16-Dec-08 19:14 
AnswerRe: Passing null to datetime datatype Pin
amit sahu2016-Dec-08 19:27
amit sahu2016-Dec-08 19:27 
GeneralRe: Passing null to datetime datatype Pin
Christian Graus16-Dec-08 19:39
protectorChristian Graus16-Dec-08 19:39 
amit sahu20 wrote:
public void fun(object Date_Start,object Date_End)


This is ridiculous. Why pass an object and not a DateTime? ? Then you can use .HasValue, and generally write nice code.

Have you set a breakpoint to see which code executes ? Have you tried DbNull.Value ? I wonder if SqlDateTime is a type for SQL Server only ?

Christian Graus

Driven to the arms of OSX by Vista.

GeneralRe: Passing null to datetime datatype Pin
Rahul Gharat16-Dec-08 19:58
Rahul Gharat16-Dec-08 19:58 
GeneralRe: Passing null to datetime datatype Pin
Rahul Gharat16-Dec-08 19:32
Rahul Gharat16-Dec-08 19:32 
AnswerRe: Passing null to datetime datatype Pin
amit sahu2016-Dec-08 19:36
amit sahu2016-Dec-08 19:36 
GeneralRe: Passing null to datetime datatype Pin
Christian Graus16-Dec-08 19:41
protectorChristian Graus16-Dec-08 19:41 
GeneralRe: Passing null to datetime datatype Pin
Rahul Gharat16-Dec-08 20:09
Rahul Gharat16-Dec-08 20:09 
GeneralRe: Passing null to datetime datatype Pin
Christian Graus16-Dec-08 23:06
protectorChristian Graus16-Dec-08 23:06 
GeneralRe: Passing null to datetime datatype Pin
Christian Graus16-Dec-08 19:40
protectorChristian Graus16-Dec-08 19:40 
GeneralRe: Passing null to datetime datatype Pin
Rahul Gharat16-Dec-08 20:07
Rahul Gharat16-Dec-08 20:07 
GeneralRe: Passing null to datetime datatype Pin
Christian Graus16-Dec-08 23:04
protectorChristian Graus16-Dec-08 23:04 
QuestionWebsite Deployment Pin
kirandilip16-Dec-08 18:34
kirandilip16-Dec-08 18:34 
AnswerRe: Website Deployment Pin
Christian Graus16-Dec-08 18:48
protectorChristian Graus16-Dec-08 18:48 
AnswerRe: Website Deployment Pin
Abhijit Jana16-Dec-08 18:53
professionalAbhijit Jana16-Dec-08 18:53 
AnswerRe: Website Deployment Pin
Vimalsoft(Pty) Ltd16-Dec-08 19:18
professionalVimalsoft(Pty) Ltd16-Dec-08 19:18 
GeneralRe: Website Deployment Pin
Christian Graus16-Dec-08 19:43
protectorChristian Graus16-Dec-08 19:43 
GeneralRe: Website Deployment Pin
Vimalsoft(Pty) Ltd16-Dec-08 19:47
professionalVimalsoft(Pty) Ltd16-Dec-08 19:47 
AnswerRe: Website Deployment Pin
Brij16-Dec-08 19:34
mentorBrij16-Dec-08 19:34 
Questionhow make a move next command?? Pin
meki_211816-Dec-08 18:27
meki_211816-Dec-08 18:27 

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.