Most recent comments
michael Acker 18/04/2013 18:49
In response to
Consuming RSS feeds in an ASP.NET page
Nice Example....
SINGHXLb 10/04/2013 21:15
In response to
The SimpleMembershipProvider, Secure Passwords And The Crypto Helper
Thanks Mike but i have one question what are values for SaltSize and PBKDF2SubkeyLength ?...
Isaac Koss 09/04/2013 21:55
In response to
Inline Editing With The WebGrid
Unfortunately this does not work in MVC 4. Do you have any ideas on how to do this in MVC 4? Thanks...
Satyabrata Mohapatra 05/04/2013 12:19
In response to
I'm Writing A Book On WebMatrix
Sir,
Today i got the book "Beginning ASP.NET Web Pages with WebMatrix". It is a fantastic book !!...
Boyd Campbell 04/04/2013 20:25
In response to
The WebGrid Helper - Making Selections
If I repopulate the grid with a brand new set of data, the WebGrid is keeping a handle on the row. I...
Derek 03/04/2013 17:35
In response to
Parameter Queries in ASP.NET with MS Access
I am using Microsoft Access 2010 and Visual Studio 2010.
What must be done to handle the case where...
Asit 01/04/2013 08:12
In response to
Cheat Sheet - .NET Framework Exceptions
Great list! I bookmarked this page reference. Thanks! :)...
waqar 01/04/2013 06:12
In response to
Globalization And Localization With Razor Web Pages
excellent article...
Garry 31/03/2013 21:58
In response to
Upload and Crop Images with jQuery, JCrop and ASP.NET
This is an excellent article! Nice one @Mikesdotnetting....
Amit Jahanabadi 30/03/2013 15:54
In response to
Dependency Injection and Inversion of Control with ASP.NET MVC
One of the Best Article on DI & IoC, I have ever read. Thank You!...
Most Popular - Last 7 Days
Most Popular - Last 30 Days
Most Popular - All Time
Latest Entries
List the contents of a folder and link to each file
Mikesdotnetting
-
10 August 2007 21:33
Iterating the contents of a folder is straightforward using classes from System.IO, and listing them as links to the actual file just requires a bit of html added to each file name.
Click to read more about List the contents of a folder and link to each file ...
Filed under:
ASP.NET 2.0
as
Snippet
Viewed: 4887 times
Exporting data to a CSV, tab delimited or other text format
Mikesdotnetting
-
02 August 2007 23:41
A question that often comes up in forums is how to export data to a CSV file, or other text format. Here's a method that takes data from a DataReader and writes it to a file.
Click to read more about Exporting data to a CSV, tab delimited or other text format ...
Filed under:
ASP.NET 2.0
ADO.NET
as
Snippet
Viewed: 18169 times
Displaying One-To-Many Relationships with Nested Repeaters
Mikesdotnetting
-
27 July 2007 14:24
This item could also have been entitled "Displaying Master-Detail Data" or "Displaying Categorised Data", but the principal is the same: you have what are essentially headings or categories, and a group of entries that belong to each heading that you want to display. Typical examples would include the Models of cars by Manufacturer, or Employees by Department. Here's how to do it quite simply using nested Repeaters.
Click to read more about Displaying One-To-Many Relationships with Nested Repeaters ...
Filed under:
ASP.NET 2.0
ADO.NET
ASP.NET Web Forms
as
Tutorial
Viewed: 26271 times
Customising a ListControl's DataTextField value
Mikesdotnetting
-
06 July 2007 12:19
The DataTextField property is used with ListControls - RadioButtonList, CheckBoxList etc to specify a field in the DataSource property to display as the items of the list in the list control. Sometimes, however, you don't want just the value from one database field to appear in the list, and there are a couple of ways to achieve this, depending on what you want to do.
Click to read more about Customising a ListControl's DataTextField value ...
Filed under:
ASP.NET 2.0
ASP.NET Web Forms
as
Tutorial
Viewed: 6263 times
A more efficient RSS feed with C#
Mikesdotnetting
-
06 June 2007 23:15
The contents of an RSS feed only change when items that appear in it are added or amended, so the feed created in the previous article (Create an RSS Feed In ASP.NET 2.0 C#) is rather inefficient, in that the output is generated everytime the feed is requested. Here's an improvement.
Click to read more about A more efficient RSS feed with C# ...
Filed under:
C#
ASP.NET 2.0
as
Snippet
Viewed: 6407 times
Getting the identity of the most recently added record
Mikesdotnetting
-
05 June 2007 22:13
The built-in functions @@Identity and Scope_Identity() are designed to retrieve the most recently added record's autoincrement identity value from Access and Sql Server respectively. Here are some usage examples.
Click to read more about Getting the identity of the most recently added record ...
Filed under:
SQL
SQL Server Express
MS Access
ADO.NET
as
Tutorial
Viewed: 181703 times
Saving a user's CheckBoxList selection and re-populating the CheckBoxList from saved data
Mikesdotnetting
-
03 June 2007 22:56
The user has gone to the trouble of selecting a list of checkboxes to indicate their choices. Now you need to re-present their selections so that they can edit them. How do you make sure the correct checkboxes are ticked?
Filed under:
ASP.NET 2.0
as
Tutorial
Viewed: 47538 times
Basic file management with System.IO in ASP.NET
Mikesdotnetting
-
29 May 2007 12:37
Some basic file and folder management tasks that require the use of classes inside System.IO
Click to read more about Basic file management with System.IO in ASP.NET ...
Filed under:
C#
ASP.NET 2.0
as
Snippet
Viewed: 12105 times
VBScript to C# - Equivalent string functions
Mikesdotnetting
-
28 May 2007 21:18
A Cheat Sheet containing the VBScript string functions and their equivalent methods in C#.
Click to read more about VBScript to C# - Equivalent string functions ...
C# Regular Expressions - the basics
Mikesdotnetting
-
24 May 2007 22:01
The is a brief overview of the main classes and methods in the System.Text.RegularExpressions namespace. It doesn't cover Regex patterns in any real depth at all, but gives an introduction to the power of regular expressions using C#.
Click to read more about C# Regular Expressions - the basics ...
Filed under:
C#
as
Tutorial
Viewed: 39975 times
How to read a remote web page with ASP.NET 2.0
Mikesdotnetting
-
21 May 2007 21:38
Two classes in the System.Net namespace make it very easy to obtain the html of a remote web page. These are the HttpWebRequest and HttpWebResponse. Here's a quick demo.
Click to read more about How to read a remote web page with ASP.NET 2.0 ...
Filed under:
C#
ASP.NET 2.0
as
Snippet
Viewed: 40802 times
Splitting strings with C# and VB.NET
Mikesdotnetting
-
20 May 2007 20:21
Examples of splitting strings into arrays using C# and VB.Net, both with the String.Split() method, and the Regular Expressions Split() method.
Click to read more about Splitting strings with C# and VB.NET ...
C# Regular Expressions Cheat Sheet
Mikesdotnetting
-
19 May 2007 20:36
Cheat sheet for C# regular expressions metacharacters, operators, quantifiers etc
Click to read more about C# Regular Expressions Cheat Sheet ...
Filed under:
C#
as
Cheat Sheet
Viewed: 522983 times
Programmatically accessing data from DataSource controls
Mikesdotnetting
-
16 May 2007 10:06
For the main part, the DataSource controls are incredibly easy to work with. You just drag them onto your page in Design View, wire them up to a connection and provide some kind of command (ad hoc sql query or the name of a stored procedure - saved query in Access), then link them to a databound control on the page using its DataSource property. Then you run the page and all your data appears. But what if you want to get at one or more values from the returned data to do something else with it, like display it in a control that doesn't expose a DataSource property?
Click to read more about Programmatically accessing data from DataSource controls ...
Filed under:
C#
ASP.NET 2.0
ADO.NET
as
Tutorial
Viewed: 53414 times
VBScript Regular Expressions Cheat Sheet
Mikesdotnetting
-
14 May 2007 08:44
Metacharacters for use with VBScript regular expressions
Click to read more about VBScript Regular Expressions Cheat Sheet ...
Filed under:
VBScript
as
Cheat Sheet
Viewed: 21019 times


