i am using this code to fill my datalist:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim myConnection As SqlConnection
Dim myCommand As SqlDataAdapter
myConnection = New SqlConnection("mydb")
myCommand = New SqlDataAdapter("SELECT * FROM Posts", myConnection)
Dim ds As DataSet = New DataSet()
DataList1.DataSource = ds
it works and fills the datalist with the whole table..
when this page opens the address bar is like "www.example.com/threads.aspx?thread ID=123"
i would like the datalist to show all contents in the table with this specific thread ID.. thank you in advance :)
View Complete Post