It would be helpful if you give some code sample showing what you are doing, and what you are expect.
You can find usefull information here: Embedded Code Blocks in ASP.NET Web Pages
Domanda
I have an ASP.NET Page Control in GridView. it works normally but I want to add in bottom of the page an expression which gives knowlegde about which datas are shown. I added the page codes in gridview tags : this works normally but I want to add expression. How can I add a dynamic expression using C# server side codes??
Nessuna soluzione corretta
Altri suggerimenti
It would be helpful if you give some code sample showing what you are doing, and what you are expect.
You can find usefull information here: Embedded Code Blocks in ASP.NET Web Pages
Use for Example
<div>
From <%# DateTime.Now.ToString() %> to <%# DateTime.Now.AddDays(1).ToString() %>
</div>
Or try such way : http://www.w3schools.com/ASPnet/showfile_c.asp?filename=try_webpages_cs_001