JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Index

E

early binding, 537, 559. See also binding; inheritance; late binding.
EasyAccess coding example
creating datasets, 861–871
Server Explorer, 838
EditCommand event, DataList class, 1003
EditCommand method, DataGrid class, 999
editing HTML. See HTML Editor.
EditItemIndex property
DataGrid class, 998
DataList class, 1002
EditItemStyle property
DataGrid class, 998
DataList class, 1002
EditItemTemplate property, DataList class, 1002
e.Link.LinkData.ToString method, LinkLabel class, 246–247
ellipses, Painter coding example, 582–583
ElseIf statements, If...Else statements, 94–95
embedding VB code in Web pages, 652–654. See also Web forms.
EmbeddedVB coding example, 652–654
onclick attribute, 653
runat attribute, 653
EnableClientScript property, ValidationSummary class, 792
Enabled property
BaseValidator class, 782
Button class, 266
Control class, 210
Form class, 157
MenuItem class, 381, 391, 398
Splitter class, 357
TextBox class, 224
Timer class, 341, 372, 373
ToolBarButton class, 461
Web server controls, 668–669
WebControl class, 661
WindowState property, 196
EnabledChanged event, Control class, 212
EnabledClientScript property, BaseValidator class, 782
EnableRaisingEvents property, EventLog class, 1081
EnableViewState property, System.Web.UI.Control class, 659, 660
encapsulation
new features of Visual Basic .NET, 20
OOP (Object-Oriented Programming), 485
Encoding property, StreamWriter class, 594
Enctype property, HtmlForm class, 820
End key, SendKeys key codes, 203
End Module keyword, Module statements, 501
End property, MonthCalendar class, 338–339, 367
End Set keyword, properties, 133
End statements, 107
End Sub keyword, Sub procedures, 125
EndCap property, Pen class, 579
EndEdit method
DataGrid class, 915
DataRow class, 954
ListViewItem class, 453
TreeNode class, 445
EndInit method
DataSet class, 947
DataTable class, 952
EventLog class, 1082
StatusBarPanel class, 467
EndLoadData method, DataTable class, 952
EndPrint event, PrintDocument class, 415, 418
EndRead method, FileStream class, 590
EndUpdate method
CheckedListBox class, 309
ComboBox class, 293, 315
ListBox class, 290, 296
ListView class, 452
TreeView class, 444, 449
EndWrite method, FileStream class, 590
EnforceConstraints property, DataSet class, 947
EnsureVisible method
ListView class, 452
ListViewItem class, 453
TreeNode class, 445
Enter event
Control class, 212
Form class, 160
Enter key, SendKeys key codes, 203
Entries property, EventLog class, 1081
EntryWritten event, EventLog class, 1082
Enum statements, 72–73
Equals method
Control class, 211
DateTime class, 338
Err object, 142–143. See also exception handling.
Description property, 142–143
Number property, 142–143
Raise method, 143–144
Source property, 143
unstructured exception handling, 139–140
Error event
Page class, 644
TemplateControl class, 1040
ErrorMessage property
BaseValidator class, 782
RangeValidator class, 787
RegularExpressionValidator class, 788
RequiredFieldValidator class, 783
ErrorPage property
Page class, 643
Web forms, 647
ErrorProvider class, 923–924. See also binding controls to databases.
BindToDataAndErrors method, 924
BlinkRate property, 923
BlinkStyle property, 923
ContainerControl property, 923
DataMember property, 923
DataSource property, 923
GetError method, 924
GetIconAlignment method, 924
GetIconPadding method, 924
Icon property, 923
public methods, 924
public properties, 923
SetError method, 924
SetIconAlignment method, 924
SetIconPadding method, 924
UpdateBinding method, 924
errors, handling. See exception handling.
Esc key, SendKeys key codes, 203
e.ToString method, structured exception handling, 120–121
event handling
Click event, 165
client, 639–642
creating Web applications, 622–624
DateTimePicker class, 362–364
forms, 164–165
keyboard events, 201–203
ListView class, 457–458
MonthCalendar class, 367–368
mouse events, 199–201
NotifyIcon class, 370–371
scroll bars, 346–348
StatusBarPanel class, 470
Timer class, 373–375
ToolBar class, 462
TreeView class, 447
Event statements, 510–513. See also OOP (Object-Oriented Programming).
arglist keyword, 511
attrlist attribute list, 510–511
eventname keyword, 510
Events coding example, 511–513
Friend keyword, 510
interfaceeventname keyword, 510
interfacename keyword, 510
Private keyword, 510
Protected Friend keyword, 510
Protected keyword, 510
Public keyword, 510
Shadows keyword, 510
EventLog class, 1081–1082. See also Windows services.
BeginInit method, 1082
Clear method, 1082
Close method, 1082
CreateEventSource method, 1081
Delete method, 1081
DeleteEventSource method, 1081
EnableRaisingEvents property, 1081
EndInit method, 1082
Entries property, 1081
EntryWritten event, 1082
Exists method, 1081
GetEventLogs method, 1081
Log property, 1081
LogDisplayName property, 1081
LogNameFromSourceName method, 1081
MachineName property, 1081
public events, 1082
Source property, 1081
SourceExists method, 1081
WriteEntry method, 1081, 1082
EventLog objects, WindowsService coding example, 1059, 1060, 1061
EventLog property, ServiceBase class, 1080
eventname keyword, Event statements, 510
events, 483, 510–513
adding to user controls, 1038–1039
adding to Web user controls, 1043–1044
AdRotator class, 797
BaseDataList class, 998
Binding class, 907
Button class (WebControl class), 674
Calendar class, 794
CheckBox class, 273
CheckBox class (WebControl class), 705
CheckBoxList class (WebControl class), 712
CheckedListBox class, 309
class (shared), 513
ColorDialog class, 413
ComboBox class, 315
ContextMenu class, 404
Control class, 212–213
ControlBindingsCollection class, 906
creating, 510–513
CustomValidator class, 790
DataGrid class, 916
DataList class, 1003
DataSet class, 948
DataTable class, 953
DateTimePicker class, 362
DbDataAdapter class, 944
EventLog class, 1082
FontDialog class, 411
Form class, 160–161
HScrollBar and VScrollBar classes, 343
HtmlAnchor class, 822
HtmlButton class, 823
HtmlInputButton class, 824
HtmlInputCheckbox class, 828
HtmlInputHidden class, 827
HtmlInputImage class, 825
HtmlInputRadioButton class, 828
HtmlInputText class, 821
HtmlSelect class, 826
HtmlTextArea class, 822
ImageButton class (WebControl class), 746
keyboard, 201–203
LinkButton class (WebControl class), 763
LinkLabel class, 242
ListBox class, 296, 300–301
ListControl class (WebControl class), 710
ListView class, 452
MenuItem class, 392
mouse, 199–201
NotifyIcon class, 369
OleDbConnection class, 940
OleDbDataAdapter class, 945
OOP (Object-Oriented Programming), 483
OpenFileDialog class, 407
Page class, 644
PageSetupDialog class, 424
PictureBox class, 326
PrintDialog class, 418
PrintDocument class, 415
RadioButton class, 277
RadioButton class (WebControl class), 714
RadioButtonList class (WebControl class), 720
Repeater class, 1005
RichTextBox class, 231
SaveFileDialog class, 409
ServiceInstaller class, 1084
ServiceProcessInstaller class, 1083
Splitter class, 357
SqlConnection class, 941
SqlDataAdapter class, 946
StatusBar class, 466
System.Web.UI.Control class, 660
System.Windows.Forms.UserControl class, 1036
TemplateControl class, 1040
TextBox class, 221
TextBox class (WebControl class), 680
Timer class, 372
ToolBar class, 460
ToolTip class, 371
TrackBar class, 359
TreeView class, 444
Events coding example, 511–513. See also Event statements.
RaiseEvent method, 512
ThreeClick event, 511–513
WithEvents keyword, 512
Exception class, Catch blocks and, 148–149
exception filtering, Catch blocks, 148–149
exception handling, 118–121, 137–152
ApplicationException object, 152
Catch blocks, 148–149
Err object, 142–143
Finally statements, 145, 146, 151
multiple Catch statements, 150
overview, 118
Raise method, 143–144
structured, 120–121, 144–147
Throw statements, 151–152
unstructured, 118–119, 137–142
exceptions, defined, 118
executable statements, 61, 62. See also statements.
ExecuteNonQuery method
OleDbCommand class, 932, 942
SqlCommand class, 943
ExecuteReader method
OleDbCommand class, 932, 942
SqlCommand class, 943
ExecuteScalar method
OleDbCommand class, 932, 942
SqlCommand class, 943
ExecuteXmlReader method, SqlCommand class,943
Exists method
Directory class, 602
EventLog class, 1081
File class, 601
Exit For keyword, For loops, 99
Exit Sub keyword, Sub procedures, 125
Exit Sub statements, unstructured exception handling, 119, 138–139
Expand method
DataGrid class, 915
TreeNode class, 445
TreeView class, 432
ExpandAll method
TreeNode class, 445
TreeView class, 432, 444
Expression property, DataColumn class, 955
expressions
converting to strings, 88
Switch function, 97
Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor