coversion of Null to Datetime RRS feed

  • Question

  • Hi

    I have a rows in webpage which contain many columns where data type is Datetime. Now the data entered in Webpage is updated to SQL Server. Now I have taken each cell value and stored in a structure. 

    If I fill only 1 row, then the other row datetime values are "NULL". Then there is an expectional that the Datetime cannot be null. The promblem if i set the value to Min or Max or Present Time is , I will be updating all 10 rows to database (If there is ALL the fields in row are NULL ,In database the row is not inserted).

    Please let me know how to proceed??? 

    Pawan Parashar
    Friday, January 2, 2009 12:02 AM