This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - How to show Retrieved value into MessageBox (like alert in javascript)...........???

jagdish - Thursday, September 6, 2012 7:13 AM:

hello all,

i have a  C# code like below and i want to show value of result as a string in the messageBox (like alert in javascript)

i want to know value of the string that  retrieved by this query 

how to accomplish this.  please help me.................................??? 

string sql = "SELECT NAME FROM [FILETYPE]";

sql += "WHERE EXTENSION LIKE '%''" +ext+"''%'"; 

Item result = inn.applySQL(sql1);

string ext1 = result .getItemByIndex(0).ToString();

 To show retrieved value i tried this code line below................but its showing only blank popup without any value.

if(ext1 != null){return inn.newError(ext1);}