datacolumn boxing
-
hi I have a general question if I write row[0][0] = 5; does a boxing occurs ? should I write (from perfomance look ) row[0][0] = (object)5;
-
hi I have a general question if I write row[0][0] = 5; does a boxing occurs ? should I write (from perfomance look ) row[0][0] = (object)5;
What database are you using what is boxing - not in any SQL I know of
Never underestimate the power of human stupidity RAH
-
What database are you using what is boxing - not in any SQL I know of
Never underestimate the power of human stupidity RAH
i'm using SQL 2005 but the boxing is not done by the SQL server it's done by the CLR
-
i'm using SQL 2005 but the boxing is not done by the SQL server it's done by the CLR
Sorry, can't help you there I don't use the cls, I know of no one who does. Stupid idea really, another layer of abstraction so the poor dev does not need to learn TSQL. However I use convert.to????? in C# rather than boxing.
Never underestimate the power of human stupidity RAH
-
hi I have a general question if I write row[0][0] = 5; does a boxing occurs ? should I write (from perfomance look ) row[0][0] = (object)5;
In C# there are two types of Convertion is used. Boxing :convert ValueTypes to Reference Types UnBoxing :Reference Types to convert ValueTypes From Your code row[0][0] = 5; ---> This is implicit Boxing row[0][0] = (object)5; ---> This is Explicit Boxing You can use any of these to the Conversion. This is General DataBase MessageBoard. So don't ask C# Questions here use C# MessageBoard. Bye, Jai :rose: