views:

20

answers:

0

I have to retrieve data to the gridview with this query..

 string strSelectQuery = "SELECT REPLACE(TITLE, '\n', '<br />') TITLE, REPLACE(DESCRIPTION, '\n', '<br />') DESCRIPTION, "
                                    + "ANSWER, FK_OWNER_ID, CREATED_ON FROM M_QA WHERE PK_ID = "
                                    + intQuestionId + " AND IS_ACTIVE = 1";

it works fine in other browsers but when tested to IE7 I found that even if their is no answer in the database a symbol like <?> is populated in the gridview.Not only this, when any answer is too large it displays only the first character in the gridview.

Can anyone please help me out....