TheChaseMan's Frenetic SoapBox

Always looking for better ways to do things...

A couple of nice add-ins for VS.NET 2003

There's a nice DataSet viewer add-in for debugging that I found on codeproject.com. Using a context menu, you can highlight your dataset variable and do a “quick watch“ on the value to view either the XML structure or see a table view of the dataset. Another nice thing is that it works with typed-datasets as well. For example, in the following code, I can quick watch either the variable “ds“ or “tds“...

//Typed-DataSet
DataSet ds = new DataSet();
ds.Tables.Add();
ds.Tables[0].Columns.Add("Name");
ds.Tables[0].Columns.Add("Age");
ds.Tables[0].Rows.Add(new object[] {"Sean", 32});
ds.Tables[0].Rows.Add(new object[] {"Johnny", 12});

//Typed-DataSet
PeopleDataSet tds = new PeopleDataSet();
tds.Person.AddPersonRow("Sean", 33);
tds.Person.AddPersonRow("Johnny", 12);

There is also a nice Strongly Typed Collection Builder Addin for VS.NET 2003 on codeproject.com as well.

Both worth taking a look at for sure.


Digg!

posted on Tuesday, June 08, 2004 8:11 AM

Feedback

No comments posted yet.