B
B.M
Hi,
Is there any difference on performance point of view ?
between
String s = MyDataRow["aField"].ToString()
and
String s = (string)MyDataRow["aField"]
The seconde returns a typecast exception if my column is NULL, is there any
best practice about reading string fields ?
Thank you
Is there any difference on performance point of view ?
between
String s = MyDataRow["aField"].ToString()
and
String s = (string)MyDataRow["aField"]
The seconde returns a typecast exception if my column is NULL, is there any
best practice about reading string fields ?
Thank you