![]() |
| ||
| MySQL - ASP.NET - Issues.... I'm trying to get started in ASP.NET, but I just don't understand the errors being returned to me. I'm trying to connect to my MySQL database. I have followed several examples from books and the internet with no success. Could someone look at my code and see if I'm screwing something up? <%@ Import Namespace="System.Data.OleDB" %> Also, how do you use the ****.vb file? I'm using VS.NET as my editor and if you hit F7 you can go to the ****.vb file, but if I place code in the Page_Load event it never runs..... ???? Any clues????? Thanks in advance - Eric |
| ||
| Re: MySQL - ASP.NET - Issues.... Try changing this line: cmd = New OleDbCommand(SQL) to this: cmd = New OleDbCommand(SQL,cn) Also, your Page_Load event probably isn't working, because it's not wired up. Is there a 'Handles Page.Load' at the end of the declaration line? |
| ||
| Re: MySQL - ASP.NET - Issues.... I placed the connection object in the parameter as you instructed. I'm now getting a new error, "Could not find installable ISAM." You can see the error at this address: http://www.derivetech.us/default_page.aspx Any thoughts? ****.vb: I did a search and could not find Quote:
- Eric |
| All times are GMT -4. The time now is 1:46 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC