Hi there

I'm having a typed dataset, where a datatable has some columns which are
expressions.

After doing a Merge, i was expected that my expression columns were
calculated, but they were not.

Although, if i do this
foreach(System.Data.DataColumn column in dataset.myDataTable.Columns)

{

if (column.Expression!=null && column.Expression.Length>0)

column.Expression =column.Expression;

}



they are calculated...

is this by design ?

thanks!

www.dotnetx.org

Re: Dataset: expression columns recalculation by amir

amir
Sat Apr 02 00:36:44 CST 2005

Hi Hugo,

No, it is not By Design. Which version of framework you are using?


--
This posting is provided "AS IS", with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.


"Hugo Batista" <hlbatista@gmail.com_nospam> wrote in message
news:eTHqfFqNFHA.2580@TK2MSFTNGP09.phx.gbl...
> Hi there
>
> I'm having a typed dataset, where a datatable has some columns which are
> expressions.
>
> After doing a Merge, i was expected that my expression columns were
> calculated, but they were not.
>
> Although, if i do this
> foreach(System.Data.DataColumn column in dataset.myDataTable.Columns)
>
> {
>
> if (column.Expression!=null && column.Expression.Length>0)
>
> column.Expression =column.Expression;
>
> }
>
>
>
> they are calculated...
>
> is this by design ?
>
> thanks!
>
> www.dotnetx.org
>
>



Re: Dataset: expression columns recalculation by Hugo

Hugo
Tue Apr 05 06:27:39 CDT 2005

Hi

1.1 + SP1

thanks

"amir massourian" <amirhmy@online.microsoft.com> escreveu na mensagem
news:%23STRX50NFHA.3492@TK2MSFTNGP09.phx.gbl...
> Hi Hugo,
>
> No, it is not By Design. Which version of framework you are using?
>
>
> --
> This posting is provided "AS IS", with no warranties, and confers no
> rights.
> Please do not send email directly to this alias. This alias is for
> newsgroup purposes only.
>
>
> "Hugo Batista" <hlbatista@gmail.com_nospam> wrote in message
> news:eTHqfFqNFHA.2580@TK2MSFTNGP09.phx.gbl...
>> Hi there
>>
>> I'm having a typed dataset, where a datatable has some columns which are
>> expressions.
>>
>> After doing a Merge, i was expected that my expression columns were
>> calculated, but they were not.
>>
>> Although, if i do this
>> foreach(System.Data.DataColumn column in dataset.myDataTable.Columns)
>>
>> {
>>
>> if (column.Expression!=null && column.Expression.Length>0)
>>
>> column.Expression =column.Expression;
>>
>> }
>>
>>
>>
>> they are calculated...
>>
>> is this by design ?
>>
>> thanks!
>>
>> www.dotnetx.org
>>
>>
>
>