hiiii.......
use this to get the gridview textbox value
if (dataGrid1.SelectedItems.Count > 0)
{
for (int i = 0; i < dataGrid1.SelectedItems.Count; i++)
{
System.Data.DataRowView selectedFile = (System.Data.DataRowView)dataGrid1.SelectedItems[i];
strdata = Convert.ToString(selectedFile.Row.ItemArray[1]);
strdata1 = Convert.ToString(selectedFile.Row.ItemArray[2]);
}
}