If you want to display only single record in messagebox you can display it like below:-
MessageBox.Show("Eid:{0}, Ename:{1}, Esalary:{2}",ds.Tables[0].Rows[0]["Eid"].ToString(),ds.Tables[0].Rows[0]["Ename"].ToString(),ds.Tables[0].Rows[0]["Esalary"].ToString());