my aspx page...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="Search" %>
 
 
 
 
 
 
 
 
onclick="Button1_Click" />
onclick="Button2_Click" />
 
AllowSorting="true" DataSourceID="dsDetails" Width="100%" class="grid-bg" DataKeyNames="mobile" >
<%----%>
Text='<%# Eval("name") %>' />
Coding page..
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
using System.Text.RegularExpressions;
public partial class Search : System.Web.UI.Page
{
private string SearchString = "";
protected void Page_Load(object sender, EventArgs e)
{
}
public string HighlightText(string InputTxt)
{
string Search_Str = txtSearch.Text;
// Setup the regular expression and add the Or operator.
Regex RegExp = new Regex(Search_Str.Replace(" ", "|").Trim(), RegexOptions.IgnoreCase);
// Highlight keywords by calling the
//delegate each time a keyword is found.
return RegExp.Replace(InputTxt, new MatchEvaluator(ReplaceKeyWords));
}
public string ReplaceKeyWords(Match m)
{
return ("" + m.Value + "");
}
protected void Button1_Click(object sender, EventArgs e)
{
SearchString = txtSearch.Text;
}
protected void Button2_Click(object sender, EventArgs e)
{
txtSearch.Text = "";
SearchString = "";
gvDetails.DataBind();
}
}
 
 
i want to know how i can find out that how many time a person click on show detail link.. plz help me out.. its really urgent.. plz plz.