M
majorone
hello, i am trying to design a method in manipulating data over the
intranet, and i am wondering which of the following design can get
better performance.
can u help me? thanks.
<<design 1>>
A DataTable object which contains 4 columns for each row:
id (int), columnA (string), column B (string), column C (string)
<<design 2>>
A generic List<myData> which contains a list of MyData object.
class MyData{
int id;
string columnA;
string columnB;
string columnC;
}
intranet, and i am wondering which of the following design can get
better performance.
can u help me? thanks.
<<design 1>>
A DataTable object which contains 4 columns for each row:
id (int), columnA (string), column B (string), column C (string)
<<design 2>>
A generic List<myData> which contains a list of MyData object.
class MyData{
int id;
string columnA;
string columnB;
string columnC;
}