Click here to Skip to main content
15,918,742 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCheck Spellings? Pin
Kasi Viswanathan21-Sep-07 22:00
Kasi Viswanathan21-Sep-07 22:00 
AnswerRe: Check Spellings? Pin
Imran Khan Pathan21-Sep-07 22:26
Imran Khan Pathan21-Sep-07 22:26 
GeneralRe: Check Spellings? Pin
Kasi Viswanathan21-Sep-07 23:20
Kasi Viswanathan21-Sep-07 23:20 
QuestionCalculate Date Pin
Kasi Viswanathan21-Sep-07 21:10
Kasi Viswanathan21-Sep-07 21:10 
AnswerRe: Calculate Date Pin
pmarfleet22-Sep-07 0:37
pmarfleet22-Sep-07 0:37 
QuestionCalculate Time Duration Pin
Kasi Viswanathan21-Sep-07 20:47
Kasi Viswanathan21-Sep-07 20:47 
AnswerRe: Calculate Time Duration Pin
Imran Khan Pathan21-Sep-07 20:59
Imran Khan Pathan21-Sep-07 20:59 
AnswerRe: Calculate Time Duration Pin
-- Abhi --21-Sep-07 21:00
-- Abhi --21-Sep-07 21:00 
Kasi Viswanathan wrote:
out time of(02:42:15) with in time of(02:43:20)


Try this :

TimeSpan T1=new TimeSpan(System.DateTime.Now.Day,System.DateTime.Now.Hour,System.DateTime.Now.Minute,System.DateTime.Now.Second,System.DateTime.Now.Millisecond);<br />
<br />
 TimeSpan T2=new TimeSpan(System.DateTime.Now.Day,System.DateTime.Now.Hour,System.DateTime.Now.Minute,System.DateTime.Now.Second,System.DateTime.Now.Millisecond);<br />
<br />
string ans = T2.Subtract(T1).ToString();<br />


Hope this will help you !!


Regards,
Abhi

Questionrun a game file Pin
dsaikrishna21-Sep-07 20:23
dsaikrishna21-Sep-07 20:23 
AnswerRe: run a game file Pin
Michael Sync23-Sep-07 1:32
Michael Sync23-Sep-07 1:32 
QuestionListbox background image problem Pin
SUDHAKAR PALLAM21-Sep-07 19:57
SUDHAKAR PALLAM21-Sep-07 19:57 
AnswerRe: Listbox background image problem Pin
Christian Graus21-Sep-07 20:01
protectorChristian Graus21-Sep-07 20:01 
GeneralRe: Listbox background image problem Pin
SUDHAKAR PALLAM21-Sep-07 20:30
SUDHAKAR PALLAM21-Sep-07 20:30 
GeneralRe: Listbox background image problem Pin
SUDHAKAR PALLAM25-Sep-07 21:48
SUDHAKAR PALLAM25-Sep-07 21:48 
QuestionAJAX .NET 2005 utf-8 querystring Pin
K.P.Kannan21-Sep-07 17:26
K.P.Kannan21-Sep-07 17:26 
AnswerRe: AJAX .NET 2005 utf-8 querystring Pin
Michael Sync23-Sep-07 2:14
Michael Sync23-Sep-07 2:14 
QuestionBreakline after tags on server side Pin
Gustavo Ushijima21-Sep-07 9:53
Gustavo Ushijima21-Sep-07 9:53 
AnswerRe: Breakline after tags on server side [modified] Pin
ChrisKo21-Sep-07 13:27
ChrisKo21-Sep-07 13:27 
GeneralRe: Breakline after tags on server side Pin
Gustavo Ushijima24-Sep-07 2:44
Gustavo Ushijima24-Sep-07 2:44 
Questionbuttons inside template of gridview Pin
sanjay_tutu21-Sep-07 9:01
sanjay_tutu21-Sep-07 9:01 
AnswerRe: buttons inside template of gridview Pin
pmarfleet22-Sep-07 0:46
pmarfleet22-Sep-07 0:46 
Questiondynamic color change in gridview's cell? Pin
sanjay_tutu21-Sep-07 8:55
sanjay_tutu21-Sep-07 8:55 
QuestionBack button issue Pin
Ridge Howison21-Sep-07 8:45
Ridge Howison21-Sep-07 8:45 
AnswerRe: Back button issue Pin
Saksida Bojan21-Sep-07 9:07
Saksida Bojan21-Sep-07 9:07 
GeneralRe: Back button issue Pin
Ridge Howison21-Sep-07 9:23
Ridge Howison21-Sep-07 9:23 

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.