vivekagrawal -3 Light Poster

I have two radio buttons of male and female, datetimepicker and picturebox. I want to retrieve data in these controls using sql table.


for the texbox and combobox i m using this code but for above contriles this is not applicable..

while (dtRdr.Read())
                {
                    txtdoctorid.Text = Convert.ToInt16(dtRdr[0]).ToString();
                    txtdoctorname.Text = Convert.ToString(dtRdr[1]).ToString();
                    txtfathername.Text = Convert.ToString(dtRdr[2]).ToString();
                    cbospecialist.Text = Convert.ToString(dtRdr[4]).ToString();
                    txtqualification.Text = Convert.ToString(dtRdr[5]).ToString(); 
                }

But any tell me for above controls....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.