title: How to assign date automatically to a database field if the date textbox is empty?
body: <p>I have a listview within which there is a textbox named <strong>DateofEntry</strong>.<br/>
  Now what I want is at runtime if the user does not enter any date in that <strong>DateofEntry</strong> textbox then today's date must be saved in the database otherwise the date that is supplied at runtime must be saved.<br/><br/>How can i achieve this??</p>