نسیم 96
چهارشنبه 11 دی 1387, 20:15 عصر
با سلام
من فایل های سایتم رو آپلود کردم. توی برنامه ام از معماری سه لایه استفاده کردم. در نتیجه کلاس bll و dal دارم. حالا وقتی صفحه وبم رو تو اینترنت باز می کنم ، این ارور رو می ده . در واقع من دو تا کلاس بیرون از صفحه های سایتم تعریف کرده ام . از توی هر کدوم از این صفحه ها چطوری میتونم به اون کلاس ها دسترسی پیدا کنم؟ با تشکر.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'BLL' is not defined.
Source Error:
Line 3: Inherits System.Web.UI.Page
Line 4: Protected Sub button1_click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Line 5: Dim objbll As New BLL
Line 6: Dim b As Int32 = -1
Line 7: objbll.login(TextBox3.Text, TextBox4.Text, b)
Source File: D:\vhosts\kolbeyephysic.com\httpdocs\Default.aspx. vb Line: 5
من فایل های سایتم رو آپلود کردم. توی برنامه ام از معماری سه لایه استفاده کردم. در نتیجه کلاس bll و dal دارم. حالا وقتی صفحه وبم رو تو اینترنت باز می کنم ، این ارور رو می ده . در واقع من دو تا کلاس بیرون از صفحه های سایتم تعریف کرده ام . از توی هر کدوم از این صفحه ها چطوری میتونم به اون کلاس ها دسترسی پیدا کنم؟ با تشکر.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'BLL' is not defined.
Source Error:
Line 3: Inherits System.Web.UI.Page
Line 4: Protected Sub button1_click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Line 5: Dim objbll As New BLL
Line 6: Dim b As Int32 = -1
Line 7: objbll.login(TextBox3.Text, TextBox4.Text, b)
Source File: D:\vhosts\kolbeyephysic.com\httpdocs\Default.aspx. vb Line: 5