Is this meant to be a question ?
rajinivunnam wrote:
while (dr.Read()) { TextBox1.Text = dr[0].ToString(); TextBox2.Text = dr[1].ToString(); TextBox3.Text = dr[2].ToString(); TextBox4.Text = dr[3].ToString(); Rdbtnstatus.Text = dr[3].ToString(); Rdbtnverify.Text = dr[4].ToString(); Label1.Text = "already existed......"; }
How bizarre ? Why set the text in a textbox over and over again in a loop ? Why not just use the last value, the one you'll end up with ?
Your code is obviously a mess. I see at least five reasons why I'd fire anyone who wrote this code for me. However, if you have a question, you need to ask it. What's the issue ? Where is the issue ? What have you done to try to fix it ? What is this mess supposed to do ?