.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

"Compiler Error Message: BC30002: Type 'OledbParameter' is not defined."

Posted By:      Posted Date: October 12, 2010    Points: 0   Category :ASP.Net
 

The code below gives the following error:

"Compiler Error Message: BC30002: Type 'OledbParameter' is not defined."

Changing OledbParameter to SQLParameter does nothing. Nor does anything else I've tried, including staring, praying, methamphetamines, Green Lantern rings or applications for government aid.

Can anyone see what I am doing wrong?


<%@ Page AspCompat="true" language="VB" masterpagefile="./master.master" %>
<asp:content id="head" contentplaceholderid="head" runat="server">
<TITLE>Donate Wheels: Many Thanks!</TITLE>
</asp:content>
<asp:content id="content" contentplaceholderid="content" runat="server">


<%
'declare your variables
Dim charity, donorname, email, phone, carcolor, make, model, year, vin, notes
Dim sConnString, connection, cmd
'Receiving values from Form, assign the values entered to variables
charity = Request.Form("Charity")
donorname = Request.Form("Name")
email = Request.Form("Email")
phone = Request.Form("Phone")
carcolor = Request.Form("Color")
make = Request.Form("Make")
model = Request.Form("Mode


View Complete Post


More Related Resource Links

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend