دوست عزيز
اينم كدي كه بايد با تلريك بنويسي : متغير ها رو مثل من تعريف كنيد .
int aaaaaaaaa;
private void Btn_Update_Click(object sender, EventArgs e)
{
aaaaaaaaa = Convert.ToInt32(radGridView.CurrentRow.Cells[0].RowInfo.Index);
DataContext.sp_update(Convert.ToInt32(radGridView.CurrentRow.Cells[0].Value.ToString()), radTextBoxname.Text, radTextBoxlastname.Text, radTextBoxAdress.Text, radTextBoxMobile.Text); radGridView.ClearSelection();
radGridView.DataSource = DataContext.Sp_SelectTelephone();
this.radGridView.Rows[aaaaaaaaa].IsCurrent= true;
MessageBox.Show("ويرايش شد");
}