Check field data type in a dataset table? Pls help!

S

sleepyant

Hi, how can I check the field data type of a column in a Dataset table? Like
whether it is a DateTime, a Binary or Character.

Please help. Thanks.
 
B

Bernie Yaeger

Dim s As String

s = ods.Tables(0).Rows(i)("eventcd").GetType.ToString

MessageBox.Show(s)

HTH,

Bernie Yaeger
 

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

Similar Threads


Top