Hi
Can anyone show me how can i display a Label with some Text during the fill of a DataSet
Let´s say that a User makes a Search that sends him to another page to find the results
Now while the Dataset is filled a Label with some text appears then when dataset is done Label is gone and Datagrid appears
Thanks in advance
This is part of the code for the Result page :
[edit]Inserted
Can anyone show me how can i display a Label with some Text during the fill of a DataSet
Let´s say that a User makes a Search that sends him to another page to find the results
Now while the Dataset is filled a Label with some text appears then when dataset is done Label is gone and Datagrid appears
Thanks in advance
This is part of the code for the Result page :
Visual Basic:
Dim strConn As OleDbConnection = New OleDbConnection(ConfigurationSettings.AppSettings("MyConn"))
Dim strSQL As String
strConn.Open()
strSQL = "SELECT id,brand,catg,foto,ref,descrabrv FROM products WHERE ref LIKE '%" & Search & "%' ORDER BY ref ASC"
Dim cmd As New OleDbCommand(strSQL, strConn)
cmd.Parameters.Add("@ref", Search)
Dim adatp As New OleDbDataAdapter
adatp = New OleDbDataAdapter(strSQL, strConn)
Dim daSet As New DataSet
adatp.Fill(daSet)
rstDG.DataSource = daSet
rstDG.DataBind()
strConn.Close()
[edit]Inserted
Visual Basic:
tags [/ vb] and removed multiple line spacing[/edit][/COLOR]
Last edited by a moderator: