Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Sir,
Whenever we give answer of anybody or ask question as by giving in which part of code we are getting error in code project we convert or edit that code in HTML text I have tried number of times but in my case the code never convert it comes with the text.

like

public void fillgrid()
{
DataTable dt = new DataTable();
dt = Employee.selectgrid();
grdArea.DataSource = dt;
grdArea.DataBind();
}
Why don't it changed as other developers do

C#
public void fillgrid()
      {
            DataTable dt = new DataTable();
            dt = Employee.selectgrid();
            grdArea.DataSource = dt;
            grdArea.DataBind();
      }



Please help me all senior's

A Special help I need
Posted
Updated 14-Dec-11 1:54am
Comments
Amir Mahfoozi 14-Dec-11 10:19am    
May be Javascript is disabled in your browser.
Smithers-Jones 15-Dec-11 7:41am    
No, it's not. Please read my answer below.

1 solution

Because you didn't uncheck the checkbox labeled "Treat my content as plain text, not as HTML" below the textbox for the question. That's why. I edited your question and unchecked it and now it works.
 
Share this answer
 
Comments
[no name] 14-Dec-11 8:12am    
correct 5+

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900