[bashiry] asp.net complete reference

546
ASP. NET ﮐﺎﻣﻞ ﻣﺮﺟﻊ: ﻧﻮﯾﺴﺎن ﺑﺮﻧﺎﻣﻪ ﺗﻤﺎﻣﯽ ﺑﺮاي ﮐﺎﻣﻞ ﻣﺮﺟﻌﯽASP.NET com . gmail @ bashiry . m ﺑﺸﯿﺮي ﻣﺤﻤﺪProgramming

Upload: pradeep-singh

Post on 13-Aug-2015

79 views

Category:

Documents


2 download

TRANSCRIPT

Programming

:

ASP.NET ASP.NET

[email protected]

[email protected]

:

ASP.NET

: 2

[email protected]

:

ASP.NET

: .

www.iranasp.net

.

: :

[email protected] [email protected] [email protected] : http://Bashiry.persiangig.com/Ebook

1384/3/173

[email protected]

:

ASP.NET

9 .................................................................................................................................... ASP.NET 10 ....................................................................................................................................... Microsoft.NET ASP.NET 13.................................................................................................................................................................. ASP.NET 17 ................................................................................................................................................ 19 ..................................................................................................................................... ASP.NET 22 ............................................................................................................... ASP.NET 25 ..................................................................................................................................................... 30 ......................................................................................................................................................................... 33...................................................................................................................................... .NET 35 ................................................................................................................................................................................. CLR 41 ............................................................................................................................ Client server 49................................................................................................................................. ASP.NET 52 ......................................................................................................................... ASP.NET 61...................................................................................................... Cashing 73 ................................................................................................................................................. ASP.NET 78 ........................................................................................................... ASP.NET 82.............................................................................................................................................. ASP.NET 84 ..................................................................................................................................................... ASP.NET Smart Navigation88...................................................................................................................................... 91...................................................................................................................................................... ASP.NET4

[email protected]

:

ASP.NET

