Click here to Skip to main content
15,792,959 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to insert empty values from text boxes to database Pin
developerit28-Mar-10 23:13
developerit28-Mar-10 23:13 
AnswerRe: how to insert empty values from text boxes to database Pin
Vimalsoft(Pty) Ltd28-Mar-10 23:15
professionalVimalsoft(Pty) Ltd28-Mar-10 23:15 
AnswerRe: how to insert empty values from text boxes to database Pin
Amit Patel198528-Mar-10 23:16
Amit Patel198528-Mar-10 23:16 
AnswerRe: how to insert empty values from text boxes to database Pin
R. Giskard Reventlov28-Mar-10 23:27
R. Giskard Reventlov28-Mar-10 23:27 
AnswerRe: how to insert empty values from text boxes to database Pin
Arun Jacob29-Mar-10 0:10
Arun Jacob29-Mar-10 0:10 
GeneralRe: how to insert empty values from text boxes to database Pin
developerit29-Mar-10 2:49
developerit29-Mar-10 2:49 
GeneralRe: how to insert empty values from text boxes to database Pin
Sneha Bisht29-Mar-10 3:04
Sneha Bisht29-Mar-10 3:04 
GeneralRe: how to insert empty values from text boxes to database Pin
R. Giskard Reventlov29-Mar-10 3:32
R. Giskard Reventlov29-Mar-10 3:32 
If you are going to do it like that, do it this way:

int printer = (string.IsNullOrEmpty(txtPrinter.Text) ? 0 : Convert.ToInt32(txtPrinter.Text);


Apply the appropriate conversion to txtPrinter.Text.
me, me, me

"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven

Questionpass javascript variable to javascript function Pin
Abdul Rahman Hamidy28-Mar-10 22:43
Abdul Rahman Hamidy28-Mar-10 22:43 
AnswerRe: pass javascript variable to javascript function Pin
Vimalsoft(Pty) Ltd28-Mar-10 23:05
professionalVimalsoft(Pty) Ltd28-Mar-10 23:05 
GeneralRe: pass javascript variable to javascript function Pin
Abdul Rahman Hamidy28-Mar-10 23:17
Abdul Rahman Hamidy28-Mar-10 23:17 
GeneralRe: pass javascript variable to javascript function Pin
Vimalsoft(Pty) Ltd28-Mar-10 23:27
professionalVimalsoft(Pty) Ltd28-Mar-10 23:27 
AnswerRe: pass javascript variable to javascript function Pin
PSK_28-Mar-10 23:19
PSK_28-Mar-10 23:19 
GeneralRe: pass javascript variable to javascript function Pin
Abdul Rahman Hamidy28-Mar-10 23:26
Abdul Rahman Hamidy28-Mar-10 23:26 
GeneralRe: pass javascript variable to javascript function Pin
PSK_29-Mar-10 0:03
PSK_29-Mar-10 0:03 
GeneralRe: pass javascript variable to javascript function Pin
Abdul Rahman Hamidy29-Mar-10 0:13
Abdul Rahman Hamidy29-Mar-10 0:13 
Questionallow user to manage pop3 account in our website ? [modified] Pin
keyur satyadev28-Mar-10 21:06
keyur satyadev28-Mar-10 21:06 
AnswerRe: allow user to manage pop3 account in our website ? Pin
Arun Jacob28-Mar-10 23:52
Arun Jacob28-Mar-10 23:52 
Questionhow to develop a web page with the help of AD rotator control Pin
sowjanya328-Mar-10 20:17
sowjanya328-Mar-10 20:17 
AnswerRe: how to develop a web page with the help of AD rotator control Pin
PSK_28-Mar-10 20:33
PSK_28-Mar-10 20:33 
AnswerRe: how to develop a web page with the help of AD rotator control Pin
Gaurav Dudeja India28-Mar-10 20:47
Gaurav Dudeja India28-Mar-10 20:47 
Questionhow to use form view Pin
sowjanya328-Mar-10 20:14
sowjanya328-Mar-10 20:14 
AnswerRe: how to use form view Pin
PSK_28-Mar-10 20:26
PSK_28-Mar-10 20:26 
QuestionTemplates Pin
Mike65432128-Mar-10 10:09
Mike65432128-Mar-10 10:09 
AnswerRe: Templates Pin
Not Active28-Mar-10 10:30
mentorNot Active28-Mar-10 10:30 

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.