-
Ei,, I have been receiving alot of emails lately asking me to share some details about the Mark Miller talk at the San Diego .Net Developers group last week. I'm sorry guys if I havent had the time to post the thoughts that were shared on that session, i have been a bit busy lately but dont worry......
-
Gee! I'll be having a blast tommorow! Finally i'll get to see one of the guys that i look up to in Application Development and Design! Mark Miller, author of (among many other things) CodeRush, a productivity add-in for VS.NET and Refactor! an add-in to Visual Studio .NET that parses your Source code...
-
*Note* I also posted this on the forums at [ http://community.devpinoy.org/forums/258/ShowPost.aspx ] "People say that your favorite piece of code tells tales about you.." I want to hear it from you guys, whats your favorite piece code? I work alot with flat files and databases using c# and most of the...
-
I saw a post in DevPinoy today asking for a demonstration on the disconnected data paradigm in ADO.NET is. With that i decided to create a sample program to illustrate how this works in ADO.NET. Before I continue i would like first to show you the running example to give you a quick overview. [ C# Sample...
-
Here are some useful links that tackle programming guidelines on C# and VB.NET. VB.NET Coding Guidelines by Cory Smith http://addressof.com/blog/articles/CodingGuidelines.aspx VB.NEt Coding Guidelines by Daniel Moth http://www.danielmoth.com/Blog/2004/09/vb-rules-net-way.html VB.NET Coding Guidelines...
-
Here is a quick example on how to access the registry in .NET. This example just iterates thru each key found inside the registry folder ang prints each entry and its value to the console. The important thing to note on this example is that we first declare the location on where to read the key and reference...
-
In Part 1 and Part 2 of this series, we have used column mappings and index mapping to generate our csv files. These approach requires us to loop thru each colum to create the header, the loop thru again to create the rows. The problem with this approach is the amount of time spent in coding such procedures...
-
In Part 1 of this series i have showed to you how to use a IDataReader in creating a function that would generate a CSV file. In part 2 of this series I'm going to show you how to accomplish the same task but this time using a different object. We will still implement the same concept that we used in...
-
Part 1 shows us how to create CSV files in both C# and VB.NET using techniques that were used back on the old days of ADO and OLEDB but implementing them using native ADO.NET objects(IDataReader) instead of recordsets. We use a IDataReader instead of a provider specific reader (SqlDataReader, OleDbDataReader...
-
*NOTE: the source code for this projerct in C# and in VB.NET can be found at the end of this post. I have also posted this example in codeproject "File system browsing? What the heck is that?" "Old way? New way? is there another way???" I guess most of us are still on the pre-.NET mindset, a term i commonly...
-
I started as a VB programmer and I must say that i miss using Left, Right and Mid methods since it is not included in C#. But then again, there is always a suitable replacement. The Substring method. The Substring method retrieves a substring from a specified string. In this demo i have decided to show...
-
Last night i decided to create a basic example on how to use the Random class in the .NET framework since randomization can also be useful in doing programs specially when designing applications that requires unique keys. One example of a program that requires a unique key is a random password generator...