Read Build Your Own ASP.NET 3.5 Website Using C# & VB Online
Authors: Cristian Darie,Zak Ruvalcaba,Wyatt Barnett
Tags: #C♯ (Computer program language), #Active server pages, #Programming Languages, #C#, #Web Page Design, #Computers, #Web site development, #internet programming, #General, #C? (Computer program language), #Internet, #Visual BASIC, #Microsoft Visual BASIC, #Application Development, #Microsoft .NET Framework
Cassini,
169
Click event handler
, 103,
232,
234,
259,
permissions,
597
Catch block, 222,
223
,
224
,
225,
370,
Click subroutine,
92
client-side validation, 228,
229
CausesValidation,
236
and ASP
.NET 2.0, 231
CC (email messages),
620
CEILING function,
329
ClientValidationFunction proprety,
252
ChangeExtension method,
614
code-behind files,
86–93,
138,
163
separation of presentational elements
ChangePassword control,
586
(controls) and your code,
86
char (C#),
56
code declaration blocks,
27,
30–32
code within,
33
comments in VB and C# code, 31–32
language attribute,
32
src attribute,
32
CheckBoxList control, 115,
116
,
663
Code Editor
, 163–165
code render blocks, 27
,
33–34,
86
CheckUniqueUserName method, 252
types of,
33
CircleHotSpot control,
112
collections,
178
access modifiers,
81
ColumnNameSortOrder,
537
definition,
76
for working with directories,
596
, 608
for working with files,
596
adding new,
504
choosing,
493
Licensed to [email protected]
713
customizing in GridView,
453–454
displaying selected,
455
ContentPlaceHolder
, 207
ContentPlaceHolder control, 143
,
146
, read-only,
479
640
ContentT
ype, 616
control binding,
382
company newsletter page
control events,
46–51
CompareV
alidator control, 240–243,
679
subroutines,
50–51
difference from RequiredFieldValidatControl Toolkit
ASP.NET AJAX,
648–655
ControlID,
646
ControlID field,
646
to compare value of control to a fixed
ControlToCompare property
, 241
ControlToValidate property,
239
,
241
values,
242
Convert this field into a TemplateField
Convert to T
emplate option, 588
conditionals,
67
cookieless attribute,
561
configuration errors,
218
configuration file
elements,
174
configuration section groups,
174
COUNT function,
334
configuration section handler declaraCreate code in a separate file checkbox,
configuration settings,
175
ConfigurationManager class, 381,
578
CreateUserW
izard control, 586
Configure Data Source, 492,
499
,
511
creating users and roles,
579–580
connection string, 351
,
352
,
380,
520,
CSS,
636
(
see
Cascading Style Sheets)
in Web.config,
380
CssClass property,
152–154
current databases,
269
constraints,
279
customErrors,
220
Licensed to [email protected]
714
CustomValidator control,
249–252,
680
data source controls,
488–515
binding the DetailsView to SqlData
D
data
binding the GridView to a SqlDatafiltering,
542
reading (ADO.Net),
359–360
displaying lists in DetailsView,
511–
data access code
in the Visual Web Developer’s Toolbulletproofing,
368–370
data store
customizing,
571
and sorting,
537
DataSet to GridV
iew control, 530
data tables
DefaultView does not apply when
in ADO.NET 2.0 and later versions,
DetailsView to a SqlDataSource,
499–
populating,
286–289
for creating drop-down lists, 383
GridV
iew to a SqlDataSource, 490–498
avoid mixing of,
57
converting from one type to another,
data consumer,
381
data key,
464
database,
349
Data Lists, displaying content using,
adding stored procedures, 414–415
column properties,
276–278
disadvantages,
516
using SQL Server Management
retrieving data using,
517
data sets,
516
using Visual Web Developer,
267
advantages over data readers,
517
breaking ties to data source, 517
inserting records,
388–394
component parts,
518–519
primary keys,
278–280
memory and resource requirements,
setting the owner
, 358
updating from a modified DataSet,
shared among multiple requests,
516
storing in View State,
528–530
data source,
381
what is it?,
264–266
testing,
494
Licensed to [email protected]
715
database authentication
relationships between tables, 272,
setting up,
356–358
database connection
defining,
351–352
database design,
270–271
DataColumn class,
518
and implementation,
272
DataField property,
454
delete anomaly,
271
DataKeyNames property,
465
overcoming problems,
271
and Visual Web Developer
, 439–440
relational database concepts,
289–305
generation of ItemCommand event,
update anomaly,
271
handling buttons within their temadding support for
, 294
and table relationships, 301–305
to create foreign keys,
294
styling,
441–443
to provide visual representation of
tables in the database,
294
DataList events,
422–430
visualizing data tables using, 297
using controls within,
428
DataList items
editing,
430–438
DataList templates,
421
,
430–439
building visually
, 439
Database field,
572
DataRelation class,
518
Database name field,
269
DataRow class,
518
database protection,
550
DataSet mode,
514
Database Publishing Wizard,
702
database server,
264
DataSets
adding DataTable to,
523
binding to controls,
519–525
for storing lists of categories and subdifference from databases,
519
jects,
382
filling with data,
523
inserting data and identity columns,
structure,
519
updating a database,
543–547
Datasheet View
, 286
Licensed to [email protected]
716
DataSource,
611
DEFAUL
T property (columns), 277
DataSourceMode,
514
default validation groups, 255
DataT
able class, 488
,
518
DataTable object,
515
default web form,
162
DataTables,
525
deleting,
205
displaying data from in a GridView,
editing,
164
DataTypeCheck,
243
DefaultView
DataV
iew class, 488,
518
,
542
does not apply when binding to a
DataV
iew object, 515,
532
DataSet,
531
Delete Employee button,
411
,
412
DATEADD function,
332
DATEDIFF function,
332
date-of-birth text box,
242,
244
DeleteCommand property
, 543
DATEP
ART function, 333
deleting database records,
410–414
dates
specifying,
243
denying user access,
562
,
563,
564,
583
Department drop-down list,
511
Department ID TemplateField,
512