How can I check the datatype of the value which is coming from one of the dataTable

I want to extract the datatype of the value which is coming form the data table.
Someone please help me in this.
Thank you in advance

Regards,
Suraj

1 Like

Hello @surajhy

You can try this:

string strDataType = valueDt.GetType.tostring

Let me know if it’s working!

4 Likes

Thank you so much :slight_smile:
I tried this way
valueDT.Rows(0).Items(0).GetType.tostring

Regards,
Suraj

1 Like

Welcome :slight_smile:
Please mark as solved

1 Like