Posted on: 9/15/2014 8:35:34 AM | Views : 487

I have a IQ test program
where i have questions to display in Label1 and answers yes or no in button.
After clicking yes or no button the label should show next question.

My Code:
SqlConn.ConnectionString = Constr
SqlConn.Open()
cmd.CommandType = CommandType.Text cmd.CommandText = "Select * from IQ"
cmd.Connection = SqlConn Dim ds As New DataSet cmd.Connection = SqlConn da.SelectCommand = cmd da.Fill(ds, "pub") Dim dtData As New DataTable da.Fill(dtData)
Label1.Text = dtData.Rows(0).Item(1).ToString

Please guide me Regarding and i am using asp.net vb version 2010.

--Thanks 

Go to the complete details ...