Posted on: 3/23/2011 12:02:37 PM | Views : 242

hi
 
 
 
I was Make code to select top 3 record from db and I wont to enter every  record in label  or textbox
 
 
 
this is my code

 
mycon.Open() Dim sqlselect As String sqlselect = "Select Top 3 * from *** where deal_id='1' and ****='1'" Dim cmd As New SqlCommand(sqlselect, mycon) Dim rdr As SqlDataReader = cmd.ExecuteReader While rdr.Read lblcobon.Text = rdr.Item(1).ToString End While mycon.Close()
...

Go to the complete details ...