Click here to Skip to main content
16,006,768 members
Home / Discussions / C#
   

C#

 
AnswerRe: ArrayList help? [modified] Pin
User 665824-May-06 1:33
User 665824-May-06 1:33 
GeneralRe: ArrayList help? [modified] Pin
J4amieC24-May-06 1:46
J4amieC24-May-06 1:46 
GeneralRe: ArrayList help? [modified] Pin
User 665824-May-06 2:00
User 665824-May-06 2:00 
AnswerRe: ArrayList help? Pin
eric_tran24-May-06 2:24
eric_tran24-May-06 2:24 
AnswerRe: ArrayList help? Pin
eric_tran24-May-06 2:31
eric_tran24-May-06 2:31 
Questiona few important questions about forms ? Pin
cmpeng3424-May-06 0:37
cmpeng3424-May-06 0:37 
AnswerRe: a few important questions about forms ? Pin
J4amieC24-May-06 1:05
J4amieC24-May-06 1:05 
AnswerRe: a few important questions about forms ? Pin
rah_sin24-May-06 1:09
professionalrah_sin24-May-06 1:09 
you can send the logintime to second
form by
form2 frm2 = new form2(logintime);
frm2.show();
you need to modify the costructor of form2 to accept the parameter.

to subtract one date from another you have to store the result in
timespan type of variable

DateTime date1=Convert.ToDateTime("20-12-1978");
DateTime date2=Convert.ToDateTime("20-12-1979");
TimeSpan date3= date2.Subtract(date1);
int days = date3.Days;

rahul
QuestionHelp me how to gets "%Systemroot%" directory? Pin
khanfresh23-May-06 23:59
khanfresh23-May-06 23:59 
AnswerRe: Help me how to gets "%Systemroot%" directory? [modified] Pin
User 665824-May-06 0:59
User 665824-May-06 0:59 
Questioncall event click Pin
ltxuan23-May-06 23:53
ltxuan23-May-06 23:53 
AnswerRe: call event click Pin
albCode23-May-06 23:59
albCode23-May-06 23:59 
QuestionError in Use Dataset.tables[].clear() . Help Me Pin
hdv21223-May-06 23:45
hdv21223-May-06 23:45 
AnswerRe: Error in Use Dataset.tables[].clear() . Help Me Pin
nps_ltv25-May-06 0:03
nps_ltv25-May-06 0:03 
QuestionMDI and MessageBox Pin
Jonas Beckeman23-May-06 23:44
Jonas Beckeman23-May-06 23:44 
AnswerRe: MDI and MessageBox Pin
alexey N24-May-06 1:33
alexey N24-May-06 1:33 
GeneralRe: MDI and MessageBox Pin
Jonas Beckeman24-May-06 1:44
Jonas Beckeman24-May-06 1:44 
GeneralRe: MDI and MessageBox Pin
alexey N24-May-06 1:46
alexey N24-May-06 1:46 
GeneralRe: MDI and MessageBox Pin
Jonas Beckeman24-May-06 2:16
Jonas Beckeman24-May-06 2:16 
QuestionGet all filenames in a chosen folder? Pin
abiisalwayshappy23-May-06 23:37
abiisalwayshappy23-May-06 23:37 
AnswerRe: Get all filenames in a chosen folder? Pin
ranandbe23-May-06 23:41
ranandbe23-May-06 23:41 
AnswerRe: Get all filenames in a chosen folder? Pin
alexey N24-May-06 1:01
alexey N24-May-06 1:01 
Questionerror in converting word doc in to text file [modified] Pin
ayyp23-May-06 23:29
ayyp23-May-06 23:29 
AnswerRe: error in converting word doc in to text file [modified] Pin
ranandbe23-May-06 23:48
ranandbe23-May-06 23:48 
Questionhow to encrypt and decrypt a string Pin
foysal mamun23-May-06 23:08
foysal mamun23-May-06 23:08 

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.