Hi Friends,
Generally we used to concatenate sometime as follows in coding.
c1.Open()
cmd = New SqlCommand("select * from tblintroimg order by id", c1)
dr = cmd.ExecuteReader
While dr.Read
str = str & "<li><a href='#'><img src='intropageimg/" & dr("imgname") & "' alt='' /></a></li>"
End While
cmd.Dispose()
c1.Close()
label1.text=str
I like to do the same thing using strored procedure.
i mean concatenating the string str and displaying in label1
regards,
Thiru