Ban

Antechinus C# Programming Editor, 301 assignment statements, 292 case sensitive, 35 case statements, 293 class file, 34 code, 38-39 comments, 292 compiler, 36-37 components, 177, 188 concatenate strings, 52-53 examples of, 292 exception handling, 295 file, 34, 37 FOR Loops, 293 handling, 62 if...else statements, 292 namespace aliases, 34 object reference, 295 operators, 297-299 parameters, 294 Request.Form, 194 runtime error, 41 -42 script blocks, 276 source file, 176, 180, 184 statement, 63 text editor, 34 types, 296 variables, 40-43 WHILE Loops, 293 writing applications, 34-35 cache data, 209 expiration, 209 pages, 206-207 calendar control, 105, 121 Culturelnfo, 265 dates, 104-105 Web server, 121 CD-ROM, 3, 24 batch files, 177 contents of, 300-301 Forms Authentication, 257 Globally Unique Identifier (GUID), 89

table cell example, 109 Web services parameters, 157 Windows Authentication, 253 check box, 27, 91

CLR (Common Language Runtime), 3, 274

CLS (Common Language Specification), 274-275, 283

code application, 213 business services, 2 cache, 179 client-side, 92 Code-behind, 192 commenting, 38 components, 65 conditional statements, 46 creating, 176, 180, 186 data access, 136, 184, 190 delimiters, 277 embedded, 50 encapsulating, 65 errors, 62

event handler, 33, 99 formatting, 38-39 full source, 187 Global.asax, 221 HTML, 28 insert, 137 label control, 110 managed, 178 methods, 58, 60 migrating, 64 modifying, 110 optimizing, 48 presentation, 184, 186

server-side, 28, 33, 132, 141-142, 192, 196, 276 session, 213 structuring, 48 templates, 32, 73, 108, 130 tracking, 249 transactional, 190 Unicode, 262 validation, 183 Web application, 186 writing, 190 Code-behind, 25, 192, 193

collections, 225 ies, 248 lefinition of, 56 enumerating, 56 headers, 248 loop, 108

Common Language Runtime (CLR), 3, 274 Common Language Specification (CLS), 274-275, 283 Common Type System (CTS), 42 compiler, 36-37 components .COM, 179 .NET, 179 business, 188, 190 control, 183 creating simple, 179 data access, 186 definition of, 176, 178 multiple, 179 simple, 176-178 stateful, 180-183 stateless, 180 Web page, 182 Web service, 182 Computer Management Console, 23 conditional statements, 46 configuration, 3, 17-18, 25 application, 236 custom, 240-241 events, 32 HTML, 194 session state, 227 setting, 238-239 tracing, 250 URL, 213 connection object, 134 string, 185 console application conversions, 64-65 client, 174-175 container control, 111-113 control

ActiveX, 202 bound, 134 calendar, 121 container, 111-113

creating, 111 data, 127, 132, 190 DataGrid, 127, 140-141, 144 DataList, 127 declaring, 118 editing, 132

hiding specific group, 111 HTML, 66-67 naming, 110-111 page, 132, 268-269 providing a container, 111 Repeater, 127-129 Server, 2

server-side, 30, 77, 279 sorting data, 132 specifying, 118 stateful components, 183 TableCell, 108 TableRow, 108 tree, 248

two equal values, 119 using placeholder, 111 validation, 118, 120, 122, 124 Web page, 134 Control Panel, 4, 14, 18, 20-23 conversions, 55

console application, 64 explicit, 54, 63 implicit, 54 cookies, 207

authentication, 261 collection, 248 creating, 230-233 definition of, 211 expiration date, 231 Forms Authentication, 256 Internet Information Server (IIS) MMC, 230 subkeys, 232-233 Web browser, 231 credentials, 258-259 CTS (Common Type System), 42 culture, 264, 265, 266, 267, 268, 269, 272 CultureInfo, 264, 265 custom configuration, 240-241 error handling, 244-246 modules, 211 settings, 240-241 customer order system, 144

