Author: andy91 | Posted on: 11/25/2008 9:15:07 PM | Views : 1157

 I just cant seem to get this work! What am I doing wrong here?
 
  protected void Page_Load(object sender, EventArgs e)
    {
        string query = Request.QueryString["Id"];
        ;
        
        string SQL = "SELECT title FROM mb_messages WHERE mb_id ='"+ query +"'";
        


        OleDbConnection myConn = new OleDbConnection("Provider=Microsoft.Jet.OleDb.4.0; Data Source=|DataDirectory|mbbase.mdb");
        OleDbCommand cmd = new OleDbCommand(SQL, myConn);
        
        myConn.Open();
   &n ...

Go to the complete details ...