Click here to Skip to main content
15,895,829 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionmass upload of data from excel to database Pin
NRHSR5-Mar-09 23:23
NRHSR5-Mar-09 23:23 
AnswerRe: mass upload of data from excel to database Pin
N a v a n e e t h5-Mar-09 23:39
N a v a n e e t h5-Mar-09 23:39 
GeneralRe: mass upload of data from excel to database Pin
NRHSR8-Mar-09 18:37
NRHSR8-Mar-09 18:37 
GeneralRe: mass upload of data from excel to database Pin
NRHSR9-Mar-09 0:37
NRHSR9-Mar-09 0:37 
AnswerRe: mass upload of data from excel to database Pin
NRHSR10-Mar-09 2:50
NRHSR10-Mar-09 2:50 
General[Message Deleted] Pin
saurabh200675-Mar-09 23:23
saurabh200675-Mar-09 23:23 
GeneralRe: remote connection to mysql Pin
N a v a n e e t h5-Mar-09 23:41
N a v a n e e t h5-Mar-09 23:41 
QuestionNeed to display the resultant time in hours:min:sec format. Pin
Satish - Developer5-Mar-09 22:31
Satish - Developer5-Mar-09 22:31 
Hi, i need to display the times on my webpage. They are start time, end time and the reultant time.
i wrote the following code.

TimeSpan _starttime = DateTime.Now.TimeOfDay;
TimeSpan _endtime = DateTime.Now.TimeOfDay;
TimeSpan _finaltime = _endtime.Subtract(_starttime);
Response.write("Start Time: " + _starttime + "-- End Time: " + _endtime + "-- Finaltime:" + _finaltime);

i am getting result as
02:45:27.9085452-- End Time: 02:52:59.2926579-- Finaltime:00:07:31.3841127

Here i am getting milliseconds...how to avoid this in displaying.
i want to display time as 02:45:27

G. Satish

AnswerRe: Need to display the resultant time in hours:min:sec format. Pin
N a v a n e e t h5-Mar-09 23:44
N a v a n e e t h5-Mar-09 23:44 
AnswerRe: Need to display the resultant time in hours:min:sec format. Pin
SachinKumar M6-Mar-09 0:11
SachinKumar M6-Mar-09 0:11 
AnswerRe: Need to display the resultant time in hours:min:sec format. Pin
keyur satyadev6-Mar-09 2:15
keyur satyadev6-Mar-09 2:15 
QuestionAlways Display pager Pin
Anurag Gandhi5-Mar-09 22:20
professionalAnurag Gandhi5-Mar-09 22:20 
AnswerRe: Always Display pager Pin
N a v a n e e t h5-Mar-09 23:46
N a v a n e e t h5-Mar-09 23:46 
GeneralRe: Always Display pager Pin
Anurag Gandhi6-Mar-09 1:55
professionalAnurag Gandhi6-Mar-09 1:55 
QuestionSession ID Pin
Sarfaraj Ahmed5-Mar-09 22:18
Sarfaraj Ahmed5-Mar-09 22:18 
AnswerRe: Session ID Pin
N a v a n e e t h5-Mar-09 23:51
N a v a n e e t h5-Mar-09 23:51 
Questionbrowser doesn't autosuggest my username + password. Pin
NikoTanghe5-Mar-09 21:56
NikoTanghe5-Mar-09 21:56 
AnswerRe: browser doesn't autosuggest my username + password. Pin
N a v a n e e t h5-Mar-09 23:52
N a v a n e e t h5-Mar-09 23:52 
GeneralRe: browser doesn't autosuggest my username + password. Pin
NikoTanghe6-Mar-09 3:13
NikoTanghe6-Mar-09 3:13 
AnswerRe: browser doesn't autosuggest my username + password. Pin
Abhijit Jana6-Mar-09 3:20
professionalAbhijit Jana6-Mar-09 3:20 
GeneralRe: browser doesn't autosuggest my username + password. Pin
NikoTanghe6-Mar-09 4:18
NikoTanghe6-Mar-09 4:18 
QuestionCrystalReportsRedist2005_x86.msm Pin
BalasubramanianK5-Mar-09 21:35
BalasubramanianK5-Mar-09 21:35 
QuestionAccessing shared folder through web Pin
ATM@CodeProject5-Mar-09 21:19
ATM@CodeProject5-Mar-09 21:19 
AnswerRe: Accessing shared folder through web Pin
Gaurav K Singh5-Mar-09 21:38
Gaurav K Singh5-Mar-09 21:38 
QuestionBindingManagerBase Pin
dan0810705-Mar-09 20:42
dan0810705-Mar-09 20:42 

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.