locked
Object reference not set to an instance of an object. RRS feed

  • Question

  • IfNotInsertPaymentReversal IsNothingAndAlsoInsertPaymentReversal.Count > 0 Then

     strTrackingID = CStr(ViewState("V_TrackingID").ToString()).ToUpper

     strRetVal =CStr(ViewState("V_strRetVal").ToString()).ToUpper

    Here am getting 2 return values from Store proc, now i want to assign that values to these parameters

    that time am getting this error.

    pls help me .Thanks advance

    • Moved by Carl Cai Friday, February 21, 2014 9:51 AM (from vb) asp.net forum is more dedicated for these issues
    Thursday, February 20, 2014 11:04 AM

Answers

  • Try the ASP.Net forum for your viewstate problem. 

    http://forums.asp.net

    The viewstate is typical something from IIS but in this case better to use the asp.net forum because they cover more than only ASP.Net


    Success
    Cor

    • Proposed as answer by Carl Cai Friday, February 21, 2014 9:49 AM
    • Marked as answer by Just Karl Friday, February 28, 2014 10:36 PM
    Thursday, February 20, 2014 11:16 AM

All replies

  • Try the ASP.Net forum for your viewstate problem. 

    http://forums.asp.net

    The viewstate is typical something from IIS but in this case better to use the asp.net forum because they cover more than only ASP.Net


    Success
    Cor

    • Proposed as answer by Carl Cai Friday, February 21, 2014 9:49 AM
    • Marked as answer by Just Karl Friday, February 28, 2014 10:36 PM
    Thursday, February 20, 2014 11:16 AM
  • Hi,

    According to Control.ViewState Property  (System.Web.UI) you are using.

    I would suggest you post this issue in the forum Cor suggested.

    In addition to your issue, maybe you need to check whether that viewstate exists first.

    Thanks for your understanding.

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, February 21, 2014 9:51 AM