Why DataTable not showing the NULL values?

Posted by thevan on Stack Overflow See other posts from Stack Overflow or by thevan
Published on 2011-06-24T07:25:04Z Indexed on 2011/06/24 8:22 UTC
Read the original article Hit count: 196

Filed under:
|
|
|
|

I have one DataTable Which I gets from the BackEnd. But When I fix the BreakPoint and Visualize the DataTable, It does not show the NULL values. Why is it so?

In the BackEnd, My Table looks like below:

          CustID          JobID          Qty
        ----------       --------       ------
           1               NULL          100
           2                1            200

But in the FrontEnd, My DataTable looks like below:

           CustID          JobID          Qty
        ----------       --------       ------
           1                             100
           2                1            200

Why it is not showing the NULL Values? Is there any specific reason? How to show the DataTable as it is like in the BackEnd?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET