CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008

    null error in gridview

    dtp_from.Value = grid_prdt.Item(5, i).Value
    i hve the above line which gives me null exception

  2. #2
    Join Date
    Jul 2001
    Sunny South Africa

    Re: null error in gridview

    Need much much more info than that.

    Is there a value inside that cell of the GridView?

    I guess you are trying to store a NULL value inside a DateTimePicker - that can be tricky indeed. Have a look at these two links :



    Please, next time try to provide more details with your questions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.