0
How to retrive or enabled Radio Button from database in c# using window forms?
When i use textbox they successfully working like this padd.txtCustomerName.Text = this.dtvContacts.CurrentRow.Cells[20].Value.ToString(); but how to apply in Radio Button. padd.rbtLOI.Text = this.dtvContacts.CurrentRow.Cells[5].Value.ToString(); Kindly help me in above example.
1 ответ
+ 2
Hello Guys I solved the issue as per below code
if(this.dtvContacts.CurrentRow.Cells[5].Value.ToString() == "LOI")
{
padd.rbtLOI.Checked = true;
}
else
{
padd.rbtPO.Checked = true;
}