Category Archives: Computers

Computers

The Code Wars

“How many programmers does it take to change a light bulb?”

“Well that all depends on the testing, which will determine if there is some legitimate reason to change the light bulb in the first place.”

Login.aspx.cs Connecting to SQL Server with ASP.NET

using System;
using System.Configuration;
using System.Data.SqlClient;
public partial class Login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void LoginButton_Click(object sender, EventArgs e)
{
String cs = ConfigurationManager.ConnectionStrings["csString"].ConnectionString;
[...]