<TextBox x:Name="search_box" Margin="60,20,0,0" RelativePanel.AlignBottomWithPanel="True" PlaceholderText="Search first Name" Height="40" Width="200" TextChanged="search_box_TextChanged">
<ListView.ItemTemplate > <DataTemplate x:DataType="local:studentitem" x:DefaultBindMode="TwoWay" > <StackPanel Orientation="Horizontal" > <TextBlock x:Name="fname" RelativePanel.AlignVerticalCenterWithPanel="True" RelativePanel.AlignTopWithPanel="True" Width="150" Text="{Binding FirstName}" Foreground="Gray" FontSize="16" Margin="20,0,10,0" />
public static List<StudentItem> getallstudent(Int64 Id) //etc code..! SqliteDataReader query = selectCommand.ExecuteReader(); while (query.Read()) { var e_item = new studentitem(); e_item.ID = query.GetInt64(1); e_item.FirstName = query.GetString(2); e_item.LastName = query.GetString(3); e_item.DOB = query.GetString(4); studentABC.Add(e_item);
DataAccess
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)