Click here to Skip to main content
15,892,517 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: gridview Pin
LongNguyen10-May-06 16:17
LongNguyen10-May-06 16:17 
AnswerRe: gridview Pin
minhpc_bk10-May-06 16:19
minhpc_bk10-May-06 16:19 
GeneralRe: gridview Pin
fmardani11-May-06 20:22
fmardani11-May-06 20:22 
GeneralRe: gridview Pin
minhpc_bk11-May-06 20:55
minhpc_bk11-May-06 20:55 
GeneralRe: gridview Pin
fmardani11-May-06 21:18
fmardani11-May-06 21:18 
QuestionRead Text File from URL Pin
wEb GuRu...10-May-06 4:23
wEb GuRu...10-May-06 4:23 
AnswerRe: Read Text File from URL Pin
albCode10-May-06 10:30
albCode10-May-06 10:30 
Questionreally IMPOSSIBLE? Pin
innocent7310-May-06 4:18
innocent7310-May-06 4:18 
Hello Friends,
I am really sorry for this stupid question. But I really have to solve this question:

I want to execute an INSERT command via my save button on my webform.
The procedure like below:
----------------------------------------------------------
string strSQL="INSERT INTO SupplierOperations VALUES (" +
txtOrderNum.Text + ",'" + txtModelNum.Text + "','" +
TextBox1.Text + "," +
.
.
.
.
-----------------------------------------------------------

How can I convert TextBox.Text value to SMALLDATETIME

I have tried Convert.ToDateTime(TextBox1.Text)....But did not work!!
I also copied this code part and tried to run it on to Sql Server Query analyzer and did not work..

Please help...really urgent situation



-- modified at 7:45 Thursday 11th May, 2006
AnswerRe: SmallDateTime Hell.. Pin
J4amieC10-May-06 4:26
J4amieC10-May-06 4:26 
GeneralRe: SmallDateTime Hell.. Pin
innocent7310-May-06 4:35
innocent7310-May-06 4:35 
GeneralRe: SmallDateTime Hell.. Pin
innocent7310-May-06 4:43
innocent7310-May-06 4:43 
GeneralRe: SmallDateTime Hell.. Pin
Bhasker Pinninti10-May-06 6:10
Bhasker Pinninti10-May-06 6:10 
GeneralRe: SmallDateTime Hell.. Pin
innocent7311-May-06 1:45
innocent7311-May-06 1:45 
AnswerNo it's easy... Pin
Steve McLenithan11-May-06 7:09
Steve McLenithan11-May-06 7:09 
Questionnot moveing Pin
ptvce10-May-06 4:18
ptvce10-May-06 4:18 
Questionnot moved Pin
ptvce10-May-06 4:16
ptvce10-May-06 4:16 
AnswerRe: not moved Pin
albCode10-May-06 10:33
albCode10-May-06 10:33 
GeneralRe: not moved Pin
cheeken2u10-May-06 16:54
cheeken2u10-May-06 16:54 
GeneralRe: not moved Pin
_AK_10-May-06 18:39
_AK_10-May-06 18:39 
GeneralRe: not moved Pin
albCode10-May-06 19:32
albCode10-May-06 19:32 
GeneralRe: not moved Pin
ptvce10-May-06 22:29
ptvce10-May-06 22:29 
QuestionSet Iframe width Pin
Insane D10-May-06 3:42
Insane D10-May-06 3:42 
AnswerRe: Set Iframe width Pin
leckey10-May-06 4:25
leckey10-May-06 4:25 
AnswerRe: Set Iframe width Pin
Insane D11-May-06 2:27
Insane D11-May-06 2:27 
QuestionBinding objectdatasource to an object Pin
moazzamahmed10-May-06 3:40
moazzamahmed10-May-06 3:40 

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.