Just had a programmers moment of joy, I figured out to hook up an MVC3 view to a REST web service using RESTSharp to...
C# Articles
Quick way to write to the event log from your C# applications
Namespace to import [codesyntax lang="csharp"] using System.Diagnostics; [/codesyntax] Code to write to the...
Insert records with GridView and SqlDataSource using the FooterRow
If you want to add records to your database using a gridview (the gridview should already have at least one record...
Nice C# class for ADO.net databinding
Nice class with a couple of methods to handle execution of a stored procedure with an array of parameters or a regular...
Set parameter value of SqlDataSource to SelectedValue of another page control
You have a DetailsView control with edit / add and all the other goodness enabled, but when adding a new record you...
Bind a Dataset to a Listbox using OleDbDataAdapter
Need to bind a web control to an OleDb data source in your C# web application, here's the magic. In this case I am...
Populate a DropDownList with the names of installed fonts with C#
Need to get a list of available fonts for your application?, this little gem will retrieve the font names of all...
Binding a GridView in C# with a parameterized command
With two controls on your asp.net page a DropDownList (ID ddlDropDownList) and a GridView (ID gvGridView), to retrieve...
Databinding a GridView in C# with ADO.NET
Something simple, you want to use ADO.NET to bind data from SQL Server to a GridView, here is your code behind...
How to store and retrieve information using web.config
So you like the idea of storing variables centrally, and want to know how to implement that in your c# web site....
Programatically building an HTML table in C#
These are the minimum using directives to add at the top of the code behind for building an HTML table from a SQL...