Torna al Thread

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then _search.Value = Request.QueryString("_str1") _search1.Value = Request.QueryString("_str2") Carica_risultati(_search.Value, _search1.Value) End If End Sub Private ObjUtente As New PropertyUtente Private Loadsearch As New GestoreUtente Private Sub Carica_risultati(ByVal _str1 As String, ByVal _str2 As String) Dim lista As List(Of PropertyUtente) = Loadsearch.Search(_str1, _str2) Label1.Text = "Risultati trovati: " & CInt(lista.Count) RadListView1.DataSource = lista ----non uso il databind in quanto con il componente radlistview non serve perchè ha una proprietà diversa End Sub
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5