Month: March 2008

March 27, 2008

Last week I showed you ways on how to read text files. This time around we will be looking at how to load XML files into a DataSet. Let’s assume that we have a file called Symbols.xml which contains some XML data.

And you want to load that data into a DataSet and display it to a […]

Continue Reading
March 19, 2008

Sample 3 is similar to Sample 1 and and Sample 2 but it uses the File.ReadAllText method which reads the content of the whole file instead of reading the data line by line or reading the data and putting the values into a string[]. [C# Version]

[VB.NET Version]

Continue Reading
March 19, 2008

[C# Version]

[VB.NET Version] Imports System Imports System.IO Namespace KeithRull.ReadMyFile     Class Program         Private Shared Sub Main(ByVal args As String())             ‘the filename of the file to read             Dim xmlFilename As String = “Symbols.xml”                         ‘validate if the file exist             If File.Exists(xmlFilename) Then                 ‘read the contents of the file […]

Continue Reading
March 19, 2008

Sample 1 demonstrates how to use the StreamReader technique when reading the contents of a file [C# Version]

[VB.NET Version]

Continue Reading
March 12, 2008

I love being busy. I do. I love working and building applications. I love making sure that what I build is a high quality application that has the ‘Wow’ factor stamped all over it. I guess it’s just my nature to enjoy work and build stuff. I love building stuff. I do. Being busy makes me feel […]

Continue Reading
March 7, 2008

Microsoft Philippines is conducting an event for developers called “Defy All Challenges: The .NET Developer Roadshow” on March 26, 2008 at SM Megamall Cinema 4, Ortigas Center, Mandaluyong City, Philippines. I think this is going to be a great event! I’ve already talked to few developers and they are definetely excited although some raise concerns […]

Continue Reading
March 5, 2008

My wife and I went to the Heroes Happen {here} event in Los Angeles, CA last month and boy, it was a blast! The event was a fullhouse with hundreds of developers and IT professionals attending this big day. My wife took some photos of me at the event during idle time and this is what came up. […]

Continue Reading