Click here to Skip to main content
15,921,841 members
Home / Discussions / C#
   

C#

 
QuestionRe: How to check if extensions follows up in a list? Pin
Goobashi11-Mar-09 23:34
Goobashi11-Mar-09 23:34 
AnswerRe: How to check if extensions follows up in a list? Pin
Matjaz-xyz11-Mar-09 23:40
Matjaz-xyz11-Mar-09 23:40 
QuestionRe: How to check if extensions follows up in a list? Pin
Goobashi11-Mar-09 23:39
Goobashi11-Mar-09 23:39 
AnswerRe: How to check if extensions follows up in a list? Pin
dan!sh 12-Mar-09 0:11
professional dan!sh 12-Mar-09 0:11 
GeneralRe: How to check if extensions follows up in a list? Pin
Matjaz-xyz12-Mar-09 0:20
Matjaz-xyz12-Mar-09 0:20 
GeneralRe: How to check if extensions follows up in a list? Pin
dan!sh 12-Mar-09 0:26
professional dan!sh 12-Mar-09 0:26 
GeneralRe: How to check if extensions follows up in a list? Pin
Matjaz-xyz12-Mar-09 0:36
Matjaz-xyz12-Mar-09 0:36 
GeneralRe: How to check if extensions follows up in a list? Pin
Matjaz-xyz12-Mar-09 1:44
Matjaz-xyz12-Mar-09 1:44 
GeneralRe: How to check if extensions follows up in a list? Pin
dan!sh 12-Mar-09 2:21
professional dan!sh 12-Mar-09 2:21 
GeneralRe: How to check if extensions follows up in a list? Pin
Luc Pattyn12-Mar-09 3:33
sitebuilderLuc Pattyn12-Mar-09 3:33 
AnswerRe: How to check if extensions follows up in a list? Pin
Xmen Real 12-Mar-09 0:14
professional Xmen Real 12-Mar-09 0:14 
GeneralRe: How to check if extensions follows up in a list? Pin
Matjaz-xyz12-Mar-09 0:22
Matjaz-xyz12-Mar-09 0:22 
GeneralRe: How to check if extensions follows up in a list? Pin
Xmen Real 12-Mar-09 0:27
professional Xmen Real 12-Mar-09 0:27 
GeneralRe: How to check if extensions follows up in a list? Pin
Matjaz-xyz12-Mar-09 0:30
Matjaz-xyz12-Mar-09 0:30 
GeneralRe: How to check if extensions follows up in a list? Pin
dan!sh 12-Mar-09 0:33
professional dan!sh 12-Mar-09 0:33 
GeneralRe: How to check if extensions follows up in a list? Pin
Matjaz-xyz12-Mar-09 0:35
Matjaz-xyz12-Mar-09 0:35 
GeneralRe: How to check if extensions follows up in a list? Pin
Xmen Real 12-Mar-09 0:35
professional Xmen Real 12-Mar-09 0:35 
GeneralRe: How to check if extensions follows up in a list? Pin
Luc Pattyn12-Mar-09 3:44
sitebuilderLuc Pattyn12-Mar-09 3:44 
QuestionWIN directory to DOS directory question Pin
Goobashi11-Mar-09 23:22
Goobashi11-Mar-09 23:22 
AnswerRe: WIN directory to DOS directory question Pin
musefan11-Mar-09 23:44
musefan11-Mar-09 23:44 
GeneralRe: WIN directory to DOS directory question Pin
Goobashi11-Mar-09 23:56
Goobashi11-Mar-09 23:56 
AnswerRe: WIN directory to DOS directory question Pin
Matjaz-xyz12-Mar-09 1:00
Matjaz-xyz12-Mar-09 1:00 
AnswerRe: WIN directory to DOS directory question Pin
0x3c012-Mar-09 1:44
0x3c012-Mar-09 1:44 
QuestionHow to run an expression which is in string format? Pin
RezaAsAdi11-Mar-09 23:08
RezaAsAdi11-Mar-09 23:08 
Dear developers

I need to provide an environment that users can build a formula usuin field names of a database
table and some string functions like "substr","left", and "right".The environment saves formula
in a string variable,and when user clicks a button,my code must run that formula over values of
those fields for selected record of that table.
Now,I have that environment and it returns formula as a sring to me,but I don't still have any
idea how to run this string.Do I have to write some code to compile it?I found that .Net has
some namespaces for building dynamic methods,I mean Document object model,but if I want to use
classes of this namesapce I have to convert that formula to IL,which is more difficult for me.
Is there any other idea how I can run a user defined expression inside my code and show up its
result to user?That expression can be like this,if we suppose all table field names start with
"fld":
"fldDKCode+fldDKSerial+Substr(fldDKDate,3,2)+fldDKId+Left(fldDKUserName)"
and I have a database table named TBDKUsers,includes all fields mentioned above.When user clicks
on Run button,my program must show the result of this expression for selected record of TBDKUsers.

Thank you very much\
Reza
AnswerRe: How to run an expression which is in string format? Pin
Expert Coming11-Mar-09 23:11
Expert Coming11-Mar-09 23:11 

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.