I have solve this problem.i took 2 web pages,and at the first page i have a gridview with
AutoGenerateSelectButton True and on the second Page i took a
textbox and write the following code...
protected void Page_Load(object sender, EventArgs e)
{
GridView gvEmployee = (GridView)PreviousPage.FindControl("gvEmployee");
int index = gvEmployee.SelectedRow.RowIndex;
txtEmpName.Text = gvEmployee.Rows[index].Cells[2].Text;
}
Using the above code you can get the selected row column on the other page.
thanks....