Welcome to AspAdvice Sign in | Join | Help

October 2004 - Posts

Visual Studio 2005 Standard Edition

The announcement of Visual Studio 2005 Standard Edition proves that Microsoft is listening. Before this announcement, users of VS.NET 2003 Standard Edition had no upgrade path in VS.NET 2005. They could either move up to the Professional version or move
Posted by andrewmooney | 0 Comments

Loading a dBase/Excel table into a GridView Control in ASP.NET 2.0

To load a dBase table using the AccessDataSource control use the following: DataFile="data;extended properties=dBase IV" SelectCommand="select * from [ACCOUNTS.dbf]" To load an Excel worksheet using the AccessDataSource control use the following: DataFile="data\ACCOUNTS.xls;extended

XML Form Generator, Part 3: Displaying the Results

Part 1 of this series demonstrated how to create an XML form using a DataGrid in a web page. Part 2 focused on how to display the XML form using XSL and then save the user input to a new XML file. This final part of the series will show how to create
Posted by andrewmooney | 0 Comments
Filed under:

Error Log

I use this simple routine to create an error.log for Windows applications. Just catch the exception and send it to this routine. private void WriteError(string Exception1) { StreamWriter StreamWriter1 = new StreamWriter(AppDomain.CurrentDomain.BaseDirectory
Posted by andrewmooney | 0 Comments

Access Database Schema with ASP.NET 2.0

The next step in creating My First ASP.NET 2.0 Project is learning how to retrieve Access Database Schema. From database schema alone, there is no way to tell if a column in Access is the AutoNumber type. I have found a simple work around for this short

Shorter URLs Without Rewriting

I looked into URL rewriting and found a simpler solution for my use. I take the last three characters from the request and try to convert them to an integer. Then add the .xml extension and set it as the document source for an XML control. The file then
Posted by andrewmooney | 0 Comments

Retrieving a Web Page in a Different Language

Recently I needed to get the text from a web page that was in a different language. I used encoding when reading the page with StreamReader. This worked well, just make sure you use the right encoding. string url = "http://se.yahoo.com"; string data =
Posted by andrewmooney | 0 Comments

Using the CSharp Compiler with a Batch File

I've been using batch files since the begining to compile assemblies for web applications. But, today was the first time I compiled a Windows application that was written with Notepad. Wow! I'm thinking I should have done this earlier. Now I can use my
Posted by andrewmooney | 0 Comments