data. See also data access alternating rows, 128 binding, 129, 132, 140, 279 cache, 208 checking, 120 control, 133 defining layout, 128 deleting, 138-139

double-type, 120

editing control, 132

enhance viewing, 133

filtering, 142

footers, 128

formatting, 130

headers, 128

inserting, 134

integer-type, 120

layer, 188-189

list, 187

posting, 92

reading, 194

repeating, 128

separate rows, 128

shared, 166

sorting, 132, 140-141

SQL, 132-137

stores, 146, 190, 208

string, 120

transporting, 146

types, 42-43

data access, 2, 166 code, 136, 184, 190 command, 126-127 components, 186 connection, 126 controls, 126 DataAdapter, 127 DataGrid, 127 DataList, 127 definition of, 126 disconnected, 147 introduction to, 126 layer, 188-189 Repeater, 127

database accessing, 3

establishing connection, 134 inserting data, 134 DCOM (Distributed Component Object Model), 150 debugging, 239, 248

page-level, 242-243 default document, 14 delete data, 138

SQL database, 139 Web page, 200 delimiters, 277 desktop shortcuts, 21 DHTML, 72 directives application, 216-217 assembly, 216-217 Global.asax, 216-217 import, 216 page, 216, 281, 284 processing, 218 directory. See also Active Directory default

Internet Information Server (IIS), 14 home, 8, 9, 10, 13 Internet Information Server (IIS), 12 removing, 11 root, 250

Disco (Web Services Discovery), 150, 174 Distributed Component Object Model (DCOM), 150 DIV, 198 DLL

/bin directory, 178 source code, 176 drop-down list, 27, 79, 82, 116 input, 102-103 validating, 117

sending, 204-205 SMTP server, 204 text format, 205 ECMAScript, 287

INDEX

ci

encoding attributes, 263 file, 262 languages, 262

response, 262

UCS Transformation Format (UTF-8), 262 enumeration constant value, 161 creating, 160 error, 62

custom handling, 244-246 details, 242-243, 247 handling programmatically, 246, 247 message, 116, 239 query, 245

stored procedure, 142 summarizing validation, 124 troubleshooting, 244 validation, 124

Web page, 200 Web server, 238, 239 event, 45

application, 220

handler, 32-33, 64, 93-94, 99, 104, 192-193, 212, 214, 224, 226

Global.asax, 220-221 procedure, 140 server-side, 106 exceptions, 63 expressions regular, 122-123 validating, 122-123

File Transfer Protocol (FTP) Server, 5 files batch, 177 converting, 273 copying into Web server, 178 describing data, 146 name, 14, 24, 25

C#, 37 nonbinary text, 146 saving, 25 sending, 88 uploading, 88-89 XML, 114

flag, 138 footer, 130 form adding controls, 111 attributes, 69 button, 70-71 comparing two fields, 118 event handler, 193 hidden information, 86 hidden variable, 87 HTML, 29, 32 image, 95 processing, 122 registration, 77 resubmitting, 122, 124 server, 76, 100, 120, 131, 133, 141 validation, 122, 124 Web, 2, 30-31, 134 Framework SDK, 150 FTP (File Transfer Protocol) Server, 5

GAC (Global Assembly Caches), 178 garbage, 182 GET, 152 global assemblies, 178 variables, 277 Global Assembly Caches (GAC), 178 Global.asax, 211 application, 218 code, 221

creating file, 212-215 event handlers, 220-221 parameters, 221 processing directives, 216-217 server-side objects, 218-219 session, 218 statistics, 215 Globally Unique Identifier (GUID), 89 goals, 225 array, 159 classifying, 160 identifier, 162 list, 165 returning, 165

graphics creating button, 95 drop-down list box, 82 Web browser, 107 greeting displaying, 173 personal, 181 GUID (Globally Unique Identifier), 89

Was this article helpful?

0 0

Post a comment