نمایش نتایج 1 تا 3 از 3

نام تاپیک: این eror چیه ؟؟؟ throw new NotImplementedException();

  1. #1

    این eror چیه ؟؟؟ throw new NotImplementedException();

    این eror چیه ؟؟؟


    throw new NotImplementedException();

  2. #2

    نقل قول: این eror چیه ؟؟؟ throw new NotImplementedException();


    Server Error in '/' Application.


    The method or operation is not implemented.

    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.NotImplementedException: The method or operation is not implemented.

    Source Error:

    Line 236: public void insert_sbc(string StIID, int SelCID)
    Line 237: {
    Line 238: throw new NotImplementedException();
    Line 239: }
    Line 240:}

    Source File: c:\Users\mustafa\Documents\Visual Studio 2013\WebSites\sbc final\App_Code\DataClasses.designer.cs Line: 238

    Stack Trace:

    [NotImplementedException: The method or operation is not implemented.]
    DataClassesDataContext.insert_sbc(String StIID, Int32 SelCID) in c:\Users\mustafa\Documents\Visual Studio 2013\WebSites\sbc final\App_Code\DataClasses.designer.cs:238
    HesabdariBazarganiKardani.btn_insert_Click(Object sender, EventArgs e) in c:\Users\mustafa\Documents\Visual Studio 2013\WebSites\sbc final\HesabdariBazarganiKardani.aspx.cs:55
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9615682
    System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +103
    System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +10
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13
    System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +35
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009


  3. #3
    کاربر دائمی آواتار En_MK
    تاریخ عضویت
    آبان 1388
    محل زندگی
    تهران
    پست
    288

    نقل قول: این eror چیه ؟؟؟ throw new NotImplementedException();

    من اینجا توضیحات را خوندم+مثال
    انگار زمانهایی که نمیخوایم متدی را پیاده سازی کنیم ولی متد مقداری را بر میگردونه برای اینه run time ارور نده این throw را می نویسم

    private int Add(int x, int y)
    }

    {



    .and have no code inside to do such (the method doesn't even return an integer). This is what NotImplementedException is used for.

تاپیک های مشابه

  1. این eror چیه ؟؟؟ use of unassigned local variable'
    نوشته شده توسط mustafaehsani در بخش ASP.NET Web Forms
    پاسخ: 2
    آخرین پست: یک شنبه 25 خرداد 1393, 14:59 عصر
  2. اشکال این کد چیه ؟؟؟
    نوشته شده توسط aminaki در بخش PHP
    پاسخ: 8
    آخرین پست: جمعه 24 خرداد 1392, 13:31 عصر
  3. سوال: مشکل این Error چیه ؟؟؟
    نوشته شده توسط fire.angle در بخش مباحث عمومی دلفی و پاسکال
    پاسخ: 0
    آخرین پست: پنج شنبه 30 تیر 1390, 13:19 عصر
  4. اشکال این کد چیه ؟؟؟
    نوشته شده توسط احسان_1 در بخش برنامه نویسی با زبان C و ++C
    پاسخ: 4
    آخرین پست: چهارشنبه 23 آبان 1386, 22:20 عصر
  5. این خطا چیه ؟؟؟
    نوشته شده توسط iman_s52 در بخش Windows Phone و Windows Mobile
    پاسخ: 1
    آخرین پست: چهارشنبه 17 مرداد 1386, 09:03 صبح

قوانین ایجاد تاپیک در تالار

  • شما نمی توانید تاپیک جدید ایجاد کنید
  • شما نمی توانید به تاپیک ها پاسخ دهید
  • شما نمی توانید ضمیمه ارسال کنید
  • شما نمی توانید پاسخ هایتان را ویرایش کنید
  •