Click here to Skip to main content
15,884,176 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: How to run an expression which is in string format? Pin
Goobashi11-Mar-09 23:44
Goobashi11-Mar-09 23:44 
QuestionHot to make transparent???? Pin
S K Y11-Mar-09 22:34
S K Y11-Mar-09 22:34 
AnswerRe: Hot to make transparent???? Pin
dan!sh 11-Mar-09 22:43
professional dan!sh 11-Mar-09 22:43 
GeneralRe: Hot to make transparent???? Pin
S K Y11-Mar-09 22:53
S K Y11-Mar-09 22:53 
GeneralRe: Hot to make transparent???? Pin
dan!sh 11-Mar-09 23:03
professional dan!sh 11-Mar-09 23:03 
GeneralRe: Hot to make transparent???? Pin
S K Y13-Mar-09 21:38
S K Y13-Mar-09 21:38 
AnswerRe: Hot to make transparent???? Pin
Pete O'Hanlon11-Mar-09 22:51
mvePete O'Hanlon11-Mar-09 22:51 
GeneralRe: Hot to make transparent???? Pin
S K Y11-Mar-09 23:24
S K Y11-Mar-09 23:24 
GeneralRe: Hot to make transparent???? Pin
Pete O'Hanlon12-Mar-09 1:31
mvePete O'Hanlon12-Mar-09 1:31 
JokeRe: Hot to make transparent???? Pin
0x3c012-Mar-09 1:41
0x3c012-Mar-09 1:41 
GeneralRe: Hot to make transparent???? Pin
Nagy Vilmos11-Mar-09 23:43
professionalNagy Vilmos11-Mar-09 23:43 
GeneralRe: Hot to make transparent???? Pin
Pete O'Hanlon11-Mar-09 23:58
mvePete O'Hanlon11-Mar-09 23:58 
JokeRe: Hot to make transparent???? Pin
Wes Aday12-Mar-09 5:03
professionalWes Aday12-Mar-09 5:03 
GeneralRe: Hot to make transparent???? Pin
Pete O'Hanlon12-Mar-09 5:46
mvePete O'Hanlon12-Mar-09 5:46 
QuestionRTF to PDF Pin
Mridang Agarwalla11-Mar-09 21:59
Mridang Agarwalla11-Mar-09 21:59 
AnswerRe: RTF to PDF Pin
Sun Rays11-Mar-09 22:03
Sun Rays11-Mar-09 22:03 

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.