null error in gridview
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: null error in gridview

  1. #1
    Join Date
    Oct 2008
    Posts
    42

    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
    Location
    Sunny South Africa
    Posts
    11,091

    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 :

    http://nodedangles.wordpress.com/201...er-null-value/

    http://www.dreamincode.net/forums/to...icker-control/

    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

This is a CodeGuru survey question.


Featured


HTML5 Development Center