Posted on: 7/15/2013 11:24:51 PM | Views : 226

Hi,
I have table whit 12 record,
I want insert this record in A Textbox (multiline), How i do? how change this code?
Dim constr As String = ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString Dim con As New SqlConnection(constr) Dim cmd As New SqlCommand("se1", con) cmd.CommandType = CommandType.StoredProcedure cmd.Parameters.Add(New SqlParameter("@fire", "101")) con.Open() Dim dr As SqlDataReader dr = cmd.ExecuteReader() dr.Read() TextBox2.Text = dr(???????) con.Close() dr.Close()
...

Go to the complete details ...