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 Server to a SqlDataReader concisely. [codesyntax lang="csharp"] using...
View ArticleDatabinding 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 [codesyntax lang="csharp"] using System; using System.Collections.Generic; using...
View ArticleSave SQL Server login details in SQL Management Studio
Today I found out something that I found out years ago, if you like me need to use multiple SQL servers but can’t remember things by IP address or would prefer not having to type login information...
View ArticleUpdate SQL Server and return ID of row updated
So you want to update a single row in your table and then return the row identifier that was affected, here’s one way of going about it. Remember SCOPE_IDENTITY() is about inserting so as we are...
View Article