Click here to Skip to main content
15,893,668 members
Home / Discussions / C#
   

C#

 
Questionhow to setup C# TCPClient timeout Pin
George_George12-Aug-07 22:36
George_George12-Aug-07 22:36 
QuestionConnection to SQL ! Pin
mrkeivan12-Aug-07 21:59
mrkeivan12-Aug-07 21:59 
AnswerRe: Connection to SQL ! Pin
Giorgi Dalakishvili12-Aug-07 22:09
mentorGiorgi Dalakishvili12-Aug-07 22:09 
Questionvertical align in richtextbox Pin
Cuciu12-Aug-07 21:38
Cuciu12-Aug-07 21:38 
Questionc# - Painting problem Pin
T.D.Prasad12-Aug-07 21:27
T.D.Prasad12-Aug-07 21:27 
AnswerRe: c# - Painting problem Pin
Albu Marius12-Aug-07 22:31
Albu Marius12-Aug-07 22:31 
AnswerRe: c# - Painting problem Pin
Cuciu12-Aug-07 22:42
Cuciu12-Aug-07 22:42 
QuestionRe: c# - Painting problem Pin
T.D.Prasad12-Aug-07 23:51
T.D.Prasad12-Aug-07 23:51 
AnswerRe: c# - Painting problem Pin
Christian Graus13-Aug-07 0:31
protectorChristian Graus13-Aug-07 0:31 
AnswerRe: c# - Painting problem Pin
Christian Graus12-Aug-07 23:52
protectorChristian Graus12-Aug-07 23:52 
QuestionReading Numeric and AlphaNumeric Values from Excel Pin
meeram39512-Aug-07 20:10
meeram39512-Aug-07 20:10 
AnswerRe: Reading Numeric and AlphaNumeric Values from Excel Pin
travlos718-Mar-09 6:14
travlos718-Mar-09 6:14 
AnswerRe: Reading Numeric and AlphaNumeric Values from Excel Pin
InfoBridgeSolutions17-Aug-10 19:30
InfoBridgeSolutions17-Aug-10 19:30 
QuestionDatagrid paging-c# windows application Pin
hemchandars12-Aug-07 20:06
hemchandars12-Aug-07 20:06 
AnswerRe: Datagrid paging-c# windows application Pin
Jax_qqq12-Aug-07 21:41
Jax_qqq12-Aug-07 21:41 
GeneralRe: Datagrid paging-c# windows application Pin
hemchandars13-Aug-07 1:03
hemchandars13-Aug-07 1:03 
Questionhow to Read folder contents [modified] Pin
salmonraju12-Aug-07 20:05
salmonraju12-Aug-07 20:05 
AnswerRe: how to Read folder contents Pin
Michael Sync12-Aug-07 20:18
Michael Sync12-Aug-07 20:18 
DirectoryInfo dir = new DirectoryInfo(@"F:\MyFolder");<br />
FileInfo[] files = dir.GetFiles("*.*");<br />
<br />
Foreach(FileInfo f in files )<br />
{<br />
  Console.WriteLine("Name is : {0}", f.Name);<br />
  Console.WriteLine("Length of the file is : {0}", f.Length);<br />
  Console.WriteLine("Creation time is : {0}", f.CreationTime);<br />
  Console.WriteLine("Attributes of the file are : {0}",<br />
                     f.Attributes.ToString());<br />
}


Ref:

Working with Files in C#[^]

File Information using C#[^]

Hope it helps.



Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. Smile | :)

GeneralRe: how to Read folder contents Pin
salmonraju12-Aug-07 21:02
salmonraju12-Aug-07 21:02 
AnswerRe: how to Read folder contents Pin
tker12-Aug-07 20:29
tker12-Aug-07 20:29 
GeneralRe: how to Read folder contents Pin
salmonraju12-Aug-07 21:01
salmonraju12-Aug-07 21:01 
Questioncrystal reports Pin
monuSaini12-Aug-07 19:58
monuSaini12-Aug-07 19:58 
AnswerRe: crystal reports Pin
Imranlogi12-Aug-07 20:33
Imranlogi12-Aug-07 20:33 
GeneralRe: crystal reports Pin
monuSaini12-Aug-07 20:49
monuSaini12-Aug-07 20:49 
GeneralRe: crystal reports Pin
Imranlogi12-Aug-07 21:18
Imranlogi12-Aug-07 21:18 

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.