Codebehind94....................................................................................................................................................... Namespace98....................................................................................................................................................... Upload 106.............................................................................................................. ASP.NET Cashing 111 ................................................................................................................................................. ASP.NET 117 ..................................................................................................................................... ASP.NET 121 ........................................................................................................................ 127.................................................................................................................. ASP.NET 144 ............................................................................................................................. .NET Framework 1.1 10 148..........................................................................Visual Studio .NET 2003 Thread 151 ...............................................................................................................................................ASP.NET 163 ............................................................................................................................................ ASP.NET XML 170 ............................................................................................................................ ASP.NET XML 173.............................................................................................................................................. 176...........................................................................................................................................................ASP.NET 180 ...............................................................................................................ASP.NET 4 )2003 183 ......................................... (... 197 ................................................................................................................................... ASP.NET Whidbey Session State 202 ................................................................................................................................ASP.NET 206...................................................................................................................................... ASP.NET 209 ................................................................................................................ ASP.NET Web.config 214 ................................................................................................................................5

[email protected]

:

ASP.NET

IrMail ) ASP.NET ( 221 ..................................................................... IrMail ) ASP.NET (228 ..................................................................... 235 ......................................................... ASP.NET 248 ................................................................................................................................................ASP.NET XML ) ASP.NET ( 258...................................................................... XML ) ASP.NET ( 264...................................................................... Setup .NET Crystal Report 276 ................ 278.................................................................................................................................................................. .NET Generic Principle280 ......................................... FormsAuthentication 285 ................................................................................................................................ ASP.NET RSS 302 ........................................................................................................................ ASP.NET 1.x ASP.NET 2.0 311 ................................................................................. ASP.NET 1.x ASP.NET 2.0 328 ................................................................................ 347 ......................................................................................................................................... ASP.NET ASP.NET 354 ........................................................................................................................ ASP.NET 364....................................................................................................................... 373 ............................................................................................................................................................. ) (Whios 379 .................................................................................................... ASP.NET 385 ..................................................................................................................... 393 ......................................................................................................................................... ASP.NET 400.......................................................................................................................................................... ASP.NET6

[email protected]

:

ASP.NET

404 .................................................................................................................................................. 405 ....................................................................................................................................................................... HTML 408 ............................................................................................................................................... ASP.NET 412.............................................................................................................. ASP.NET Label 417 ........................................................................................................................................................ ListBox 420.................................................................................................................. ArrayList Hyperlink 422 ................................................................................................................................................. 424.................................................................................................................................................................. 429 ....................................................................................................... ASP.NET 432 .................................................................................................................................................... 435 ........................................................................................................................................... 442 .............................................................................................................................................................. 446 ............................................................................................................................................. DataGrid 450 ............................................................................................................................................AdRotator 453 .............................................................................................................................ASP.NET ViewState ) ( 457 ................................................................................................... ViewState ) ( 459.................................................................................................. 464 ........................................................................................................... ListBox ListBox 471.............................................................................................................. ASP.NET JavaScript 479 ........................................................................................................................................... ASP.NET 488 ................................................................................................................................................. DataList7

[email protected]

:

ASP.NET

490........................................................................................... ASP.NET 497.............................................................................................................................................. DataGrid 501 ......................................................................................................................... DataGrid DataSet 508...................................................................................... - 514 .................................................................................................................................................... - 519 ................................................................................................................................................... :ASP.NET 2.0 Master Page 526 ......................................... :ASP.NET 2.0 Master Page 535 ................ UserControl 540...................................................................................... 544 .................................................................................................................................................................................

8

[email protected]

:

ASP.NET

ASP.NET

9

[email protected]

:

ASP.NET

1

Microsoft.NET .NET

NET .NET . .NET . .NET .NET : . .NET .NET 3400 . . XML . .NET .NET namespace . System.IO . . File System.IO System.IO.File . ASP.NET . System.Web . HTML

1 iranasp.net 10

[email protected]

:

ASP.NET

System.Web.UI.HTMLControls Web System.Web.UI.WebControls . .NET .NET ) (Assemblies . . . System.IO Mscorlib.dll . Mscorlib.dll .NET . . . .NET .NET (The .NET )Common Language Runtime - CLR . ASP.NET . ) (Microsoft Intermediate Language

11

[email protected]

:

ASP.NET

MSIL IL . MSIL . . ASP.NET MSIL . MSIL JIT . ASP.NET MSIL . . ASP.NET C# C++ . MSIL . .NET . C# .

12

[email protected]

:

ASP.NET

1

ASP.NET

ASP.NET ASP Active Server Pages ASP . . ASP.NET . . ASP.NET . ASP.NET . ASP.NET . ASP.NET . ASP.NET . ASP.NET . DataGrid . ASP.NET .NET.

1 iranasp.net 13

[email protected]

:

ASP.NET

.NET 4500 ASP.NET . . . ASP.NET ASP ASP.NET ASP ASP . . ASP VBScript JScript ASP.NET Visual Basic ( C#- ( . ASP (Request, Response, Application )Session, Server ASP.NET 4500 .NET . ASP.NET ASP . ASP.NET HTML ASP . ASP.NET ASP.NET .NET . Visual Basic.NET C# JScript.NET . ASP.NET C++ ASP.NET . ASP.NET . PERL COBOL ASP.NET .14

[email protected]

:

ASP.NET

ASP.NET TextBox ListBox . ASP.NET . ASP.NET : ListBox RadioButton TextBoxButton. . . . Visual Studio.NET . Notepad . ASP.NET ASP.NET ASP.NET .NET . .NET Framework

15

[email protected]

:

ASP.NET

msdn .microsoft.com/downloads/default.asp@url=_2fcode_2fsample.asp@url=_2f msdn -files_2f027_2f000_2f976_2fmsdncompositedoc.xml Windows ( Professional Server ) Windows 2000 ASP.NET . XP

16

[email protected]

:

ASP.NET

1

ASP.NET ASP.NET

ASP.NET : . . HTML . ASP.NET . . >"runat="server > < %-- ASP.NET . 167

[email protected]

:

ASP.NET

ASP.NET . . - 6 Include ASP.NET . : >", "") s = s.Replace("", "") s = s.Replace("", "") . . DOCTYPE ' Eliminate some additional whitespace we can kill296

[email protected]

:

ASP.NET

' For some reason, a single space gets emitted before each of our DOCTYPE directives. s = s.Replace(" ") s = s.Replace(" .

[C#] public void Page_Load(Object sender, EventArgs e) { // Form the script that is to be registered at client side. String scriptString = " function DoClick() {"; scriptString += "myForm.show.value='Welcome to Microsoft .NET'}";481

[email protected]

:

ASP.NET

if(!this.IsClientScriptBlockRegistered("clientScript")) this.RegisterClientScriptBlock("clientScript", scriptString); } :IsClientScriptBlockRegistered RegisterClientScriptBlock ( key) RegisterClientScriptBlock . . RegisterClientScriptBlock :RegisterStartupScript . .< form/> [C#] 482

[email protected]

:

ASP.NET

public void Page_Load(Object sender, EventArgs e) { // Form the script to be registered at client side. String scriptString = " function DoClick() {"; scriptString += "showMessage2.innerHTML='Welcome to Microsoft .NET!'}"; scriptString += "function Page_Load(){ showMessage1.innerHTML="; scriptString += "'RegisterStartupScript Example'}"; if(!this.IsStartupScriptRegistered("Startup")) this.RegisterStartupScript("Startup", scriptString); }



483

[email protected]

:

ASP.NET

>