-
Archives
- March 2013
- February 2012
- January 2012
- September 2011
- May 2011
- April 2011
- September 2010
- May 2010
- April 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- December 2007
- July 2007
- June 2007
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- October 2004
- August 2004
- July 2004
- June 2004
- December 1969
-
Meta
Monthly Archives: July 2004
mozdev.org – forumzilla: index
I’ve been looking around for a nice app to read some of my favourite blogs. I only want to see if a new item gets posted, and so I was pleased to discover forumzilla – an extension for the Mozilla … Continue reading
Posted in General
Comments Off
Output the contents of a DataSet in HTML
private void PrintRows(DataSet myDataSet) { // For each table in the DataSet, print the row values. foreach(DataTable myTable in myDataSet.Tables) { foreach(DataRow myRow in myTable.Rows) { foreach (DataColumn myColumn in myTable.Columns) { Response.Write(myRow[myColumn] + “”); } } } } This … Continue reading
Posted in C# Snippets
Comments Off
Populate a DataSet from a table in a database
// Database is called “MarcTest1″ // Table is called “phonebook” // DataSet is called “ds” string m_Connect = “Data Source=(local);integrated security=SSPI;Initial Catalog=MarcTest1;”; SqlConnection myConn = new SqlConnection(m_Connect); SqlDataAdapter da = new SqlDataAdapter(); myConn.Open(); DataSet ds = new DataSet(); string sQueryString … Continue reading
Posted in C# Snippets
Comments Off