Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
GeneralRe: Update SQL Database in C# Pin
Richard MacCutchan3-May-14 6:34
mveRichard MacCutchan3-May-14 6:34 
GeneralRe: Update SQL Database in C# Pin
V.5-May-14 2:24
professionalV.5-May-14 2:24 
AnswerRe: Update SQL Database in C# Pin
Eddy Vluggen3-May-14 7:39
professionalEddy Vluggen3-May-14 7:39 
AnswerRe: Update SQL Database in C# Pin
Praneet Nadkar8-May-14 18:24
Praneet Nadkar8-May-14 18:24 
QuestionHow to add panel and its control to PDF by using iTextSharp.? Pin
Member 98521082-May-14 21:50
Member 98521082-May-14 21:50 
SuggestionRe: How to add panel and its control to PDF by using iTextSharp.? Pin
Richard MacCutchan2-May-14 22:39
mveRichard MacCutchan2-May-14 22:39 
QuestionAudio Steganography C# (Code not working) Invalid file format exception [NEED HELP] Pin
Member 105917362-May-14 8:09
Member 105917362-May-14 8:09 
AnswerRe: Audio Steganography C# (Code not working) Invalid file format exception [NEED HELP] Pin
CHill602-May-14 8:46
mveCHill602-May-14 8:46 
QuestionItextsharp , count each page rows OnStartpage Pin
mohammadkaab2-May-14 1:46
mohammadkaab2-May-14 1:46 
QuestionRe: Itextsharp , count each page rows OnStartpage Pin
GuyThiebaut2-May-14 2:01
professionalGuyThiebaut2-May-14 2:01 
AnswerRe: Itextsharp , count each page rows OnStartpage Pin
mohammadkaab2-May-14 2:33
mohammadkaab2-May-14 2:33 
GeneralRe: Itextsharp , count each page rows OnStartpage Pin
GuyThiebaut2-May-14 2:37
professionalGuyThiebaut2-May-14 2:37 
GeneralRe: Itextsharp , count each page rows OnStartpage Pin
mohammadkaab2-May-14 3:03
mohammadkaab2-May-14 3:03 
GeneralRe: Itextsharp , count each page rows OnStartpage Pin
GuyThiebaut2-May-14 3:29
professionalGuyThiebaut2-May-14 3:29 
QuestionHttpRuntime Cache value automatically cleares in idle state Pin
Kathirvelu.M2-May-14 1:06
Kathirvelu.M2-May-14 1:06 
SuggestionRe: HttpRuntime Cache value automatically cleares in idle state Pin
Richard MacCutchan2-May-14 1:13
mveRichard MacCutchan2-May-14 1:13 
QuestionHave I implemented this well - code critique & tips please? Pin
Kevin Bewley2-May-14 0:07
Kevin Bewley2-May-14 0:07 
QuestionFile refuses to delete Pin
Kasun Liyanage1-May-14 1:01
Kasun Liyanage1-May-14 1:01 
AnswerRe: File refuses to delete Pin
Richard Deeming1-May-14 1:06
mveRichard Deeming1-May-14 1:06 
GeneralRe: File refuses to delete Pin
Kasun Liyanage1-May-14 1:09
Kasun Liyanage1-May-14 1:09 
GeneralRe: File refuses to delete Pin
Richard Deeming1-May-14 1:11
mveRichard Deeming1-May-14 1:11 
GeneralRe: File refuses to delete Pin
Kasun Liyanage1-May-14 2:24
Kasun Liyanage1-May-14 2:24 
QuestionI want to write a tool for work and I don't know if C# is the right tool - If so, I'd love it if someone knew of a sample Pin
Member 1041949730-Apr-14 12:30
Member 1041949730-Apr-14 12:30 
AnswerRe: I want to write a tool for work and I don't know if C# is the right tool - If so, I'd love it if someone knew of a sample Pin
Pete O'Hanlon30-Apr-14 12:44
mvePete O'Hanlon30-Apr-14 12:44 
This seems a perfectly reasonable tool to use C# for. If I were you, I would write this with Windows Forms because you aren't going to want the added complexity of learning WPF on top of this. In order to query for the files, you would be looking at using something like this to retrieve the XML files (assuming you are looking in a flat directory structure):
C#
DirectoryInfo di = new DirectoryInfo(pathToFolder);
FileInfo[] files = di.GetFiles("*.xml");
In this example, I'm retrieving the FileInfo because we can use this to determine things like when the file was last accessed - this is a handy way to remove files you have already looked at. In order to parse the files, you should probably look into using XLinq (that's XML for LINQ) - if you Google on this, you'll find lots of examples on how to use this.

Good luck with your development, and don't forget to come back if you have particular problems you are stuck with.
NewsC# vNext language design - private protected - FamilyAndAssembly Pin
Paulo Morgado30-Apr-14 10:46
professionalPaulo Morgado30-Apr-14 10:46 

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.