Click here to Skip to main content
15,899,679 members
Home / Discussions / Database
   

Database

 
AnswerRe: Text File Pin
Dave Kreskowiak8-Feb-06 2:09
mveDave Kreskowiak8-Feb-06 2:09 
Questionnot able to connect with sql server2000 Pin
nauty7-Feb-06 9:12
nauty7-Feb-06 9:12 
AnswerRe: not able to connect with sql server2000 Pin
Mekong River7-Feb-06 15:20
Mekong River7-Feb-06 15:20 
GeneralRe: not able to connect with sql server2000 Pin
Dave Kreskowiak7-Feb-06 16:05
mveDave Kreskowiak7-Feb-06 16:05 
GeneralRe: not able to connect with sql server2000 Pin
Mekong River7-Feb-06 16:15
Mekong River7-Feb-06 16:15 
GeneralRe: not able to connect with sql server2000 Pin
Dave Kreskowiak7-Feb-06 16:24
mveDave Kreskowiak7-Feb-06 16:24 
GeneralRe: not able to connect with sql server2000 Pin
Mekong River7-Feb-06 16:28
Mekong River7-Feb-06 16:28 
Questiondate format problem with asp & mssql. Help! Pin
dansoft7-Feb-06 7:38
dansoft7-Feb-06 7:38 
Hi,

I am having date format problem with asp & mssql. Please help!

consider a table below

id dt
-- ---
1 2006-02-01 00:00:00.000


In the webform create 1 textbox & 1 button

User type a date in the textbox (format "dd/MM/yyyy hh:mm:ss tt" for example 28/02/2006)

In the button click event, write the update command to update the date with the textbox value in the 1st record.

Now the record should look like as below

id dt
-- ---
1 2006-02-28 00:00:00.000


The updated date can be displayed in a label or by using response.write as below

response.write(format(ds.tables("dt").rows(0).item(1),"dd/MM/yyyy hh:mm:ss tt"))

Please give me the code to implement these functions. I think the details given by me are sufficent and you understand my problem. I already posted regarding this problem but i can't able to rectify the problem. Please reply as soon as possible with the working solution.

Thanks in advanceRose | [Rose]
AnswerRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak7-Feb-06 8:01
mveDave Kreskowiak7-Feb-06 8:01 
QuestionRe: date format problem with asp & mssql. Help! Pin
dansoft7-Feb-06 15:48
dansoft7-Feb-06 15:48 
AnswerRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak7-Feb-06 16:11
mveDave Kreskowiak7-Feb-06 16:11 
AnswerRe: date format problem with asp & mssql. Help! Pin
dansoft7-Feb-06 17:54
dansoft7-Feb-06 17:54 
GeneralRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak8-Feb-06 2:08
mveDave Kreskowiak8-Feb-06 2:08 
GeneralRe: date format problem with asp & mssql. Help! Pin
dansoft8-Feb-06 2:53
dansoft8-Feb-06 2:53 
GeneralRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak8-Feb-06 11:58
mveDave Kreskowiak8-Feb-06 11:58 
GeneralRe: date format problem with asp & mssql. Help! Pin
dansoft9-Feb-06 7:37
dansoft9-Feb-06 7:37 
GeneralRe: date format problem with asp & mssql. Help! Pin
Dave Kreskowiak9-Feb-06 11:10
mveDave Kreskowiak9-Feb-06 11:10 
GeneralRe: date format problem with asp & mssql. Help! Pin
dansoft9-Feb-06 14:37
dansoft9-Feb-06 14:37 
Questioninserting images Pin
Net-Programer-and-developer7-Feb-06 5:30
Net-Programer-and-developer7-Feb-06 5:30 
AnswerRe: inserting images Pin
Dave Kreskowiak7-Feb-06 7:59
mveDave Kreskowiak7-Feb-06 7:59 
Questionsql server credentials Pin
Dimitris Iliopoulos7-Feb-06 4:47
Dimitris Iliopoulos7-Feb-06 4:47 
AnswerRe: sql server credentials Pin
Mike Dimmick7-Feb-06 5:45
Mike Dimmick7-Feb-06 5:45 
QuestionCumalative Sum and Supply/Demand Delay Pin
T-Smooth7-Feb-06 4:41
T-Smooth7-Feb-06 4:41 
QuestionIf statement in select clause... Help! Pin
awisey7-Feb-06 4:25
awisey7-Feb-06 4:25 
AnswerRe: If statement in select clause... Help! Pin
Mike Ellison7-Feb-06 5:56
Mike Ellison7-Feb-06 5:56 

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.