User Profile

Collapse

Profile Sidebar

Collapse
MASMAS
MASMAS
Last Activity: Feb 7 '07, 03:49 PM
Joined: Feb 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • MASMAS
    replied to How to fix this problem?
    Leaving a default value in the end field box is not possible...any other solution?...
    See more | Go to post

    Leave a comment:


  • MASMAS
    started a topic How to fix this problem?

    How to fix this problem?

    Hi, I subtract two datetime data fields(Enddate, StartDate) and display the result in one column(called duration column), everything works fine but if the Enddate field is empty(null) the code throw exception, anyone know how to get rid from exception when Enddate field is empty?

    Here is the code:
    <asp:TemplateCo lumn HeaderText="Dur ation">
    <ItemTemplate >
    <%#CType(Contai ner.DataItem("E nddate"),...
    See more | Go to post
No activity results to display
Show More
Working...