Use the Following Code:
private void NavigateRecords()
{
dRow = _ds.Tables[0].Rows[Inc];
tbUserId.Text = dRow.ItemArray.GetValue( 1 ).ToString();
tbPrimeLoc.Text = dRow.ItemArray.GetValue( 2 ).ToString();
tbUserName.Text = dRow.ItemArray.GetValue( 3 ).ToString();
tbEmail.Text = dRow.ItemArray.GetValue( 4 ).ToString();
tbDob.Text = dRow.ItemArray.GetValue( 5 ).ToString();
tbEmpId.Text = dRow.ItemArray.GetValue( 6 ).ToString();
string str="";
str = dRow.ItemArray.GetValue(7).ToString();
if (str == "M")
{
cboMale.Checked = true;
cboFemale.Checked = false;
}
else
{
cboMale.Checked = false;
cboFemale.Checked = true;
}
}