I have a SQL 2000 table with two varchar(50) string columns:
SEARCHCOLUMN VALUECOLUMN
ABC This is an example text
DEF getMyValue("TABLENAME1")
I have some code using SQL DataReader that searches for value "DEF"
and returns "getMyValue("TABLENAME1")"
My problem is how can I return basically
getMyValue("TABLENAME1")
instead of a string text of
"getMyValue("TABLENAME1")"
I am interested to have the function
getMyValue("TABLENAME1")
get executed and return me string value of "5" for example.
getMyValue being another C# function in my code.
Am I explaining properly what I want?
I appreciate your help.
Thank you