I do the following:
Select Case mDataType(mColu mnToSort)
Case TypeCode.Int32
Result = CInt(xText).Com pareTo(CInt(yTe xt))
Case TypeCode.String
Result=...
I wonder if I could somehow write one statement that would compare all types
using mDataType(mColu mnToSort) to automate the conversion?
Select Case mDataType(mColu mnToSort)
Case TypeCode.Int32
Result = CInt(xText).Com pareTo(CInt(yTe xt))
Case TypeCode.String
Result=...
I wonder if I could somehow write one statement that would compare all types
using mDataType(mColu mnToSort) to automate the conversion?
Comment