Question

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??

No correct solution

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top