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.

31st Oct 2018, 5:45 AM
vinay divecha
vinay divecha - avatar
1 Resposta
+ 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; }
31st Oct 2018, 7:53 AM
vinay divecha
vinay divecha - avatar