.NET
System.Diagnostics.Debug.Assert
Checks for a condition and displays a message if the condition is false.
Assert(Boolean) Checks for a condition and outputs the call stack if the condition is false.
Refer: http://msdn.microsoft.com/en-us/library/system.diagnostics.debug.assert.aspx
One advantage of Debug.Assert() is that the C# and VB compilers (not C++) eliminate the Debug.Assert() statement from the CIL code when the DEBUG precompile constant is not [...]
Exporting Data: Creating XML Files using C#
When you want to export data, you can choose formats such as XML or csv for the data files. The XML format is more widely used for its flexibility and is desirable by many systems to be able to process the data. This article explains how to create xml files from C# classes.
Situation: Where would [...]
ASP.NET 2.0: Populating a Datalist using a T-SQL Stored Procedure & Datalist Custom Paging
Highlights:
- Dataset with 2 tables
- Custom paging on the Datalist
- Stored Procedure returns only the records needed for a page. This is useful when the table has thousands of rows
- Source code in both VB 2005 and C# 2005
Source Code Snippets: VB 2005, C# 2005, T-SQL, web.config
To see the demo, please go to: http://www.jotnow.net
VB 2005:
DataList:
<asp:Literal [...]


