November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
<%@ Page language="c#"%>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.OleDb" %>
void checkDB() {
strConn = "Provider=SQLOLEDB;Data Source=(local);Database=dbName;User Id=username;Password=pass;Network Library=DBMSSOCN;";
OleDbConnection objConn = new OleDbConnection(strConn);
strSQL = "SELECT * FROM tblPageDefinitionGroup";
OleDbCommand objCmd = new OleDbCommand(strSQL, objConn);
objConn.Open();
OleDbDataReader objRead;
objRead = objCmd.ExecuteReader();
if (objRead.HasRows) {
while(objRead.Read()) {
Response.Write(objRead.GetInt32(0)+" - "+objRead.GetString(5)+"
");
}
}
}