Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
GeneralRe: newbie question Pin
Heath Stewart22-Jan-04 4:35
protectorHeath Stewart22-Jan-04 4:35 
GeneralRe: newbie question Pin
bouli22-Jan-04 4:47
bouli22-Jan-04 4:47 
GeneralRe: newbie question Pin
Heath Stewart22-Jan-04 4:51
protectorHeath Stewart22-Jan-04 4:51 
GeneralRe: newbie question Pin
bouli22-Jan-04 4:54
bouli22-Jan-04 4:54 
GeneralRe: newbie question Pin
Nick Parker22-Jan-04 6:17
protectorNick Parker22-Jan-04 6:17 
GeneralRe: newbie question Pin
Bo Hunter22-Jan-04 12:23
Bo Hunter22-Jan-04 12:23 
GeneralDeferred Calculations Pin
BernardYardley22-Jan-04 3:36
BernardYardley22-Jan-04 3:36 
GeneralRe: Deferred Calculations Pin
Heath Stewart22-Jan-04 5:01
protectorHeath Stewart22-Jan-04 5:01 
There's one major problem:
array1.CurrentRow = array2.CurrentRow + array3.LastRow;
array2.CurrentRow = array2.LastRow - 3;
array3.CurrentRow = array1.LastRow * 2;
This will be executed as-is by the CLR because the expressions are compiled to IL as you see them. Instead, you should consider storing an expression string as you could with a ColumnHeader (for a DataGrid). You would have to devise somewhere to parse this expression, thoug, perhaps using a string tokenizer like we've done in our app I architected at work. There is an article that includes source that was the basis for our string tokenizer: http://www.c-sharpcorner.com/Code/2003/June/JavaLikeStringTokenizer.asp[^]. This may help.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Deferred Calculations Pin
BernardYardley22-Jan-04 5:08
BernardYardley22-Jan-04 5:08 
GeneralRe: Deferred Calculations Pin
leppie22-Jan-04 6:21
leppie22-Jan-04 6:21 
General2 questions Pin
bouli22-Jan-04 2:41
bouli22-Jan-04 2:41 
GeneralRe: 2 questions Pin
Sune Trudslev22-Jan-04 4:25
professionalSune Trudslev22-Jan-04 4:25 
GeneralRe: 2 questions Pin
Heath Stewart22-Jan-04 4:54
protectorHeath Stewart22-Jan-04 4:54 
GeneralRe: 2 questions Pin
bouli22-Jan-04 5:32
bouli22-Jan-04 5:32 
GeneralProperly accessing ShDocVw interfaces... Pin
profoundwhispers22-Jan-04 0:57
profoundwhispers22-Jan-04 0:57 
GeneralRe: Properly accessing ShDocVw interfaces... Pin
Heath Stewart22-Jan-04 4:49
protectorHeath Stewart22-Jan-04 4:49 
QuestionHow to display copyright sign (c in small circle,©) in Label control? Pin
god4k21-Jan-04 22:35
god4k21-Jan-04 22:35 
AnswerRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Sune Trudslev22-Jan-04 0:35
professionalSune Trudslev22-Jan-04 0:35 
GeneralRe: How to display copyright sign (c in small circle,©) in Label control? Pin
leppie22-Jan-04 6:23
leppie22-Jan-04 6:23 
AnswerRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Heath Stewart22-Jan-04 4:40
protectorHeath Stewart22-Jan-04 4:40 
GeneralRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Bo Hunter22-Jan-04 12:31
Bo Hunter22-Jan-04 12:31 
GeneralRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Heath Stewart22-Jan-04 12:44
protectorHeath Stewart22-Jan-04 12:44 
GeneralRe: How to display copyright sign (c in small circle,©) in Label control? Pin
Bo Hunter22-Jan-04 15:57
Bo Hunter22-Jan-04 15:57 
GeneralWinForms DataGrid data display limit Pin
Rakesh Rajan21-Jan-04 18:11
Rakesh Rajan21-Jan-04 18:11 
GeneralRe: WinForms DataGrid data display limit Pin
Heath Stewart21-Jan-04 18:51
protectorHeath Stewart21-Jan-04 18:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.