Posted on: 9/28/2012 4:56:16 AM | Views : 184

i have used this code  but it doesnt work 
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ReadMore.aspx.cs" Inherits="ReadMore" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" > <Columns> <asp:BoundField DataField="comments" HeaderText="comments" SortExpression="comments" /> </Columns> <EmptyDataTemplate> <asp:Label ID="lblDescription" runat="server" Text='<%# Limit(Eval("comments"), 10)%>' Tooltip='< ...

Go to the complete details ...