Click here to Skip to main content
15,886,857 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: crystal reports Pin
monuSaini12-Aug-07 21:27
monuSaini12-Aug-07 21:27 
GeneralRe: crystal reports Pin
Imranlogi12-Aug-07 23:06
Imranlogi12-Aug-07 23:06 
QuestionObject reference problem in a windows application. Pin
Janu_M12-Aug-07 19:23
Janu_M12-Aug-07 19:23 
QuestionC# DataGridView - Deleting a new Row Pin
shubhabratam12-Aug-07 17:59
shubhabratam12-Aug-07 17:59 
AnswerRe: C# DataGridView - Deleting a new Row Pin
Michael Sync12-Aug-07 18:09
Michael Sync12-Aug-07 18:09 
AnswerRe: C# DataGridView - Deleting a new Row Pin
Imranlogi12-Aug-07 20:40
Imranlogi12-Aug-07 20:40 
GeneralRe: C# DataGridView - Deleting a new Row Pin
shubhabratam12-Aug-07 20:53
shubhabratam12-Aug-07 20:53 
GeneralRe: C# DataGridView - Deleting a new Row Pin
Imranlogi12-Aug-07 21:13
Imranlogi12-Aug-07 21:13 
QuestionAfter passing file name in PrintQueue.AddJob(_,_,) folder is getting locked Pin
gvisgr812-Aug-07 17:53
gvisgr812-Aug-07 17:53 
QuestionHow to synchronize between GridView and DataTable? Pin
Michael Sync12-Aug-07 17:42
Michael Sync12-Aug-07 17: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.