Last post Oct 03, 2008 01:08 PM by chrisrock
Oct 03, 2008 12:14 PM|kevorkian|LINK
I don't get this, I have the same code I have used on a couple different sites which works fine just by copying and pasting. However now one one site I am getting an error:
auto_partners_signup.aspx.vb(12,0): error BC30456: 'Insert_Pending_Auto_Partners' is not a member of 'auto_partners'.
Everything is named appropriately from what I can tell though - here is the main page header:
<%@ Page Language="VB" MasterPageFile="MasterPage.master" AutoEventWireup="false" CodeFile="auto_partners_signup.aspx.vb" Inherits="auto_partners_signup" %>
lender_saved = auto_partners.Insert_Pending_Auto_Partners(10, _
Public Class auto_partners
Public Shared Function Insert_Pending_Auto_Partners(ByVal website_id As Int16, _
ByVal category As Int16, _
ByVal url As String, _
ByVal description As String, _
ByVal contact As String, _
ByVal phone As String, _
ByVal email As String) As Integer
Oct 03, 2008 12:50 PM|chrisrock|LINK
Are you sure you don't have a page named "auto_partners" in your solution?
Oct 03, 2008 12:57 PM|kevorkian|LINK
I renamed a page from "auto_partners" to something else a while ago and still had the inherits set to the old name. Didn't even think of that - ugh...
Oct 03, 2008 01:08 PM|chrisrock|LINK