السلام عليكم اخوتي من جديد
لدي UserControl فيه ليبلز و تكست بوكسيز ...
عندما ابعث القيم في كونستركتور ... وايضا عند ادخال التكست مباشره يعطي رسالة الخطأ التاليه ...
حاولت ان اغير اسم الكونترول او اسم الليبل ولكن لم يتفع الامر علما انني لا استطيع انشاء اوبجكت من نوع هذا الكونترول ... الا اذا وضعت مسارة الكامل
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 15: public ArticleControl(string article_name, string article_created, string body, string article_no)
Line 16: {
Line 17: Label1t.Text = "SS";
Line 18: Label2.Text = article_created;
Line 19: Label3.Text = article_no;
Source File: C:\Users\Shadi-IB\Documents\Visual Studio 2008\Projects\shlogger_admin\shlogger_admin\Data\ArticleControl.ascx.cs Line: 17تم حل المشكله بعمل NEw للاوبجيكتس الموجوده على الكونترول ,
ولكن المشكله الان ان الكونترول لا يظهر !!
