Author: kavi_shun | Posted on: 5/3/2010 2:00:42 PM | Views : 488

Today is the first day that I am trying to write something in ASP.Net using VB.net
 
I wanted to show some product details in the page based on the product category. I am able to show the records in the web page, but whenever I load the data, the textbox and search button is vanishing and I can see only the records in the page
 
see my code
Dim Connstr As String Connstr = "Data Source=SRV-TEST;Initial Catalog=LPDS;Integrated Security=True" Dim SqlConnection As New SqlConnection(Connstr) SqlConnection.Open() Dim i As Integer = 0 Dim mycommand As New SqlCommand("Select * from tblAlbums", SqlConnection) Dim myreader As SqlDataReader myreader = mycommand.ExecuteReader() Do While myreader.Read() ' Person's full name Response.Write("<p><b>" & myreader(&q ...

Go to the complete details ...