DataSet Problems

  • Thread starter Thread starter gary
  • Start date Start date
G

gary

how can i set the defaultvalue of a datarow with type datatime to current
time ??
 
you can assigned value to DataColumn in the DataTable. ther is a
property i'm not sure right now which one it is but there is something
like "nullText" or "defaulutValue" property which you can used to set
the default value. which will replace null value when the row with null
value gets added into the table.thus u can pass null value to the item
filed while creating row and add it to the table and the default value
will be added to the row.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top