Object reference not set to an instance of an object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cmtek
    New Member
    • Sep 2006
    • 1

    Object reference not set to an instance of an object

    I have a button within a DataGrid using a buttoncolumn.
    When clicking the button it should call my Function SubmitAction.
    When attempting to execute the call this is the error.

    Exception Details: System.NullRefe renceException: Object reference not set to an instance of an object.

    Line 72: newinfo.SubmitA ction(reginfo.T ables(0).Rows(c ount)("CourseSc heduleID").ToSt ring(), username, username)
  • axas
    New Member
    • Jul 2006
    • 32

    #2
    Usually this error occurs when you have not being initialize an object.
    Check the initialization of the object first, otherwise send me your code or
    a part of your code.

    Axas.

    Comment

    Working...