I have table white 10 records,
And whit your help, i use this code for merg all recordes in A textbox whit multiline,
Dim constr As String = ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString
Dim con As New SqlConnection(constr)
Dim cmd As New SqlCommand("keyse1", con)
cmd.CommandType = CommandType.StoredProcedure
cmd.Parameters.Add(New SqlParameter("@fire", "101"))
con.Open()
Dim dr As SqlDataReader
dr = cmd.ExecuteReader()
While dr.Read()
TextBox2.Text += dr("key1").ToString() + Environment.NewLine
End While
dr.Read()
con.Close()
dr.Close()
I want save changes of multiline textbox in the table whit 10 records,
How i do?
Please help me?
...
Go to the complete details ...