hi there, i had just a quick question, inside the head section of my web page I have the following code:
Code VBNET:Sub getSData(s as Object, e As EventArgs) Dim objConn As OleDbConnection Dim objCmd As OleDbCommand Dim objRdr As OleDbDataReader objConn = New OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0;Data Source=" &server.mappath("\access_db\sysDB.mdb")) objCmd = New OleDbCommand("SELECT * FROM Student", objConn) objConn.Open() objRdr = objCmd.ExecuteReader() While objRdr.Read() Response.Write(objRdr.Item("Name") & "<br />") End While objRdr.Close() objConn.Close() End Sub
then I have a button that calls this function, it works 100% but the results are displayed towards the top of the page, and my question is how could I get the results to display where I want on the page? for instance the middle of the page? thanks for any help.






Bookmarks