thank you..
I did that.. I added two handlers for rowchanged and columnchanged events
and updated the "DaysCount" in these events. it works great till now.
BTW, how many MVP from Microsoft??
"Miha Markic [MVP C#]" wrote:
> Hi Ahmed,
>
> I suggest you to manually fill the calculated column.
>
> --
> Miha Markic [MVP C#] - RightHand .NET consulting & development
> miha at rthand com
> www.rthand.com
>
> "Ahmed" <(E-Mail Removed)> wrote in message
> news:AADBB18D-2270-4D8D-9239-(E-Mail Removed)...
> > Hi all,
> >
> > I have two columns in my datetable the first is "StartDate", second is
> > "EndDate".
> >
> > Now, I want to add a third column called "Days Count" that retrieves the
> > date difference in days between the the "StartDate" and "EndDate"
> > columns..
> >
> > I think it will be solved by using the expression property but the problem
> > is that expression property doesn't seem to work with dates.
> >
> > any suggestions??
>
>
>