Author: jeppe_r | Posted on: 6/28/2008 5:15:29 PM | Views : 256

Hello there,
I'm creating some dynamic controls, where i'm getting some info from a db.
 - Thats working, but I dont know how to get the values from the dynamic created controls again, so i could save them in my database?
 This code am i using to create the controls (This get looped for each record in the db)

 
1 ' Connection
2 Dim str As String = System.Web.Configuration.WebConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString
3 Dim conn As SqlConnection = New SqlConnection(str)
4 conn.Open()
5
6 ' SQL-kommandoen
...

Go to the complete details ...