Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
AnswerRe: Does C# contain shell programming? Pin
Heath Stewart23-Feb-04 4:43
protectorHeath Stewart23-Feb-04 4:43 
GeneralRe: Does C# contain shell programming? Pin
SherKar24-Feb-04 1:05
SherKar24-Feb-04 1:05 
GeneralRe: Does C# contain shell programming? Pin
Heath Stewart24-Feb-04 3:45
protectorHeath Stewart24-Feb-04 3:45 
Generalrectangle zoom on Graphics object Pin
TweeZz23-Feb-04 0:46
TweeZz23-Feb-04 0:46 
GeneralRe: rectangle zoom on Graphics object Pin
Werdna23-Feb-04 4:03
Werdna23-Feb-04 4:03 
Generalon VC# .net package Pin
ppp00123-Feb-04 0:39
ppp00123-Feb-04 0:39 
GeneralRe: on VC# .net package Pin
Heath Stewart23-Feb-04 4:52
protectorHeath Stewart23-Feb-04 4:52 
Generalconverting string value to money data type Pin
Qamarwis23-Feb-04 0:37
Qamarwis23-Feb-04 0:37 
Hi!
I am developing a web application in asp.net using C#. my problem is that i take user input and store it into database. Now when i take the input for "salary". from a text box i am unable to convert it into "Money data type".
my code is
string sql="insert into User1 values ("+txtUser_ID.value+", .... ... ','Cast('txtSalart.value' as Money)','.....

I hav tried several other combinations as well but each time i get the errors like
1. Invalid character near txtSalary,
2. Can not convert to Money from varchar Use CONVERT function
anf bla bla....

Similarly what should i do to store date without a time value. ie i just want to store date n not time. and also i want to retrieve only date value and not time....

Can any one help me out ???Frown | :(
Waititng 4 reply

GeneralRe: converting string value to money data type Pin
Werdna23-Feb-04 4:07
Werdna23-Feb-04 4:07 
GeneralRe: converting string value to money data type Pin
Werdna23-Feb-04 4:08
Werdna23-Feb-04 4:08 
QuestionHow to mute audio? Pin
mdundek22-Feb-04 23:56
mdundek22-Feb-04 23:56 
AnswerRe: How to mute audio? Pin
Heath Stewart23-Feb-04 6:43
protectorHeath Stewart23-Feb-04 6:43 
GeneralColorPalette class Pin
Stephane David22-Feb-04 22:31
Stephane David22-Feb-04 22:31 
GeneralRe: ColorPalette class Pin
Heath Stewart23-Feb-04 9:20
protectorHeath Stewart23-Feb-04 9:20 
GeneralDisposing of Dynamic Controls Pin
Andy H22-Feb-04 22:15
Andy H22-Feb-04 22:15 
GeneralRemove text selection in an RTB Pin
Fleischen22-Feb-04 21:02
Fleischen22-Feb-04 21:02 
GeneraldirectX in C# Pin
waliop22-Feb-04 20:11
waliop22-Feb-04 20:11 
GeneralRe: directX in C# Pin
Chen Pang22-Feb-04 22:07
Chen Pang22-Feb-04 22:07 
Generallisting bitmap on ListView Pin
azusakt22-Feb-04 19:01
azusakt22-Feb-04 19:01 
GeneralRe: listing bitmap on ListView Pin
Werdna23-Feb-04 4:14
Werdna23-Feb-04 4:14 
QuestionHow to change Size of Array Pin
god4k22-Feb-04 18:23
god4k22-Feb-04 18:23 
AnswerRe: How to change Size of Array Pin
Tom Larsen22-Feb-04 18:28
Tom Larsen22-Feb-04 18:28 
AnswerRe: How to change Size of Array Pin
Corinna John22-Feb-04 20:28
Corinna John22-Feb-04 20:28 
GeneralRe: How to change Size of Array Pin
CWIZO23-Feb-04 2:54
CWIZO23-Feb-04 2:54 
AnswerRe: How to change Size of Array Pin
turbochimp25-Feb-04 11:21
turbochimp25-Feb-04 11:21 

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.