Download presentation
Presentation is loading. Please wait.
Published byTero Keskinen Modified over 6 years ago
1
Графическое проектирование структуры базы данных
2
DataBindings TextBox ComboBox Label ListBox Calendar CheckBox
RadioButton DataGrid PictureBox
3
BindingContext CurrencyManager Position
4
txtFirstName.DataBindings.Add (“Text”,dsEmployeeInfo,”Employee.fname”)
txtLastName.DataBindings.Add (“Text”,dsEmployeeInfo,”Employee.lname”) ME.BindingContext(dsEmployeeInfo,” Employee”).Position+=1
5
Связанный элемент управления Простые связанные элементы
Сложное связывание Label TextBox DataGrid ListBox ComboBox
6
DataGrid1.DataSource=dsTitleAuthor DataGrid1.DataMember=”Titles”
7
Элемент управления DataGrid
Свойства элемента: .DataSource .DataMember OleDbDataAdapter1.Fill(DsInstructors1)
8
PreferredColumnWidth
Свойства элемента управления DataGrid CaptionText CaptionFont Anchor Top, Bottom, Left, Right AllowSorting true, false ReadOnly PreferredColumnWidth ColumnHeadersVisible BackColor BackgroundColor HeaderBackColor GridLineColor
9
Источники данных: Класс DataTable Класс DataView Класс DataSet Класс DataViewManager
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.