By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,565 Members | 1,679 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,565 IT Pros & Developers. It's quick & easy.

DataColumn Expression Q

P: n/a
Hi All, I have a dataColumn type of string which has values in form of range
like 0-80 or sometimes just 1 value like 100. I want to add another
column[numeric] which basically computes the count of the range & displays
it. I know the hard way of doing this, but was wondering can Expression
Property save me some time? or some easier way
=========
Col0 Col1 NewCol
X 0-10 10
y 100 100
z 5-20 15

TIA
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi
Of course if you have a will defined formula to create that column make it
an expression column while your formula is the value of the expression
property. You can read more on
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemDataDataColumnClassExpressionTopic.asp

Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.