Click here to Skip to main content
15,908,013 members
Home / Discussions / Database
   

Database

 
GeneralRe: Inserting a row and retreiving the Identity value Pin
moredip6-Jan-03 15:12
moredip6-Jan-03 15:12 
GeneralRe: Inserting a row and retreiving the Identity value Pin
Paul Riley6-Jan-03 14:52
Paul Riley6-Jan-03 14:52 
GeneralRe: Inserting a row and retreiving the Identity value Pin
moredip6-Jan-03 15:16
moredip6-Jan-03 15:16 
GeneralSOLUTION Re: Inserting a row and retreiving the Identity value Pin
moredip7-Jan-03 8:18
moredip7-Jan-03 8:18 
QuestionUnmanaged ADO.NET? Pin
clintsinger6-Jan-03 12:32
clintsinger6-Jan-03 12:32 
GeneralSQL Connection Problem! Pin
dyerstein6-Jan-03 5:58
dyerstein6-Jan-03 5:58 
GeneralRe: SQL Connection Problem! Pin
Richard Deeming6-Jan-03 6:15
mveRichard Deeming6-Jan-03 6:15 
GeneralRe: SQL Connection Problem! Pin
dyerstein6-Jan-03 6:25
dyerstein6-Jan-03 6:25 
<%@ Import namespace="System.Data" %>
<%@ Import namespace="System.Data.SqlClient" %>



<title>Authorised Users



TEST


<asp:datagrid id="dgNameList"
="" runat="server" gridlines="None" backcolor="LightBlue" cellpadding="5" cellspacing="5" borderwidth="2" bordercolor="Black" <="" body="">


private void Page_Load(object sender, System.EventArgs e)
{
String strConnection = "server=SILICON; database=PositonTracker01; integrated security=true;";
SqlConnection objConnection = new SqlConnection(strConnection);

String strSQL = "SELECT FirstName, LastName, Country " + "FROM Analyst";
SqlCommand objCommand = new SqlCommand(strSQL, objConnection);


objConnection.Open();
dgNameList.DataSource = objCommand.ExecuteReader();
dgNameList.DataBind();
objConnection.Close();
}

GeneralRe: SQL Connection Problem! Pin
leppie6-Jan-03 6:46
leppie6-Jan-03 6:46 
GeneralTable optimization Pin
alex.barylski5-Jan-03 7:39
alex.barylski5-Jan-03 7:39 
GeneralRe: Table optimization Pin
Matt Gullett5-Jan-03 9:54
Matt Gullett5-Jan-03 9:54 
GeneralRe: Table optimization Pin
alex.barylski5-Jan-03 12:54
alex.barylski5-Jan-03 12:54 
GeneralRe: Table optimization Pin
Matt Gullett5-Jan-03 13:11
Matt Gullett5-Jan-03 13:11 
GeneralRe: Table optimization Pin
alex.barylski5-Jan-03 14:27
alex.barylski5-Jan-03 14:27 
GeneralRe: Table optimization Pin
Matt Gullett5-Jan-03 15:26
Matt Gullett5-Jan-03 15:26 
GeneralRe: Table optimization Pin
alex.barylski5-Jan-03 16:24
alex.barylski5-Jan-03 16:24 
GeneralRe: Table optimization Pin
Matt Gullett5-Jan-03 16:50
Matt Gullett5-Jan-03 16:50 
GeneralRe: Table optimization Pin
alex.barylski5-Jan-03 17:19
alex.barylski5-Jan-03 17:19 
GeneralADO connection object Pin
Shamoon5-Jan-03 7:38
Shamoon5-Jan-03 7:38 
GeneralRe: ADO connection object Pin
Matt Gullett5-Jan-03 9:56
Matt Gullett5-Jan-03 9:56 
GeneralColse RecordSet Pin
Mazdak4-Jan-03 1:50
Mazdak4-Jan-03 1:50 
GeneralRe: Colse RecordSet Pin
David Wulff4-Jan-03 7:48
David Wulff4-Jan-03 7:48 
GeneralRe: Colse RecordSet Pin
Mazdak4-Jan-03 9:04
Mazdak4-Jan-03 9:04 
GeneralMS Access Count Pin
Jassim Rahma1-Jan-03 4:06
Jassim Rahma1-Jan-03 4:06 
GeneralRe: MS Access Count Pin
Roger Wright1-Jan-03 5:37
professionalRoger Wright1-Jan-03 5:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.