FY-15.PDF

Size: px
Start display at page:

Download "FY-15.PDF"

Transcription

1

2 2001

3 ASP.NET 15 ASP.NET ASP.NET 1 ASP.NET 2 Visual Studio.NET.NET Visual Studio.NET 3 ASP.NET C# 4 Web Form Web Form 5 ASP.NET ASP.NET 6 7 HTML HTML ASP.NET 8 ASP.NET ADO.NET ADO.NET Dataset 9 config.web global.asax 10 Web Service Web Service Web Service 11 ASP.NET Web 12 XML ASP.NET MSMQ 13 ASP.NET 14 Window 15 ASP.NET ASP.NET ASP.NET VB.NET VB ASP : 2 : Microsoft ASP.NET : : C D : C D : : : : : : lwm@hope.com.cn : , , , , , : C D : : / : / / : :

4 : ISBN /TP 73 : CD 8

5 ASP.NET.NET ASP.NET.NET ASP.NET.NET ASP.NET ASP.NET ASP.NET.NET ASP.NET VB.NET VB ASP 15 ASP.NET 1.NET ASP.NET 2 Visual Studio.NET.NET Visual Studio.NET 3 ASP.NET C# 4 Web Form Web Form 5 ASP.NET ASP.NET Web Form 6 7 HTML HTML ASP.NET 8 ASP.NET ADO.NET ADO.NET Dataset 9 config.web global.asax 10 Web Service Web Service Web Service.NET 11 ASP.NET Web

6 12 XML ASP.NET MSMQ 13 ASP.NET 14 Window 15 ASP.NET Visual Studio.NET FrameWork SDK

7

8 1.1.NET IT.NET Microsoft.NET PC Microsoft.NET HTML XML XML Web Microsoft XML Web Microsoft.NET.NET.NET User Experience.NET.NET Microsoft.NET Windows.NET MSNTM.NET Office.NET Visual Studio.NET bcentraltm.net Internet XML Internet.NET XML Windows DNA 2000

9 1 9 Windows Windows.Net Visual Studio.NET XML.Net bcentral Web Outlook MSN MSN.Net MSN.Net BETA 1.2 ASP.NET ASP 0.9 Web HTML Web ActiveX Data Objects ADO Active Server Page 1.0 IIS Windows ASP ADO 1998 ASP 2.0 ASP 1.0 ASP 2.0 ASP 2.0 IIS 4.0 ASP Microsoft Transaction Server(MTS) Windows 2000 Windows IIS 5.0 ASP 3.0 ASP COM Windows 2000 MTS COM COM+ IIS 5.0 COM+

10 ASP.NET ASP.NET ASP Microsoft Active Server Pages ASP.net.NET ASP.NET ASP3.0 ASP ASP.NET ASP ASP ASP.NET ASP.NET ASP managed code NGWS Runtime NGWS Runtime ASP ASP.NET Web Controls forms HTML Controls ASP / select box ASP.NET "data-bound" ASP.NET Visual Basic.NET VBScript VBScript ASP COM ASP.NET session state

11 ASP.NET ASP Web ( ) ASP ASP(Active Server Page) Visual Basic.NET ASP.NET ASP ASP.NET 1 ASP VBScript JavaScript ASP socket C++ Visual Basic.NET ASP.NET NGWS runtime ASP VBScript JavaScript Visual Basic.NET C Sharp 2 ASP.NET aspx ASP.NET Web FORM ASP ASP.NET ASP.NET 3 ASP.NET ASP ASP.NET ASP.NET ASP.NET C# Visual Basic.NET JavaScript C ASP.NET Visual Basic VC++ ASP.NET ASP NGWS Windows 2000 ASP aspx ASP NGWS NGWS ASP.ASP.aspx ASP.NET ASP

12 ASP.NET Java Java Web Java OO ASP.NET Java 1 Java IBM e-business application framework Java XML CORBA IBM VisuageAge For Java WebSphere Web IBM Applic ation Framework server scalable Oracle Sybase Java Sun.NET.NET IT 2.NET Web Java Applet HTML java applet ASP.NET server applet server Java package server Java Servlet Java Bean ASP Script COM ASP.NET Web service SOAP UDDI w3c Java ASP.NET Web

13 2.1 ASP.NET Windows 2000 Server SP1 IE5.5 Frameowork SDK Visual Studio.NET 2.2 CPU: Intel Pentium II-class 300 MHz ( Intel Pentium III-class 600 MHz) : 96 MB ( 128 MB) : 250 MB( ) 155 ) : 800x600, 256 colors CD-ROM: required Microsoft Windows SP1 Microsoft Internet Explorer 5.5 IIS5.0 : MDAC 2.6 Beta 2 ASP.NET Office 2000 ASP.NET \Microsoft Office\Office\mso9.dll ASP.NET Office Office mso9.dll ASP.NET(NGWS SDK) 5/EN-US/Setup.ex VisualStudio.NET Beta1.0 FrameWork SDK beta1.0 windows2000 sp1 IE5.5 iis, iis front page front page QFE

14 14 2 Visual Studio NET VisualStudio.NET Office mso9.dll Visual Studio.NET Beta

15 2 Visual Studio NET Visual Studio.NET Visual Studio.NET Visual Studio.NET Visual Studio.NET File New Project Ctrl+Shift+N

16 16 2 Visual Studio NET Web saidy Web Server Ok 2-5 Web test test References.cs test.cs, test

17 2 Visual Studio NET 17 Add New Item Categories Web Project Items Templates C# Class Open cs

18 18 2 Visual Studio NET Web Form test Add New Item Web Form aspx Web Form.cs Design

19 2 Visual Studio NET 19 test.dll.exe Visual Studio.NET Tools Connection To Database

20 20 2 Visual Studio NET VS.NET Visual Studio.NET VB.NET VC.NET C# Jdeveloper Jbuilder VC++ VB

21 ASP.NET C# C Sharp VB.NET Jscript C# C Sharp C# 3.1 C# int x; String s; String s1, s2; Object o; Object obj = new Object(); public String name; Response.Write("foo"); C# C++ // /* /* C#.cs ///<summary> /// ///</summary> xml

22 22 3 ASP.NET Web String s = Request.QueryString["Name"]; String value = Request.Cookies["key"]; get set public String name { get {... return...; set {... = value; String[] a = new String[3]; a[0] = "1"; a[1] = "2"; a[2] = "3"; String[][] a = new String[3][3]; a[0][0] = "1"; a[1][0] = "2"; a[2][0] = "3"; String s = "Hello World"; int i = 1; double[] a = { 3.00, 4.00, 5.00 ;

23 3 ASP.NET C# String s1; String s2 = "hello"; s2 += " world"; s1 = s2 + "!!!"; Double int i = 3; String s = i.tostring(); double d = Double.Parse(s); if if (Request.QueryString!= null) { Case switch (FirstName) { case "John" :... break; case "Paul" :... break; case "Ringo" :... break; default:... break;

24 24 3 ASP.NET for for for (int i=0; i<3; i++){ a(i) = "test"; // for for(initialize;condition;iterator){ // initialize;condition;iterator While while int i = 0; while (i<3) { Console.WriteLine(i.ToString()); i += 1; while while(condition){ // break continue while do foreach foreach do while do 3.3 struct class struct class

25 3 ASP.NET 25 void MyButton_Click(Object sender, EventArgs E) { MyObject obj = (MyObject)Session["Some Value"]; IMyObject iobj = obj; C# C# using System; namespace MySpace { public class Foo : Bar { int x; public Foo() { x = 4; public void Add(int x) { this.x += x; public int GetNum() { return x; // csc /out:librarycs.dll /t:library // library.cs C# using System; public class ConsoleCS { public ConsoleCS() { Console.WriteLine("Object Created"); public static void Main (String[] args) { Console.WriteLine("Hello World"); ConsoleCS ccs = new ConsoleCS();

26 26 3 ASP.NET // csc /out:consolecs.exe /t:exe console.cs using System; public class Module { public static void Main (String[] args) { Console.WriteLine("Hello World"); // csc /out:consolecs.exe /t:exe console.cs Cat Lion Lion Cat Lion Cat Cat Cat eat() sleep() Lion Play() C# C# profile.cs Profile ExtendedProfile ExtendedProfile Profile _phonenumber, _firstname, _lastname get set ExtendedProfile inheritance/testprofile.aspx <%@ Import Namespace="inheritance" %> <html> <style> div { font: 8pt verdana; background-color:cccccc; border-color:black; border-width:1; border-style:solid; padding:10,10,10,10;

27 3 ASP.NET 27 </style> <script language="c#" runat="server"> public void Page_Load(Object sender, EventArgs E) { Profile profile = new Profile(); Message.InnerHtml += "<u>profile Class</u><br>"; Message.InnerHtml += "First: " + profile.getfirstname() + "<br>"; Message.InnerHtml += "Last: " + profile.getlastname() + "<br>"; Message.InnerHtml += "Phone: " + profile.getphonenumber() + "<br><br>"; ExtendedProfile extendedprofile = new ExtendedProfile(); Message.InnerHtml += "<u>extendedprofile Class</u><br>"; Message.InnerHtml += "First: " + profile.getfirstname() + "<br>"; Message.InnerHtml += "Last: " + profile.getlastname() + "<br>"; Message.InnerHtml += "Phone: " + extendedprofile.getphonenumber() + "<br>"; Message.InnerHtml += "Adress1: " + extendedprofile.getadress1() + "<br>"; Message.InnerHtml += "Adress2: " + extendedprofile.getadress2() + "<br>"; Message.InnerHtml += "City: " + extendedprofile.getcity() + "<br>"; Message.InnerHtml += "State: " + extendedprofile.getstate() + "<br>"; Message.InnerHtml += "Postal: " + extendedprofile.getpostal() + "<br>"; Message.InnerHtml += "Description:" + extendedprofile.getdescription() + "<br>"; </script> <body style="font: 10pt verdana"> <b><h3>simple Inheritance Example</h3></b><br><br> Object Output:<br> <br> </body> <div id="message" runat="server"/> </html> inheritance/profile.cs

28 28 3 ASP.NET (inheritance/profile.cs) namespace inheritance { using System; using System.Text; public class Profile { private String _firstname; private String _lastname; private String _phonenumber; public Profile() { _firstname = "Saidy"; _lastname = "Chan"; _phonenumber = "(010) "; public void setphonenumber(string phonenumber) { _phonenumber = phonenumber; public String getphonenumber() { return _phonenumber; public void setfirstname(string firstname) { _firstname = firstname; public String getfirstname() { return _firstname; public void setlastname(string lastname) { _lastname = lastname; public String getlastname()

29 3 ASP.NET 29 { return _lastname; public class ExtendedProfile: Profile { private String _address1; private String _address2; private String _city; private String _state; private String _postal; private String _description; public ExtendedProfile() { _address1 = "01,HuangFu Street"; _address2 = "XuanWu"; _city = "BeiJing"; _state = "BeiJing"; _postal = "100000"; _description = " "; public void setaddress(string address1, String address2) { _address1 = address1; _address2 = address2; public String getadress1() { return _address1; public String getadress2() { return _address2; public void setcity(string city) {

30 30 3 ASP.NET _city = city; public String getcity() { return _city; public void setstate(string state) { _state = state; public String getstate() { return _state; public void setpostal(string postal) { _postal = postal; public String getpostal() { return _postal; public void setdescription(string description) { _description = description; public String getdescription() { return _description; inhe.bat csc /t:library /r:system.xml.dll /out:..\bin\iprofile.dll Profile.cs 3-1

31 3 ASP.NET C# Profile ExtendedProfile ExtendedProfile Profile <SOURCE> interface ISaveData { </SOURCE> void save(); interface <SOURCE> public class Profile : ISaveData </SOURCE> multi/testprofile.aspx <%@ Import Namespace="Shai" %> <html>

32 32 3 ASP.NET <style> div { font: 8pt verdana; background-color:cccccc; border-color:black; border-width:1; border-style:solid; padding:10,10,10,10; </style> <script language="c#" runat="server"> public void Page_Load(Object sender, EventArgs E) { Profile profile = new Profile(); Message.InnerHtml += "<u>profile Class</u><br>"; Message.InnerHtml += "First: " + profile.getfirstname() + "<br>"; Message.InnerHtml += "Last: " + profile.getlastname() + "<br>"; Message.InnerHtml += "Phone: " + profile.getphonenumber() + "<br><br>"; profile.save(); "<br>"; "<br>"; "<br>"; ExtendedProfile extendedprofile = new ExtendedProfile(); Message.InnerHtml += "<u>extendedprofile Class</u><br>"; Message.InnerHtml += "First: " + profile.getfirstname() + "<br>"; Message.InnerHtml += "Last: " + profile.getlastname() + "<br>"; Message.InnerHtml += "Phone: " + extendedprofile.getphonenumber() + Message.InnerHtml += "Adress1: " + extendedprofile.getadress1() + Message.InnerHtml += "Adress2: " + extendedprofile.getadress2() + Message.InnerHtml += "City: " + extendedprofile.getcity() + "<br>"; Message.InnerHtml += "State: " + extendedprofile.getstate() + "<br>"; Message.InnerHtml += "Postal: " + extendedprofile.getpostal() + "<br>"; Message.InnerHtml += "Description: " + extendedprofile.getdescription() + "<br>"; extendedprofile.save();

33 3 ASP.NET 33 </script> <body style="font: 10pt verdana"> <b><h3> / </h3></b> Object Output:<br> <br> <div id="message" runat="server"/> </body> </html> multi/profile.cs namespace Shai { using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Xml; interface ISaveData { void save(); public class Profile : ISaveData { protected String _firstname; protected String _lastname; protected String _phonenumber; public Profile() { _firstname = "Saidy"; _lastname = "Chan"; _phonenumber = "(010) "; public virtual void setphonenumber(string phonenumber) { _phonenumber = phonenumber; public String getphonenumber() { return _phonenumber;

34 34 3 ASP.NET public void setfirstname(string firstname) { _firstname = firstname; public String getfirstname() { return _firstname; public void setlastname(string lastname) { _lastname = lastname; public String getlastname() { return _lastname; public virtual void save() { //save data in text format: FileStream s = new FileStream("D:\\profile.bin", FileMode.Create, FileAccess.Write); BinaryFormatter b = new BinaryFormatter(); b.serialize(s, this); s.close(); public class ExtendedProfile: Profile { protected String _address1; protected String _address2; protected String _city; protected String _state; protected String _postal; protected String _description; public ExtendedProfile() {

35 3 ASP.NET 35 _address1 = " "; _address2 = " "; _city = " "; _state = " "; _postal = "100000"; _description = " "; public override void setphonenumber(string phonenumber) { _phonenumber = phonenumber; public void setaddress(string address1, String address2) { { _address1 = address1; _address2 = address2; public String getadress1() return _address1; public String getadress2() { return _address2; public void setcity(string city) { _city = city; public String getcity() { return _city; public void setstate(string state) { _state = state; public String getstate() { return _state;

36 36 3 ASP.NET public void setpostal(string postal) { _postal = postal; public String getpostal() { return _postal; public void setdescription(string description) { _description = description; public String getdescription() { return _description; public override void save() { String _document = "D:\\saidy.xml" ; XmlTextWriter writer = null; try { writer = new XmlTextWriter (_document, null); writer.formatting = Formatting.Indented; writer.writestartdocument(false); writer.writedoctype("profile", null, null, null); writer.writestartelement("profile"); writer.writeelementstring("firstname", _firstname); writer.writeelementstring("lastname", _lastname); writer.writeelementstring("phonenumber", _phonenumber); writer.writeelementstring("address1", _address1); writer.writeelementstring("address2", _address2); writer.writeelementstring("city", _city); writer.writeelementstring("state", _state); writer.writeelementstring("postal", _postal); writer.writeendelement();

37 3 ASP.NET 37 writer.flush(); writer.close(); catch(exception e) { Console.WriteLine ("Exception: {0", e.tostring()); C# " " CLR.NET VB.NET C#

38 38 3 ASP.NET 3.5 VB.NET C# " " IL JITter IL Windows.NET IL CLR CLR IL.NET VB.NET C# CLR CLR CLR CLR Visual Basic C# VB.NET C# CLR Visual Studio.NET COM VB.NET COM 1

39 4.1 Web Form Form VB MS.NET Form Windows Windows Form Web Web Form Windows Form Windows VB Web Form Web Web Web HTML Form Web Web VB Form Web Web (Object) MS.NET Web Form aspx Web Form CLR aspx CLR ASP ASP VBScript JavaScript ASP ASP.NET VB.NET C# Jscript.NET ASP.NET ASPX CLR ASPX 1. aspx 2. aspx aspx aspx aspx asp 250% Web 4.2 Page 4-1 aspx

40 40 4 Web aspx <form action="form1.aspx" method="post"> <h3> : <input id="name" type=text> : <select id="city" size=1> <option> </option> <option> </option> <option> </option> </select> <input type=submit value=" "> </form> HTML HTML ASPX aspx IIS5.0 ASP3.0 ASP.NET 4.3 Server Control ASP.NET Web Web Server Control Web Control VB Control (Visual Studio.NET 7.0) Control Form

41 4 Web 41 Server Control Server Control HTML Server Control HTML ASP HTML Netscape IE DHTML Server Control Web Form Server Control aspx <html> <script language="vb" runat=server> Sub SubmitBtn_Click(Sender As Object, E As EventArgs) Message.Text = "Hi " & Name.Text & ", : " & city.selecteditem.text End Sub </script> <body> <center> <form action="form2.aspx" method="post" runat="server"> <h3> : <asp:textbox id="name" runat="server"/> : <asp:dropdownlist id="city" runat=server> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> </asp:dropdownlist>

42 42 4 Web runat="server"/> <p> <asp:button type=submit text=" " OnClick="SubmitBtn_Click" <asp:label id="message" runat="server"/> </form> </center> </body> </html> Server Control 1. asp:textbox 2. asp:dropdownlist 3. asp:label RunAt RunAt= Sevrer Server <script language="vb" runat=server> Sub SubmitBtn_Click(Sender As Object, E As EventArgs) Message.Text = "Hi " & Name.Text & ", : " & city.selecteditem.text End Sub </script> VB VB void SubmitBtn_Click(Object sender, EventArgs e) void Sender Sender Sender Click button Message Name city <form action="form2.aspx" method="post" runat="server"> <h3> Name: <asp:textbox id="name" runat="server"/> Category: <asp:dropdownlist id="city" runat=server> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> </asp:dropdownlist> <asp:button type=submit text=" " OnClick="SubmitBtn_Click" runat="server"/> <p> <asp:label id="message" runat="server"/>

43 4 Web 43 </form> ID VB.NET ID ASP ID ID Name <input id= name= > VBSCript Jscript Form Input <SCRIPT LANGUAGE=javascript> <!-- document.all( )= ; //--> </SCRIPT> DHTML ID Form ASPX html runat=server <input type=text> <asp:textbox> <asp:dropdownlist>, <asp:listitem> submit <asp:button> SubmitBtn_Click <asp:label id= Message runat= server /> asp:label HTML ASP+ HTML <input type="hidden" name=" VIEWSTATE value=" " /> ASP+ runat=server 4.4 Web ASP.NET aspx asp ASP.NET

44 44 4 Web Web Server Control Control ASP.NET OnClick ASP.NET OnMouseOver OnMouseOver OnMouseOver ASP.NET ASP.NET ASPX HTTP ASP.NET ASP ASP.NET view state ASP.NET <HTML> <BODY> <SCRIPT language="vb" runat="server"> Sub ShowValues(Sender As Object, Args As EventArgs) divresult.innertext = "You selected '" _& selopsys.value & "' for machine '" _& txtname.value & "'." End Sub </SCRIPT> <DIV id="divresult" runat="server"> </DIV> <FORM runat="server"> <INPUT type="text" id="txtname" runat="server"> <P /> :

45 4 Web 45 <select id="selopsys" size="1" runat="server"> <OPTION>Windows 95</OPTION> <OPTION>Windows 98</OPTION> <OPTION>Windows NT4</OPTION> <OPTION>Windows 2000</OPTION> </SELECT> <P /> <INPUT type="submit" value="submit" runat="server" onserverclick="showvalues"> </FORM> </BODY> </HTML> <HTML> <BODY> You selected 'Windows 98' for machine 'iceberg'. <FORM name="ctrl0" method="post" action="pageone.aspx" id="ctrl0"> <INPUT type="hidden" name=" VIEWSTATE" value="a0z x"> : <INPUT type="text" id="txtname" name="txtname" value="tizzy"> <P /> : <SELECT id="selopsys" size="1" name="selopsys"> <OPTION value="windows 95">Windows 95</OPTION> <OPTION selected value="windows 98">Windows 98</OPTION> <OPTION value="windows NT4">Windows NT4</OPTION> <OPTION value="windows 2000">Windows 2000</OPTION> </SELECT> <P /> <INPUT type="submit" value="submit"> </FORM> </BODY> </HTML> ASP If Len(Request.Form("selOpSys")) > 0 Then StrOpSys = Request.Form("selOpSys") StrName = Request.Form("txtName") Response.Write("You selected '" & stropsys _& "' for machine '" & strname & "'.") End If

46 46 4 Web asp+ If Len(selOpSys.value) > 0 Then Response.Write("You selected '" & selopsys.value _& "' for machine '" & txtname.value & "'.") End If asp+ ASP.NET ASP.NET ASP Page_load Page_OnLoad IsPostBack Page_load page.aspx <%@ Register TagPrefix="Acme" TagName="Login" Src="page.ascx" %> <html> <title> </title> <script language="vb" runat="server"> Sub Page_Load(Sender As Object, E As EventArgs) If (Page.IsPostBack) MyLabel.Text &= " " & MyLogin.UserId & "<br>" MyLabel.Text &= " " & MyLogin.Password & "<br>" End If End Sub </script> <body style="font: 10pt verdana"> <center> <h3> </h3></center> <form runat="server"> <Acme:Login id="mylogin" UserId="" Password="" BackColor="beige" runat="server"/>

47 4 Web 47 </form> <asp:label id="mylabel" runat="server"/> </body> </html> Page_OnLoad IsPostBack page.ascx <script language="vb" runat="server"> Public BackColor As String = "white" Public Property UserId As String Get Return UserName.Text End Get Set UserName.Text = Value End Set End Property Public Property Password As String Get Return Pass.Text End Get Set Pass.Text = Value End Set End Property </script> <center> <table style="background-color:<%=backcolor%>;font: 10pt verdana;border-width:1;border-style:solid;border-color:black;" cellspacing=15> <tr> <td><b> : </b></td> <td><asp:textbox id="username" runat="server"/></td> </tr> <tr> <td><b> : </b></td> <td><asp:textbox id="pass" TextMode="Password" runat="server"/></td> </tr> <tr> <td></td> <td><asp:button Text=" " runat="server"/></td>

48 48 4 Web 4-3 </tr> </table> </center> page.aspx 4-3

49 4 Web 49 Page_OnLoad <html> <head> <title> </title> <script language="vb" runat="server"> Sub Page_Load(sender As Object, e As EventArgs) If Not IsPostBack Then Dim values as ArrayList= new ArrayList() values.add (" ") values.add (" ") values.add (" ") values.add (" ") values.add (" ") values.add (" ") DropDown1.DataSource = values DropDown1.DataBind End If End Sub Sub SubmitBtn_Click(sender As Object, e As EventArgs) Label1.Text = " " + DropDown1.SelectedItem.Text End Sub </script> </head> <body> <center><h3><font face="verdana"> </font></h3></center> <form runat=server> <center><asp:dropdownlist id="dropdown1" runat="server" /></center> <center><asp:button Text=" " OnClick="SubmitBtn_Click" runat=server/></center> <p> <center><asp:label id=label1 font-name="verdana" font-size="10pt" runat="server" /></center> </form> <body> </html> 4-4

50 50 4 Web page_load SQL System.Data System.Data.SQL <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SQL" %> pagedata.aspx <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SQL" %> <html> <script language="vb" runat="server"> Sub Page_Load(Src As Object, E As EventArgs) Dim DS As DataSet Dim MyConnection As SQLConnection

51 4 Web 51 Dim MyCommand As SQLDataSetCommand MyConnection = New SQLConnection("server='iceberg';uid=sa;pwd=;database=info") MyCommand = New SQLDataSetCommand("select * from infor",myconnection) DS = New DataSet() End Sub </script> <center> MyCommand.FillDataSet(ds, "infor") MyDataGrid.DataSource=ds.Tables("infor").DefaultView MyDataGrid.DataBind() <body> <h3><font face="verdana">page_load </font></h3> <ASP:DataGrid id="mydatagrid" runat="server" Width="600" BackColor="white" BorderColor="black" ShowFooter="false" CellPadding=3 CellSpacing="0" Font-Name="Verdana" Font-Size="8pt" HeaderStyle-BackColor="#aaaadd" MaintainState="false" /> /body> </center> </html> page_load SQL Server info infor SQL 4-6

52 52 4 Web 4-6 Page_load IsValid Web Form 4-1 HtmlInputText HtmlTextAreaHtm HtmlSelect HtmlInputFile TextBox ListBox DropDownList RadioButtonList Value Value Value Value Text SelectedItem SelectedItem SelectedItem

53 4 Web 53 Validate.aspx <html> <head> <script language="vb" runat="server"> Sub ValidateBtn_Click(sender As Object, e As EventArgs) If (Page.IsValid) Then Else lbloutput.text = "!" lbloutput.text = "!" End If if not isnumeric(textbox1.text) then lbloutput.text="!" End if End Sub </script> </head> <body> <center><h3><font face="verdana"> </font></h3></center> <p> <form runat="server"> <title> </title> <center> <table bgcolor="white" cellpadding=10> <tr valign="top"> <td colspan=3> <asp:label ID="lblOutput" Text=" " ForeColor="red" Font-Name="Verdana" Font-Size="10" runat=server /><br> </td> </tr> <tr> <td align=right> <font face=verdana size=2> :</font> </td> <td> <ASP:RadioButtonList id=radiobuttonlist1 RepeatLayout="Flow"

54 54 4 Web runat=server> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> </ASP:RadioButtonList> </td> <td align=middle rowspan=1> <asp:requiredfieldvalidator id="requiredfieldvalidator1" ControlToValidate="RadioButtonList1" Display="Static" InitialValue="" Width="100%" runat=server> * </asp:requiredfieldvalidator> </td> </tr> <tr> <td align=right> <font face=verdana size=2> :</font> </td> <td> <ASP:TextBox id=textbox1 runat=server /> </td> <td> <asp:requiredfieldvalidator id="requiredfieldvalidator2" ControlToValidate="TextBox1" Display="Static" Width="100%" runat=server> * </asp:requiredfieldvalidator> </td> </tr> <td> </tr> <tr> <td></td> <td> runat=server /> <ASP:Button id=button1 text=" " OnClick="ValidateBtn_Click" </td> <td></td>

55 4 Web 55 </tr> </table> </center> </form> </body> </html> clicked IsNumeric() IsData() XX XXXX XXXXXX XX X

56 56 4 Web Validate1.aspx <html> <head> <script language="vb" runat="server"> End Sub Sub ValidateBtn_Click(sender As Object, e As EventArgs) If (Page.IsValid) Then lbloutput.text = "!" Else </script> </head> <body> lbloutput.text = "!" End If If not isnumeric(textbox1.text) then bloutput.text="!" End if if left$(textbox1.text,2)<>"11" then lbloutput.text=" " End if <center><h3><font face="verdana"> </font></h3></center> <p> <form runat="server"> <title> </title> <center> <table bgcolor="white" cellpadding=10> <tr valign="top"> <td colspan=3>

57 4 Web 57 <asp:label ID="lblOutput" Text=" " ForeColor="red" Font-Name="Verdana" Font-Size="10" runat=server /><br> </td> </tr> <tr> <td align=right> <font face=verdana size=2> :</font> </td> <td> <ASP:TextBox id=textbox1 runat=server /> </td> <td> <asp:requiredfieldvalidator id="requiredfieldvalidator2" ControlToValidate="TextBox1" Display="Static" Width="100%" runat=server> * </asp:requiredfieldvalidator> </td> </tr> <td> </tr> <tr> <td></td> runat=server /> <td> <ASP:Button id=button1 text=" " OnClick="ValidateBtn_Click" </td> <td></td> </tr> </table> </center> </form> </body> </html> Left$() 4-8

58 58 4 Web

59 4 Web 59 RequiredFieldValidator CompareValidator RangeValidator RegularExpressionValidator CustomValidator ValidationSummary RequiredFieldValidator validate3.aspx <html> <body> <center> <title> (1)</title> <h3><font face="verdana"> (1)</font></h3> <form runat=server> : <asp:textbox id=text1 runat="server"/> <asp:requiredfieldvalidator id="requiredfieldvalidator1" ControlToValidate="Text1" Font-Name="Arial" Font-Size="11" runat="server">! </asp:requiredfieldvalidator> <p> </form> </center> </body> </html> <asp:button id="button1" runat="server" Text=" " /> 4-10

60 60 4 Web 4-10 CompareValidator CompareValidator validata4.aspx <%@ Page clienttarget=downlevel %> <html> <title>comparevalidator </title> <head> <script language="vb" runat="server"> EventArgs) </script> </head> <body> Sub Button1_OnSubmit(sender As Object, e As EventArgs) If Page.IsValid Then lbloutput.text = "!" Else lbloutput.text = "!" End If End Sub Sub lstoperator_selectedindexchanged(sender As Object, e As comp1.operator = lstoperator.selectedindex comp1.validate End Sub <center> <h3><font face="verdana">comparevalidator </font></h3>

61 4 Web 61 <form runat=server> <table bgcolor="#eeeeee" cellpadding=10> <tr valign="top"> <td> <h5><font face="verdana"> 1:</font></h5> <asp:textbox Selected id="txtcomp" runat="server"></asp:textbox> </td> <td> <h5><font face="verdana"> :</font></h5> <asp:listbox id="lstoperator" OnSelectedIndexChanged="lstOperator_SelectedIndexChanged" runat="server"> <asp:listitem Selected Value="Equal" >=</asp:listitem> <asp:listitem Value="NotEqual" ><></asp:listitem> >>=</asp:listitem> <asp:listitem Value="GreaterThan" >></asp:listitem> <asp:listitem Value="GreaterThanEqual" <asp:listitem Value="LessThan" ><</asp:listitem> <asp:listitem Value="LessThanEqual" >=<</asp:listitem> </asp:listbox> </td> <td> <h5><font face="verdana"> 2:</font></h5> <asp:textbox id="txtcompto" runat="server"></asp:textbox><p> <asp:button runat=server Text=" " ID="Button1" onclick="button1_onsubmit" /> </td> </tr> </table> <asp:comparevalidator id="comp1" ControlToValidate="txtComp" ControlToCompare = "txtcompto" Type="String" runat="server"/> <br> <asp:label ID="lblOutput" Font-Name="verdana" Font-Size="10pt" runat="server"/> </form> </center> </body> </html> 4-11

62 62 4 Web 4-11 RangeValidator RangeValidator RangeValidator validata5.aspx <%@ Page clienttarget=downlevel %> <html> <center> <title>rangevalidator </title> <head> EventArgs) <script language="vb" runat="server"> Sub Button1_Click(sender As Object, e As EventArgs) If (Page.IsValid) Then lbloutput.text = "!" Else lbloutput.text = "!" End If End Sub Sub lstoperator_selectedindexchanged(sender As Object, e As

63 4 Web 63 </script> </head> <body> rangeval.type = lsttype.selectedindex rangeval.validate End Sub <h3><font face="verdana">rangevalidator </font></h3> <p> <form runat="server"> <table bgcolor="#eeeeee" cellpadding=10> <tr valign="top"> <td> <h5><font face="verdana"> :</font></h5> <asp:textbox Selected id="txtcomp" runat="server"/> </td> <td> <h5><font face="verdana"> :</font></h5> <asp:dropdownlist id="lsttype" OnSelectedIndexChanged="lstOperator_SelectedIndexChanged" runat=server> <asp:listitem Selected Value="String" >String</asp:ListItem> runat="server" /> <asp:listitem Value="Integer" >Integer</asp:ListItem> </asp:dropdownlist> </td> <td> <h5><font face="verdana"> :</font></h5> <asp:textbox id="txtmin" runat="server" /> </td> <td> <h5><font face="verdana"> :</font></h5> </td> </tr> </table> <asp:textbox id="txtmax" runat="server" /><p> <asp:button Text=" " ID="Button1" onclick="button1_click" <asp:rangevalidator id="rangeval" Type="String" ControlToValidate="txtComp" MaximumControl="txtMax" MinimumControl="txtMin" runat="server"/> <br> <asp:label id="lbloutput" Font-Name="verdana" Font-Size="10pt" runat="server" />

64 64 4 Web </form> </body> </center> </html> integer string double float date currency , ASP RegularExpressionValidator RegularExpressionValidator RegularExpression

65 4 Web 65 Warren McCulloch Walter Pitts 1956, Stephen Kleene McCulloch Pitts Ken Thompson Ken Thompson Unix Unix qed RegularExpression a z Web HTML HTML VBScript Visual Basic C VB Scripting Edition VB Scripting Edition VBScript \ "n" "n" "\n" "\\" "\" "\(" "("

66 66 4 Web ^ $ * "zo*" "z" "zoo" + "zo+" "zoo", "z"? "a?ve?" "never" "ve". (pattern) Matches Item [0]...[n] ( ) "\(" "\)" x y x y "z food" "z" "food" "(z f)ood" "zoo" "food" {n n n "o{2" "Bob "o" "foooood" o {n, n n "o{2," "Bob" "o" "foooood" o "o{1," "o+" "o{0," "o*" {n,m m n n m "o{1,3" "fooooood" o "o{0,1" "o?" [xyz] "[abc]" "plain" "a" [^xyz] "[^abc]" "plain" "p" [a-z] "[a-z]" "a" "z" [^m-z] "[m-z]" "m" "z" \b "er\b" "never" "er" "verb" "er" \B "ea*r\b" "never early" "ear" \d [0-9] \D [^0-9] \f \n \r \s "[ \f\n\r\t\v]" \S "[^ \f\n\r\t\v]" \t

67 4 Web 67 \v \w "[A-Za-z0-9_]" \W "[^A-Za-z0-9_]" \num num num "(.)\1" \n n n 1, 2 3 "\11" "\011" "\0011" "\001" "1" 256 ASCII \xn n n "\x41" "A" "\x041" "\x04" "1" ASCII RegularExpressionValidator ControlToValidate ControlToValidate="TextBox1" ValidationExpression test@yesky.com xxx@yyy.com.cn, "= "^\w+((-\w+) (\.\w+))*\@[a-za-z0-9]+((\. -)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$" validata5.aspx </head> <body> <center><h3><font face="verdana"> </font></h3></center> <p> <form runat="server"> <center> <title> </title> <table bgcolor="#eeeeee" cellpadding=10> <tr valign="top"> <td colspan=3>

68 68 4 Web <asp:label ID="lblOutput" Text=" " Font-Name="Verdana" Font-Size="10pt" runat="server"/> </td> </tr> <tr> <td align=right> <font face=verdana size=2> </font> </td> <td> <ASP:TextBox id=textbox1 runat=server /> </td> <td> <asp:regularexpressionvalidator id="regularexpressionvalidator1" runat="server" ControlToValidate="TextBox1" ValidationExpression="^\w+((-\w+) (\.\w+))*\@[a-za-z0-9]+((\. -)[A-Za-z0-9]+ )*\.[A-Za-z0-9]+$" Display="Static" Font-Name="verdana" Font-Size="10pt"> ! </asp:regularexpressionvalidator> </td> </tr> <tr> <td></td> <td> <ASP:Button text=" " OnClick="ValidateBtn_Click" runat=server /> </td> <td></td> </tr> </table> </center> </form> </body> </html> Pattern, 4-13

69 4 Web Page_Unload <script language="vb" runat="server"> public Dim MyConnection As SQLConnection Page_Load Sub Page_Load(Src As Object, E As EventArgs) Dim DS As DataSet Dim MyCommand As SQLDataSetCommand MyConnection = New SQLConnection("server='iceberg';uid=sa;pwd=;database=info") MyCommand = New SQLDataSetCommand("select * from infor",myconnection) Myconnection.open() DS = New DataSet() MyCommand.FillDataSet(ds, "infor")

70 70 4 Web MyDataGrid.DataSource=ds.Tables("infor").DefaultView MyDataGrid.DataBind() End Sub Page_UnLoad Sub Page_UnLoad(Src As Object, E As EventArgs) MyConnection.Close() End Sub Page_Load Page_Unload Page_Load Page_Unload <%@ import namespace="system.io" %> <html> <head> <title>asp+ </title> </head> <body> <script language="vb" runat="server"> public Dim writefile As StreamWriter Sub Page_Load(Sender As Object,E as EventArgs) writefile = File.CreateText( "c:\test.txt" ) writefile.writeline( "!" ) writefile.writeline( " Page_Load Page_Unload!" ) Response.Write( "test.txt!" ) End Sub Sub Page_UnLoad(Sender AS Object, E as EventArgs) writefile.close End Sub </script> </body> </html> Page_Load Page_Unload Page_Load

71 4 Web Web Form ASP.NET Web Form <form></form> ASP.NET AddBtn_Click(Sender As Object, E As EventArgs) AddAllBtn_Click(Sender As Object, E As EventArgs) RemoveBtn_Click(Sender As Object, E As EventArgs) RemoveAllBtn_Click(Sender As Object, E As EventArgs) result(sender As Object,E As EventArgs) form <form action="menent.aspx" runat=server> menent.aspx <html> <script language="vb" runat="server"> Sub AddBtn_Click(Sender As Object, E As EventArgs) If Not (AvailableFonts.SelectedIndex = -1) InstalledFonts.Items.Add(New ListItem(AvailableFonts.SelectedItem.Value)) AvailableFonts.Items.Remove(AvailableFonts.SelectedItem.Value) End If End Sub Sub AddAllBtn_Click(Sender As Object, E As EventArgs) Do While Not (AvailableFonts.Items.Count = 0) InstalledFonts.Items.Add(New ListItem(AvailableFonts.Items(0).Value)) AvailableFonts.Items.Remove(AvailableFonts.Items(0).Value) Loop End Sub Sub RemoveBtn_Click(Sender As Object, E As EventArgs)

72 72 4 Web If Not (InstalledFonts.SelectedIndex = -1) AvailableFonts.Items.Add(New ListItem(InstalledFonts.SelectedItem.Value)) InstalledFonts.Items.Remove(InstalledFonts.SelectedItem.Value) End If End Sub Sub RemoveAllBtn_Click(Sender As Object, E As EventArgs) Do While Not (InstalledFonts.Items.Count = 0) AvailableFonts.Items.Add(New ListItem(InstalledFonts.Items(0).Value)) InstalledFonts.Items.Remove(InstalledFonts.Items(0).Value) Loop End Sub Sub result(sender As Object,E As EventArgs) dim tmpstr as String tmpstr="<br>" Do While Not (InstalledFonts.Items.Count = 0) tmpstr=tmpstr & InstalledFonts.items(0).value & "<br>" InstalledFonts.items.remove(InstalledFonts.items(0).value) Loop tmpstr=system.web.httputility.urlencodetostring(tmpstr,system.text.enco ding.utf 8) Page.Navigate("result.aspx?InstalledFonts=" & tmpstr) End Sub </script> <body bgcolor="#ccccff"> <center> <h3><font face="verdana">.net-> </font></h3> </center> <center> <form action="menent.aspx" runat=server>

73 4 Web 73 runat=server> runat=server> runat=server/> <table> <tr> <td> </td> <td> <!-- Filler --> </td> <td> </td> </tr> <tr> <td> <asp:listbox id="availablefonts" width="100px" <asp:listitem>roman</asp:listitem> <asp:listitem>arial Black</asp:listitem> <asp:listitem>garamond</asp:listitem> <asp:listitem>somona</asp:listitem> <asp:listitem>symbol</asp:listitem> </asp:listbox> </td> <td> <!-- Filler --> </td> <td> <asp:listbox id="installedfonts" width="100px" <asp:listitem>times</asp:listitem> <asp:listitem>helvetica</asp:listitem> <asp:listitem>arial</asp:listitem> </asp:listbox> </td> </tr> <tr> <td> <!-- Filler --> </td> <td> <asp:button text="<<==" OnClick="RemoveAllBtn_Click"

74 74 4 Web runat=server/> runat=server/> runat=server/> <asp:button text="<--" OnClick="RemoveBtn_Click" <asp:button text="-->" OnClick="AddBtn_Click" <asp:button text="==>>" OnClick="AddAllBtn_Click" <asp:label id="message" forecolor="red" font-bold="true" runat=server/> </td> </tr> <tr align=center> <td align=center> <asp:button text=" " Onclick="result" runat=server/> <!-- Filler --> </td> </tr> </table> </form> </center> </body> </html> Request.Params("InstalledFonts") result.aspx <html> <script language="vb" runat="server"> Sub Page_Load(Sender As Object, E As EventArgs) If Not (Page.IsPostBack) NameLabel.Text = Request.Params("InstalledFonts") End If End Sub </script> <BODY BGCOLOR="#CCCCFF"> <h3><font face="verdana">.net-> </font></h3> <p> <p> <hr> <form action="controls_navigationtarget.aspx" runat=server> <font face="verdana">

75 4 Web 75 </font> </form> Hi, : <asp:label id="namelabel" runat=server/>! </body> </html>

76 76 4 Web PostBack Page_Load Load true void Page_Load(Object Sender, EventArgs e) { if ((IsPostBack) & (TextBox2.Text == "")) { TextBox2.Text="Hello " + TextBox1.Text + "!!!"; IsPostBack TextBox2.Text <asp:textbox id="textbox1" Text=" <Tab>" AutoPostBack="True" Columns=50 runat="server"/> AutoPostBack="True" PostBack <html> <head> <script language="c#" runat="server"> void Page_Load(Object Sender, EventArgs e) { if ((IsPostBack) & (TextBox2.Text == "")) { TextBox2.Text="Hello " + TextBox1.Text + "!!!"; </script> </head> <body bgcolor="#ccccff"> <center> <br><br><br> <h3><font face="verdana">.net->autopostback </font></h3> <br><br> </center> <center> <form runat="server"> <p> <asp:textbox id="textbox1" Text=" <Tab>" AutoPostBack="True" Columns=50 runat="server"/> <p> <asp:textbox id="textbox2" Columns=50 runat="server"/> <p> <asp:button Text=" " Runat="server"/>

77 4 Web 77 <p> </form> </center> </body> </html> <Tab>

78 5.1 ASP.NET 5.2 ASP+ Web Web HTML 3.2 ASP.NET TextBox 90% 90%

79 5 ASP+ 79 ValidationSummary Page API Microsoft ActiveX Microsoft.NET BaseValidator BaseValidator BaseValidator Text Label 5.3 Web 5.4 Visual Basic 1. ASPX 2. Page_Load HTML ASPX Page_Load

80 80 5 ASP HTML 8. ASP.NET Web 3 4 Page 5.5 API Page 5-1 IsValid Validators Validate Validators IValidator Page Validators IValidator Page IValidator IValidator

81 5 ASP+ 81 IValidator 5-2 IsValid ErrorMessage Validate IsValid C# IValidator val; foreach(val in Validators) { Val.IsValid = true; IValidator val; Beta 1 Page Validate Validate public class Conditional : Page { public HtmlInputCheckBox chksameas; public RequiredFieldValidator rfvalshipaddress; protected override void Validate() { // bool enableship =!chksameas.checked; rfvalshipaddress.enabled = enableship; // base.validate();

82 82 5 ASP+ 5.6 JScript JScript HTML (Document Object Model, DOM) Internet Explorer 4.0 Internet Explorer DOM HTML CustomValidator CustomValidator WebUIValidation.js Web "_aspx" include config.web config.web ASP.NET XML <Webcontrols clientscriptslocation="/_aspx/{0/script/" />

83 5 ASP+ 83 config.web "{0" Page "clienttarget=downlevel" ASPX Page Language="c#" clienttarget=downlevel %> "auto" Microsoft Internet Explorer 4.0 Beta 1 Web HTML <span> HTML 2. tab 3. ShowSummary=true ShowMessageBox=true

84 84 5 ASP+ API 5-3 Page_IsValid Boolean Page_Validators Page_ValidationActive Boolean False isvalid Boolean PDC ("IsValid") "onclick" "onsubmit" HTML Image <input type=image runat=server value=" " onclick="page_validationactive=false;" OnServerClick=cmdCancel_Click > Button ImageButton "onclick" <asp:imagebutton runat=server id=cmdimgcancel AlternateText=" " OnClick=cmdCancel_Click/> document.all["cmdimgcancel "].onclick = new Function("Page_ValidationActive=false;"); </script> HtmlInputButton LinkButton

85 5 ASP+ 85 Label public class ChangeColorPage : Page { public Label lblzip; public RegularExpressionValidator valzip; protected override void OnLoad(EventArgs e) { lblzip.forecolor = valzip.isvalid? Color.Black : Color.Red; <asp:label id=lblzip runat=server Text="Zip Code:"/> <asp:textbox id=txtzip runat=server OnChange="txtZipOnChange();" /></asp:textbox><br> <asp:regularexpressionvalidator id=valzip runat=server ControlToValidate=txtZip ErrorMessage=" " ValidationExpression="[0-9]{5" /><br> <script language=javascript> function txtziponchange() { // if (typeof(page_validators) == "undefined") return; // lblzip.style.color = valzip.isvalid? "Black" : "Red"; </script> Beta ValidatorValidate(val)

86 86 5 ASP+ ValidatorEnable(val, enable) ValidatorHookupControl(control, val) Boolean HTML change public class Conditional : Page { public HtmlInputCheckBox chksameas; public RequiredFieldValidator rfvalshipaddress; protected override void Validate() { bool enableship =!chksameas.checked; rfvalshipaddress.enabled = enableship; base.validate(); <input type=checkbox runat=server id=chksameas onclick="onchangesameas();" > <br> <script language=javascript> function OnChangeSameAs() { var enableship =!event.srcelement.status; ValidatorEnable(rfvalShipAddress, enableship); </script> 5.7 RequiredFieldValidator RequiredFieldValidator

87 5 ASP CompareValidator RangeValidator ControlToCompare CompareValidator 1. ControlToValidate 2. ControlToValidate 3. ControlToCompare 4. ControlToCompare RangeValidator maximum minimum 5.8 Enabled Visible Display Enabled Visible Display Display=None Display=Dynamic Display=Static ("&nbsp") Visible=false ASP.NET Visible Visible=false Visible=false Enabled Enabled=false Visible=false Beta 1 ValidatorEnable Visible Enabled IsValid

88 88 5 ASP+ 5.9 CustomValidator CustomValidator Web CustomValidator tab CustomValidator CustomValidator ClientValidationFunction ClientValidationFunction CustomValidator C# public bool ServerValidation(object source, string value) { try { int i = int.fromstring(value); return ((i % 2) == 0); catch { return false; JScript Microsoft Internet Explorer VBScript <asp:customvalidator id="customval2" runat=server ErrorMessage=" 2 " ControlToValidate="txtCustomData" OnServerValidationFunction=ServerValidation ClientValidationFunction="CheckEven" /><br> Data Field : <asp:textbox id="txtcustomdata" runat="server" /> <script language=javascript> <!-- function CheckEven(source, value) { var val = parseint(value, 10); if (isnan(val)) return false; return ((val % 2) == 0);

89 5 ASP+ 89 // --> </script> CustomValidator RequiredFieldValidator CustomValidator ControlToValidate Beta1 ControlToValidate CheckBoxList tab Beta 1 change ValidatorHookupControl 5.10 ValidationPropertyAttribute HTML value DataGrid Calendar HTML RadioButtonList CheckBoxList 5.11 Web ASP.NET

90 90 5 ASP+ (a) (b) (c) 5-5 RequiredFieldValidator RegularExpressionValidator CompareValidator RangeValidator CompareValidator, CustomValidator Web id id 6-10 HTML ASP+ 1..html.asp.aspx 2. runat=server 3. ID name <html> <head>

91 5 ASP+ 91 <title> ;/title> </head> <body> <p> ID </p> <form runat=server> <table> <tr> <td> ID </td> <td><input type=text runat=server id=txtname></td> </tr> <tr> <td> </td> <td><input type=password runat=server id=txtpword></td> </tr> <tr> <td> </td> <td><input type=password runat=server id=txtrepword></td> </tr> <table><br> <input type=submit runat=server id=cmdsubmit value=submit> </form> </body> </html> 5-1

92 92 5 ASP+ RequiredFieldValidator (*) User ID RequiredFieldValidator <tr> <td> <asp:requiredfieldvalidator runat=server ControlToValidate=txtName ErrorMessage=" ID "> * </asp:requiredfieldvalidator> </td> <td>user ID:</td> <td><input type=text runat=server id=txtname></td> </tr> * ControlToValidate ID <asp:validationsummary runat=server headertext= /> ID RegularExpressionValidator

93 5 ASP+ 93 ID <td> <input type=text runat=server id=txtname> <asp:regularexpressionvalidator runat=server ControlToValidate="txtName" ErrorMesage=" 6-10 " ValidationExpression="[a-zA-Z]{6,10" /> </td> <asp:regularexpressionvalidator runat=server display=dynamic ControlToValidate="txtPWord" " /> <asp:regularexpressionvalidator runat=server display=dynamic ControlToValidate="txtPWord" ErrorMessage=" 4-12 " ValidationExpression="[\S{4,12" /> CompareValidator

94 94 5 ASP+ <asp:comparevalidator runat=server ControlToValidate=txtRePWord ControlToCompare=txtPWord ErrorMessage=" " /> CompareValidator a C Sharp public bool CheckID(Object source, string value){ return value.substring(0, 1).tolower()!= "a"; CustomValidator <asp:customvalidator runat=server controltovalidate="txtname" errormessage="id " OnServerValidationFunction="CheckID" /> IsValid public OnSubmit(Object source, EventArgs e){ if (Page.IsValid){ // ; 5-4

95 5-4 5 ASP+ 95

96 6.1 ASP.NET <!-- --> <asp:textbox id= width=200px maxlength=60 runat=server /> runat=server html JavaScript VBScript <!-- -> --> <asp:requiredfieldvalidator id=" reqval" ControlToValidate=" " ErrorMessage=" . " Display="Dynamic" Font-Name="Verdana" Font-Size="12" runat=server> * </asp:requiredfieldvalidator> ControlToValidate=" " TextBox id= Display Dynamic * <!-- -> --> <asp:regularexpressionvalidator id=" regexval" ControlToValidate=" " Display="Static" ValidationExpression="^[\w-]+@[\w-]+\.(com net org edu mil)$" Font-Name="Arial" Font-Size="11" runat=server> </asp:regularexpressionvalidator> ControlToValidate=" " ValidationExpression="^[\w-]+@[\w-]+\.

97 6 97 (com net org edu mil)$" <!-- -> --> <asp:comparevalidator id="comparevalidator1" ControlToValidate="passwd2" ControlToCompare="passwd" Display="Static" Font-Name="Arial" Font-Size="11" runat=server> </asp:comparevalidator> ControlToValidate="passwd2" ControlToCompare="passwd" csbook\form\all.aspx <html> <body> <br><br><br> <center> <h3><font face="verdana">.net-> </font></h3> </center> <form method=post runat=server> <hr width=600 size=1 noshade> <br><br> <center> <!-- --> <asp:validationsummary ID="valSum" runat="server" HeaderText=" :" DisplayMode="SingleParagraph" Font-Name="verdana" Font-Size="12" /> <p> <table border=0 width=600> <tr> <td align=right> <font face=arial size=2> :</font> </td> <td> <!-- --> <asp:textbox id= width=200px maxlength=60 runat=server /> </td>

98 98 6 <td> <!-- -> --> <asp:requiredfieldvalidator id=" reqval" ControlToValidate=" " ErrorMessage=" . " Display="Dynamic" Font-Name="Verdana" Font-Size="12" runat=server> * </asp:requiredfieldvalidator> <!-- -> --> <asp:regularexpressionvalidator id=" regexval" ControlToValidate=" " Display="Static" ValidationExpression="^[\w-]+@[\w-]+\.(com net org edu mil)$" Font-Name="Arial" Font-Size="11" runat=server> </asp:regularexpressionvalidator> </td> </tr> <tr> <td align=right> <font face=arial size=2> :</font> </td> <td> <!-- --> <asp:textbox id=passwd TextMode="Password" maxlength=20 runat=server/> </td> <td> <!-- -> --> <asp:requiredfieldvalidator id="passwdreqval" ControlToValidate="passwd" ErrorMessage="Password. " Display="Dynamic" Font-Name="Verdana" Font-Size="12" runat=server> * </asp:requiredfieldvalidator> <!-- -> --> <asp:regularexpressionvalidator id="passwdregexbal" ControlToValidate="passwd"

99 6 99 Display="Static" Font-Name="Arial" Font-Size="11" Width="100%" runat=server> </asp:regularexpressionvalidator> </td> </tr> <tr> <td align=right> <font face=arial size=2> :</font> </td> <td> <!-- ->--> <asp:textbox id=passwd2 TextMode="Password" maxlength=20 runat=server/> </td> <td> <!-- -> --> <asp:requiredfieldvalidator id="passwd2reqval" ControlToValidate="passwd2" ErrorMessage="Re-enter Password. " Display="Dynamic" Font-Name="Verdana" Font-Size="12" runat=server> * </asp:requiredfieldvalidator> <!-- -> --> <asp:comparevalidator id="comparevalidator1" ControlToValidate="passwd2" ControlToCompare="passwd" Display="Static" Font-Name="Arial" Font-Size="11" runat=server> </asp:comparevalidator> </td> </tr> </table> <p> <input runat="server" type=submit value=" "> <p> <hr width=600 size=1 noshade> </form>

100 100 6 </center> </body> </html>

101 6 101 HTML 6.2 ASP.NET ASP.NET RadioButtonList <!-- --> <ASP:RadioButtonList id=cctype Font-Name="Arial" RepeatLayout="Flow" runat=server> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> </ASP:RadioButtonList> Request.QueryString( cctype ) csbook\form\select.apsx <html> <body bgcolor="#ccccff"> <center> <br><br> <h3><font face="verdana">.net->!</font></h3> <br><br><br> </center> <form method=post runat=server> <hr width=600 size=1 noshade> <center> <asp:validationsummary ID="valSum" runat="server" HeaderText=" :" DisplayMode="SingleParagraph" Font-Name="verdana" Font-Size="12" /> <p> <!-- -->

102 102 6 <table border=0 width=600> <tr> <td colspan=3> <center> <font face=arial size=2><b> </b></font> </center> </td> </tr> <tr> <td align=right> <font face=arial size=2> :</font> </td> <td> <!-- --> <ASP:RadioButtonList id=cctype Font-Name="Arial" RepeatLayout="Flow" runat=server> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> </ASP:RadioButtonList> </td> <td> <asp:requiredfieldvalidator id="cctypereqval" ControlToValidate="ccType" ErrorMessage=". " Display="Static" InitialValue="" Font-Name="Verdana" Font-Size="12" runat=server> * </asp:requiredfieldvalidator> </td> </tr> </table> <p> <input runat="server" type=submit value=" "> <p> <hr width=600 size=1 noshade> </form> </center> </body> </html> 6-3

103 <asp:checkboxlist id=check1 runat="server"> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> </asp:checkboxlist>

104 104 6 CheckBoxList ' Sub Button1_Click(sender As Object, e As EventArgs) Dim s As String = " :<br>" Dim i As Int32 For i = 0 to Check1.Items.Count-1 If Check1.Items(i).Selected Then ' s = s & Check1.Items(i).Text s = s & "<br>" End If Next ' Label1.Text = s End Sub csbook\form\select01.aspx <html> <head> <script language="vb" runat="server"> ' Sub Button1_Click(sender As Object, e As EventArgs) Dim s As String = " :<br>" Dim i As Int32 For i = 0 to Check1.Items.Count-1 If Check1.Items(i).Selected Then ' s = s & Check1.Items(i).Text s = s & "<br>" End If Next ' Label1.Text = s End Sub </script> </head> <body bgcolor="#ccccff"> <br><br><br>

105 6 105 <center> <h3><font face="verdana">.net->checkboxlist</font></h3> </center> <br><br> <center> <form runat=server> ' <asp:checkboxlist id=check1 runat="server"> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> <asp:listitem> </asp:listitem> </asp:checkboxlist> <p> runat="server"/> <asp:button id=button1 Text=" " onclick="button1_click" <p> <asp:label id=label1 font-name="verdana" font-size="8pt" runat="server"/> </form> </center> </body> </html>

第一章 章标题-F2 上空24,下空24

第一章 章标题-F2 上空24,下空24 Web 9 XML.NET Web Web Service Web Service Web Service Web Service Web Service ASP.NET Session Application SOAP Web Service 9.1 Web Web.NET Web Service Web SOAP Simple Object Access Protocol 9.1.1 Web Web

More information

IsPostBack 2

IsPostBack 2 5 IsPostBack 2 TextBox 3 TextBox TextBox 4 TextBox TextBox 1 2 5 TextBox Columns MaxLength ReadOnly Rows Text TextMode TextMode MultiLine TextMode MultiLine True False TextMode MultiLine Password MulitLine

More information

RUN_PC連載_10_.doc

RUN_PC連載_10_.doc PowerBuilder 8 (10) Jaguar CTS ASP Jaguar CTS PowerDynamo Jaguar CTS Microsoft ASP (Active Server Pages) ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar CTS ASP Jaguar Server ASP

More information

untitled

untitled 1 .NET 利 [] [] 來 說 切 切 理 [] [ ] 來 說 拉 類 類 [] [ ] 列 連 Web 行流 來 了 不 不 不 流 立 行 Page 類 Load 理 Response 類 Write 料 Redirect URL Response.Write("!! ives!!"); Response.Redirect("WebForm2.aspx"); (1) (2) Web Form

More information

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM CHAPTER 6 SQL SQL SQL 6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM 3. 1986 10 ANSI SQL ANSI X3. 135-1986

More information

untitled

untitled 1 LinkButton LinkButton 連 Button Text Visible Click HyperLink HyperLink 來 立 連 Text ImageUrl ( ) NavigateUrl 連 Target 連 _blank _parent frameset _search _self 連 _top 例 sample2-a1 易 連 private void Page_Load(object

More information

untitled

untitled 12-1 -2 VC# Web Blog 12-1 -1-1 12-1.1-1 C:\ ChartModuleSample_CSharp\Application\2001\ Files\ 4096 KB 120 Web.Config httpruntime maxrequestlength executiontimeout 12-2

More information

Microsoft Word - 01.DOC

Microsoft Word - 01.DOC 第 1 章 JavaScript 简 介 JavaScript 是 NetScape 公 司 为 Navigator 浏 览 器 开 发 的, 是 写 在 HTML 文 件 中 的 一 种 脚 本 语 言, 能 实 现 网 页 内 容 的 交 互 显 示 当 用 户 在 客 户 端 显 示 该 网 页 时, 浏 览 器 就 会 执 行 JavaScript 程 序, 用 户 通 过 交 互 式 的

More information

WS_With_ASP.ppt

WS_With_ASP.ppt Web Service with ASP.NET 1 .NET ASP.NET HelloWorld.aspx VB.NET HTML Web My Amazon 2 .NET dot NET.NET Platform Internet.NET 3 .NET Framework.NET Framework.NET Framework 4 Microsoft.NET VB C++ C# JScript

More information

untitled

untitled 1 .NET sln csproj dll cs aspx 說 料 料 利 來 料 ( 來 ) 利 [] [] 來 說 切 切 理 [] [ ] 來 說 拉 類 類 [] [ ] 列 連 Web 行流 來 了 不 不 不 流 立 行 Page 類 Load 理 Click 滑 料 Response 列 料 Response HttpResponse 類 Write 料 Redirect URL Response.Write("!!

More information

2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF

2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF Chapter 2 WF 2.1 WF 2.2 2. XAML 2. 2 WF 1 T I P WF WF WF WF WF WF WF WF 2.1 WF WF WF WF WF WF WF WF WF WF EDI API WF Visual Studio Designer 1 2.1 WF Windows Workflow Foundation 2 WF 1 WF Domain-Specific

More information

VB程序设计教程

VB程序设计教程 高 等 学 校 教 材 Visual Basic 程 序 设 计 教 程 魏 东 平 郑 立 垠 梁 玉 环 石 油 大 学 出 版 社 内 容 提 要 本 书 是 按 高 等 学 校 计 算 机 程 序 设 计 课 程 教 学 大 纲 编 写 的 大 学 教 材, 主 要 包 括 VB 基 础 知 识 常 用 程 序 结 构 和 算 法 Windows 用 户 界 面 设 计 基 础 文 件 处

More information

untitled

untitled 1 Outline 料 類 說 Tang, Shih-Hsuan 2006/07/26 ~ 2006/09/02 六 PM 7:00 ~ 9:30 聯 ives.net@gmail.com www.csie.ntu.edu.tw/~r93057/aspnet134 度 C# 力 度 C# Web SQL 料 DataGrid DataList 參 ASP.NET 1.0 C# 例 ASP.NET 立

More information

多層次傳銷與獎金系統

多層次傳銷與獎金系統 醒 吾 技 術 學 院 資 訊 管 理 系 ( 五 專 部 ) 九 十 六 學 年 度 畢 業 專 題 多 層 次 傳 銷 與 獎 金 系 統 組 員 : 921506122 游 濬 瑋 921506126 陳 彥 宇 921506139 林 龍 華 921506144 陳 昶 志 921506149 楊 璧 如 指 導 老 師 : 汪 淵 老 師 中 華 民 國 九 十 七 年 一 月 十 一 醒

More information

前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii

前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii 前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii C# 7 More Effective C# C# C# C# C# C# Common Language Runtime CLR just-in-time

More information

epub 61-2

epub 61-2 2 Web Dreamweaver UltraDev Dreamweaver 3 We b We b We Dreamweaver UltraDev We b Dreamweaver UltraDev We b We b 2.1 Web We b We b D r e a m w e a v e r J a v a S c r i p t We b We b 2.1.1 Web We b C C +

More information

FY.DOC

FY.DOC 高 职 高 专 21 世 纪 规 划 教 材 C++ 程 序 设 计 邓 振 杰 主 编 贾 振 华 孟 庆 敏 副 主 编 人 民 邮 电 出 版 社 内 容 提 要 本 书 系 统 地 介 绍 C++ 语 言 的 基 本 概 念 基 本 语 法 和 编 程 方 法, 深 入 浅 出 地 讲 述 C++ 语 言 面 向 对 象 的 重 要 特 征 : 类 和 对 象 抽 象 封 装 继 承 等 主

More information

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F

1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F 1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET 2.0 2.0.NET Framework.NET Framework 2.0 ( 3).NET Framework 2.0.NET Framework ( System ) o o o o o o Boxing UnBoxing() o

More information

基于UML建模的管理管理信息系统项目案例导航——VB篇

基于UML建模的管理管理信息系统项目案例导航——VB篇 PowerBuilder 8.0 PowerBuilder 8.0 12 PowerBuilder 8.0 PowerScript PowerBuilder CIP PowerBuilder 8.0 /. 2004 21 ISBN 7-03-014600-X.P.. -,PowerBuilder 8.0 - -.TP311.56 CIP 2004 117494 / / 16 100717 http://www.sciencep.com

More information

untitled

untitled Data Source 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 8-1 Data Source 8-2 Data Source 8-3 Data Source 8-4 Data Source 8-5 DataSourceID 8-6 DataSourceMode 8-7 DataSource 8-8 8-9 Parameter Direction

More information

untitled

untitled PowerBuilder Tips 利 PB11 Web Service 年度 2 PB Tips PB9 EAServer 5 web service PB9 EAServer 5 了 便 web service 來說 PB9 web service 力 9 PB11 release PB11 web service 力更 令.NET web service PB NVO 論 不 PB 來說 說

More information

epub83-1

epub83-1 C++Builder 1 C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r C + + B u i l d e r 1.1 1.1.1 1-1 1. 1-1 1 2. 1-1 2 A c c e s s P a r a d o x Visual FoxPro 3. / C / S 2 C + + B u i l d e r / C

More information

Microsoft Office SharePoint Server MOSS Web SharePoint Web SharePoint 22 Web SharePoint Web Web SharePoint Web Web f Lists.asmx Web Web CAML f

Microsoft Office SharePoint Server MOSS Web SharePoint Web SharePoint 22 Web SharePoint Web Web SharePoint Web Web f Lists.asmx Web Web CAML f Web Chapter 22 SharePoint Web Microsoft Office SharePoint Server MOSS Web SharePoint Web SharePoint 22 Web 21 22-1 SharePoint Web Web SharePoint Web Web f Lists.asmx Web Web CAML f Views.asmx View SharePoint

More information

RUN_PC連載_8_.doc

RUN_PC連載_8_.doc PowerBuilder 8 (8) Web DataWindow ( ) DataWindow Web DataWindow Web DataWindow Web DataWindow PowerDynamo Web DataWindow / Web DataWindow Web DataWindow Wizard Web DataWindow Web DataWindow DataWindow

More information

p.2 1 <HTML> 2 3 <HEAD> 4 <TITLE> </TITLE> 5 </HEAD> 6 7 <BODY> 8 <H3><B> </B></H3> 9 <H4><I> </I></H4> 10 </BODY> </HTML> 1. HTML 1. 2.

p.2 1 <HTML> 2 3 <HEAD> 4 <TITLE> </TITLE> 5 </HEAD> 6 7 <BODY> 8 <H3><B> </B></H3> 9 <H4><I> </I></H4> 10 </BODY> </HTML> 1. HTML 1. 2. 2005-06 p.1 HTML HyperText Mark-up Language 1. HTML Logo, Pascal, C++, Java HTML 2. HTML (tag) 3. HTML 4. HTML 1. HTML 2. 3. FTP HTML HTML html 1. html html html cutehtmleasyhtml 2. wyswyg (What you see

More information

EJB-Programming-4-cn.doc

EJB-Programming-4-cn.doc EJB (4) : (Entity Bean Value Object ) JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Session Bean J2EE Session Façade Design Pattern Session Bean Session

More information

声 明 本 公 司 及 全 体 董 事 监 事 高 级 管 理 人 员 承 诺 不 存 在 任 何 虚 假 记 载 误 导 性 陈 述 或 重 大 遗 漏, 并 对 其 真 实 性 准 确 性 完 整 性 承 担 个 别 和 连 带 的 法 律 责 任 本 公 司 负 责 人 和 主 管 会 计 工

声 明 本 公 司 及 全 体 董 事 监 事 高 级 管 理 人 员 承 诺 不 存 在 任 何 虚 假 记 载 误 导 性 陈 述 或 重 大 遗 漏, 并 对 其 真 实 性 准 确 性 完 整 性 承 担 个 别 和 连 带 的 法 律 责 任 本 公 司 负 责 人 和 主 管 会 计 工 Shenzhen WitSoft Information Technology Co., Ltd. 主 办 券 商 二 〇 一 六 年 二 月 声 明 本 公 司 及 全 体 董 事 监 事 高 级 管 理 人 员 承 诺 不 存 在 任 何 虚 假 记 载 误 导 性 陈 述 或 重 大 遗 漏, 并 对 其 真 实 性 准 确 性 完 整 性 承 担 个 别 和 连 带 的 法 律 责 任 本

More information

摘 要 本 研 究 主 要 目 的 在 於 提 出 E 化 網 路 評 量 系 統 的 設 計, 並 從 事 上 述 系 統 的 建 置 工 作 為 驗 證 系 統 之 可 行 性, 以 國 小 五 年 級 自 然 與 生 活 科 技 科 為 範 例 給 學 生 和 老 師 進 行 試 用 除 進

摘 要 本 研 究 主 要 目 的 在 於 提 出 E 化 網 路 評 量 系 統 的 設 計, 並 從 事 上 述 系 統 的 建 置 工 作 為 驗 證 系 統 之 可 行 性, 以 國 小 五 年 級 自 然 與 生 活 科 技 科 為 範 例 給 學 生 和 老 師 進 行 試 用 除 進 國 立 台 中 師 範 學 院 教 育 測 驗 統 計 研 究 所 理 學 碩 士 論 文 指 導 教 授 : 鄭 富 森 博 士 E 化 網 路 評 量 系 統 - 以 國 小 五 年 級 自 然 與 生 活 科 技 為 例 研 究 生 : 陳 國 男 撰 中 華 民 國 九 十 四 年 六 月 I 摘 要 本 研 究 主 要 目 的 在 於 提 出 E 化 網 路 評 量 系 統 的 設 計,

More information

RunPC2_.doc

RunPC2_.doc PowerBuilder 8 (5) PowerBuilder Client/Server Jaguar Server Jaguar Server Connection Cache Thin Client Internet Connection Pooling EAServer Connection Cache Connection Cache Connection Cache Connection

More information

上海市教育考试院关于印发新修订的

上海市教育考试院关于印发新修订的 沪 教 考 院 社 考 2012 7 号 上 海 市 教 育 考 试 院 关 于 印 发 上 海 市 高 等 学 校 计 算 机 等 级 考 试 大 纲 (2012 年 修 订 ) 的 通 知 各 有 关 高 校 : 为 进 一 步 加 强 本 市 高 校 计 算 机 基 础 教 学 工 作, 推 进 学 校 更 加 科 学 合 理 地 设 置 计 算 机 基 础 课 程 及 安 排 教 学 内 容,

More information

VB控件教程大全

VB控件教程大全 Datagrid DataGrid1.Columns.Remove(0) ' 0 DataGrid1.Columns.Add(0).Caption= ' DataGrod1.Columns(0).DataField= Name ' Adodc1.Refresh DataGrid BackColor Font DataGrid CellPadding HTML CellSpacing HTML Width

More information

基于ECO的UML模型驱动的数据库应用开发1.doc

基于ECO的UML模型驱动的数据库应用开发1.doc ECO UML () Object RDBMS Mapping.Net Framework Java C# RAD DataSetOleDbConnection DataGrod RAD Client/Server RAD RAD DataReader["Spell"].ToString() AObj.XXX bug sql UML OR Mapping RAD Lazy load round trip

More information

untitled

untitled JavaEE+Android - 6 1.5-2 JavaEE web MIS OA ERP BOSS Android Android Google Map office HTML CSS,java Android + SQL Sever JavaWeb JavaScript/AJAX jquery Java Oracle SSH SSH EJB+JBOSS Android + 1. 2. IDE

More information

Microsoft PowerPoint - OPVB1基本VB.ppt

Microsoft PowerPoint - OPVB1基本VB.ppt 大 綱 0.VB 能 做 什 麼? CH1 VB 基 本 認 識 1.VB 歷 史 與 版 本 2.VB 環 境 簡 介 3. 即 時 運 算 視 窗 1 0.VB 能 做 什 麼? Visual Basic =>VB=> 程 式 設 計 語 言 => 設 計 程 式 設 計 你 想 要 的 功 能 的 程 式 自 動 化 資 料 庫 計 算 模 擬 遊 戲 網 路 監 控 實 驗 輔 助 自 動

More information

新・解きながら学ぶJava

新・解きながら学ぶJava 481! 41, 74!= 40, 270 " 4 % 23, 25 %% 121 %c 425 %d 121 %o 121 %x 121 & 199 && 48 ' 81, 425 ( ) 14, 17 ( ) 128 ( ) 183 * 23 */ 3, 390 ++ 79 ++ 80 += 93 + 22 + 23 + 279 + 14 + 124 + 7, 148, 16 -- 79 --

More information

untitled

untitled 1 行 行 行 行.NET 行 行 類 來 行 行 Thread 類 行 System.Threading 來 類 Thread 類 (1) public Thread(ThreadStart start ); Name 行 IsAlive 行 行狀 Start 行 行 Suspend 行 Resume 行 行 Thread 類 (2) Sleep 行 CurrentThread 行 ThreadStart

More information

untitled

untitled 1 Access 料 (1) 立 料 [] [] [ 料 ] 立 料 Access 料 (2) 料 [ 立 料 ] Access 料 (3) 料 料 料 料 料 料 欄 ADO.NET ADO.NET.NET Framework 類 來 料 料 料 料 料 Ex MSSQL Access Excel XML ADO.NET 連 .NET 料.NET 料 料來 類.NET Data Provider

More information

高 职 计 算 机 类 优 秀 教 材 书 目 * 序 号 书 号 (ISBN) 书 名 作 者 定 价 出 版 / 印 刷 日 期 ** 配 套 资 源 页 码 计 算 机 基 础 课 1 978-7-111-30658-0 计 算 机 应 用 基 础 刘 升 贵 29.00 2012 年 8 月

高 职 计 算 机 类 优 秀 教 材 书 目 * 序 号 书 号 (ISBN) 书 名 作 者 定 价 出 版 / 印 刷 日 期 ** 配 套 资 源 页 码 计 算 机 基 础 课 1 978-7-111-30658-0 计 算 机 应 用 基 础 刘 升 贵 29.00 2012 年 8 月 高 职 计 算 机 类 优 秀 教 材 书 目 * 序 号 书 号 (ISBN) 书 名 作 者 定 价 出 版 / 印 刷 日 期 ** 配 套 资 源 页 码 计 算 机 基 础 课 1 978-7-111-30658-0 计 算 机 应 用 基 础 刘 升 贵 29.00 2012 年 8 月 电 子 教 案 P1 2 978-7-111-27081-2 计 算 机 应 用 基 础 ( 第 2

More information

理 金 老 年

理 金 老 年 理 金 老 年 錄 論 料 料 料 理 料 論 識 六 立 行 行 料 說 說 立 料 行 參 錄 論 1 年 ASP Visual Basic 1.0 Microsoft ASP.net Visual Studio.NET 2003 理 路 力 力 精 理 度 料 量 識 料 料數 路 便 流 都 料 來 Internet HTML Hyper Text Markup LanguageWeb 讀

More information

Microsoft Word - PHP7Ch01.docx

Microsoft Word - PHP7Ch01.docx PHP 01 1-6 PHP PHP HTML HTML PHP CSSJavaScript PHP PHP 1-6-1 PHP HTML PHP HTML 1. Notepad++ \ch01\hello.php 01: 02: 03: 04: 05: PHP 06:

More information

Microsoft Word - 改版式网页全文.doc

Microsoft Word - 改版式网页全文.doc 第 4 章 Dreamweaver CS3 高 级 篇 4.1 表 单 概 述 表 单 是 用 来 收 集 浏 览 者 的 用 户 名 密 码 E-mail 地 址 个 人 爱 好 和 联 系 地 址 等 用 户 信 息 的 输 入 区 域 集 合 浏 览 者 填 写 表 单 的 方 式 一 般 是 输 入 文 本 选 择 单 选 按 钮 或 复 选 框 以 及 从 下 拉 列 表 框 中 选 择

More information

untitled

untitled 1 .NET 料.NET 料 料來 類.NET Data Provider SQL.NET Data Provider System.Data.SqlClient 料 MS-SQL OLE DB.NET Data Provider System.Data.OleDb 料 Dbase FoxPro Excel Access Oracle Access ODBC.NET Data Provider 料

More information

修改记录

修改记录 ASP.NET ADO.NET ASP ADO ADO ADO.NET Managed Provider (API) OLEDB ODBC ADO.NET Managed Provider DataSet 3.1.1 Managed Provider ADO ADO.NET ADO.NET Managed Provider Managed Provider DataSet MS SQL Managed

More information

untitled

untitled 1 Outline 數 料 數 數 列 亂數 練 數 數 數 來 數 數 來 數 料 利 料 來 數 A-Z a-z _ () 不 數 0-9 數 不 數 SCHOOL School school 數 讀 school_name schoolname 易 不 C# my name 7_eleven B&Q new C# (1) public protected private params override

More information

Microsoft Word - 第3章.doc

Microsoft Word - 第3章.doc Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck

More information

Microsoft Word - Ch06.docx

Microsoft Word - Ch06.docx Chapter 6-1 6-2 6-2 l ASP.NET 6-1 (theme) ASP.NET (skin).skin ButtonLabelHyperLink (cascading style sheet).css TreeView 1. 2. (page theme) (global theme) IIS l 6-3 6-1-1 (page theme) (global theme) App_Themes

More information

Microsoft PowerPoint - asp08.ppt

Microsoft PowerPoint - asp08.ppt 表單欄位驗證控制項 資科系林偉川 表單送回功能 (Postback) ASP.NET 應用程式是使用 Web 表單控制項讓使用者輸入或選取資料, 輸入的資料在客戶端是以表單送回功能, 將資料送回伺服端來進行處理, 預設是送到本身的 ASP.NET 程式, 其相關屬性如下所示 : Page 物件的 IsPostBack 屬性 : 檢查是否是第一次載入 ASP.NET 程式, 或是已經在客戶端執行過送回

More information

<4D6963726F736F667420576F7264202D20383439342D352DBED6D3F2CDF8D7E9BDA8D3EBB9DCC0EDCFEEC4BFBDCCB3CCD5FDCEC42E646F63>

<4D6963726F736F667420576F7264202D20383439342D352DBED6D3F2CDF8D7E9BDA8D3EBB9DCC0EDCFEEC4BFBDCCB3CCD5FDCEC42E646F63> 第 4 单 元 搭 建 自 己 的 Web 站 点 本 单 元 通 过 学 习 架 构 Web 服 务 器, 实 现 Web 服 务, 管 理 Web 站 点, 了 解 Web 站 点 服 务 器 的 架 构 个 人 空 间 和 虚 拟 主 机 的 概 念, 掌 握 IIS 组 件 的 安 装 Web 站 点 的 创 建 管 理 站 点 属 性 选 项 卡 的 配 置 管 理 等 知 识,Web 网

More information

Microsoft Word - A201101-1519.doc

Microsoft Word - A201101-1519.doc 5 10 15 20 25 30 基 于 ASP+ACCESS 的 辽 宁 工 程 技 术 大 学 考 试 网 的 设 计 与 开 发 董 强 1, 宋 喜 义 2 2**, 黄 培 泉 (1. 辽 宁 工 程 技 术 大 学 安 全 科 学 与 工 程 学 院, 辽 宁 阜 新 123000; 2. 辽 宁 工 程 技 术 大 学 实 验 实 训 中 心, 辽 宁 阜 新 123000) 摘 要

More information

穨文件1

穨文件1 2-1 Access 2000 Visual Basic Access 2000 97 Office Visual Basic Visual Basic Visual Basic VBA Visual Basic Visual Basic 2-1-1 Visual Basic Access Visual Basic ( ) 2-1 2-1 Visual Basic 2-1 Microsoft Access

More information

導讀 ASP.NET HTML ASP 第一篇 基礎篇第 1 章 認識 ASP.NET ASP.NET ASP.NET ASP.NET ASP.NET 第 2 章 認識 Visual Studio 20 開發環境 Visual Studio 20 Visual Studio 20 第二篇 C# 程式

導讀 ASP.NET HTML ASP 第一篇 基礎篇第 1 章 認識 ASP.NET ASP.NET ASP.NET ASP.NET ASP.NET 第 2 章 認識 Visual Studio 20 開發環境 Visual Studio 20 Visual Studio 20 第二篇 C# 程式 導讀 ASP.NET HTML ASP 第一篇 基礎篇第 1 章 認識 ASP.NET ASP.NET ASP.NET ASP.NET ASP.NET 第 2 章 認識 Visual Studio 20 開發環境 Visual Studio 20 Visual Studio 20 第二篇 C# 程式語言篇第 3 章 C# 程式語言基礎 C# C# 3.0 var 第 4 章 基本資料處理 C# x

More information

软件概述

软件概述 Cobra DocGuard BEIJING E-SAFENET SCIENCE & TECHNOLOGY CO.,LTD. 2003 3 20 35 1002 010-82332490 http://www.esafenet.com Cobra DocGuard White Book 1 1....4 1.1...4 1.2 CDG...4 1.3 CDG...4 1.4 CDG...5 1.5

More information

1.JasperReport ireport JasperReport ireport JDK JDK JDK JDK ant ant...6

1.JasperReport ireport JasperReport ireport JDK JDK JDK JDK ant ant...6 www.brainysoft.net 1.JasperReport ireport...4 1.1 JasperReport...4 1.2 ireport...4 2....4 2.1 JDK...4 2.1.1 JDK...4 2.1.2 JDK...5 2.1.3 JDK...5 2.2 ant...6 2.2.1 ant...6 2.2.2 ant...6 2.3 JasperReport...7

More information

CHAPTER 1

CHAPTER 1 CHAPTER 1 1-1 System Development Life Cycle; SDLC SDLC Waterfall Model Shelly 1995 1. Preliminary Investigation 2. System Analysis 3. System Design 4. System Development 5. System Implementation and Evaluation

More information

untitled

untitled ArcGIS Server Web services Web services Application Web services Web Catalog ArcGIS Server Web services 6-2 Web services? Internet (SOAP) :, : Credit card authentication, shopping carts GIS:, locator services,

More information

A-1 HTML A-1-1 HTML 1 HTML JSP HTML HTML HTML JSP A HTML HTML HTML HTML HTML HTML HTML HTML.htm.html HTML Windows NotePad HTML IE [ / ] NotePad A-2

A-1 HTML A-1-1 HTML 1 HTML JSP HTML HTML HTML JSP A HTML HTML HTML HTML HTML HTML HTML HTML.htm.html HTML Windows NotePad HTML IE [ / ] NotePad A-2 HTML A-1 HTML A-2 A-2 HTML A-8 A-3 A-14 A-4 A-26 A-5 A-30 A-6 A-42 A-1 HTML A-1-1 HTML 1 HTML JSP HTML HTML HTML JSP A HTML HTML HTML HTML HTML HTML HTML HTML.htm.html HTML Windows NotePad HTML IE [ /

More information

國家圖書館典藏電子全文

國家圖書館典藏電子全文 EAI EAI Middleware EAI 3.1 EAI EAI Client/Server Internet,www,Jav a 3.1 EAI Message Brokers -Data Transformation Business Rule XML XML 37 3.1 XML XML XML EAI XML 1. XML XML Java Script VB Script Active

More information

untitled

untitled .Net ADF ArcGIS Server ESRI ( ) .NET (ADF.NET) ADF.NET Web Controls Demo .NET (ADF.NET) ADF.NET ArcGIS Web C# and VB.NET Web Server Page Layout, Map, TOC, Overview Map ArcGIS Server.NET ? GIS web ArcGIS

More information

(CIP) Web /,. :,2005. 1 ISBN 7 81058 782 X.W............T P393.4 CIP (2004) 118797 Web ( 99 200436) ( http:/ / www.shangdapress.com 66135110) : * 787

(CIP) Web /,. :,2005. 1 ISBN 7 81058 782 X.W............T P393.4 CIP (2004) 118797 Web ( 99 200436) ( http:/ / www.shangdapress.com 66135110) : * 787 Web (CIP) Web /,. :,2005. 1 ISBN 7 81058 782 X.W............T P393.4 CIP (2004) 118797 Web ( 99 200436) ( http:/ / www.shangdapress.com 66135110) : * 787 1092 1/ 16 30.75 748 2005 1 1 2005 1 1 : 1 3 100

More information

mvc

mvc Build an application Tutor : Michael Pan Application Source codes - - Frameworks Xib files - - Resources - ( ) info.plist - UIKit Framework UIApplication Event status bar, icon... delegation [UIApplication

More information

ebook215-5

ebook215-5 5 X M L X M L Document Object Model D O M 5.1 We b We b We b W 3 C W3C DOM W3C DOM D O D O M D O M D O D O M H T M L X M L 5.1.1 XML X M L X M L 5-1 X M L 112 XML 5-2 P R O D U C T P l u t o n i u m L

More information

untitled

untitled ADF Web ArcGIS Server ADF GeocodeConnection control 4-2 Web ArcGIS Server Application Developer Framework (ADF).NET interop semblies.net Web ADF GIS Server 4-3 .NET ADF Web Represent the views in ArcMap

More information

<ADB6ADB1C25EA8FAA6DB2D4D56432E706466>

<ADB6ADB1C25EA8FAA6DB2D4D56432E706466> packages 3-31 PART 3-31 03-03 ASP.NET ASP.N MVC ASP.NET ASP.N MVC 4 ASP.NET ASP.NE MVC Entity Entity Framework Code First 2 TIPS Visual Studio 20NuGetEntity NuGetEntity Framework5.0 CHAPTER 03 59 3-3-1

More information

(DMO) 1 1 Microsoft Windows SQL Server 2005 SQL Server Analysis ServicesNotification Services SQL Server 8 SQL Server IP SQL Server 2005 SQL Server 20

(DMO) 1 1 Microsoft Windows SQL Server 2005 SQL Server Analysis ServicesNotification Services SQL Server 8 SQL Server IP SQL Server 2005 SQL Server 20 Microsoft.com Go SQL Server Windows Server System > SQL Server 2005 SQL Server 2005 SQL Server TechCenter SQL SQL Server Server 2005 (IT) SQL Server SQL Server 2005 IT SQL Server 2005 SQL Server 2005 SQL

More information

1. 2. Flex Adobe 3.

1. 2. Flex Adobe 3. 1. 2. Flex Adobe 3. Flex Adobe Flex Flex Web Flex Flex Flex Adobe Flash Player 9 /rich Internet applications/ria Flex 1. 2. 3. 4. 5. 6. SWF Flash Player Flex 1. Flex framework Adobe Flex 2 framework RIA

More information

摘 要 在 這 忙 碌 的 社 會 中, 普 遍 人 們 運 動 時 間 其 實 並 不 充 裕, 體 力 越 來 越 差 的 情 況 下 還 隨 意 飲 食 導 致 身 體 健 康 越 來 越 差, 因 此 本 專 題 打 算 利 用 健 康 飲 食 的 方 式 改 善 這 些 人 的 體 質,

摘 要 在 這 忙 碌 的 社 會 中, 普 遍 人 們 運 動 時 間 其 實 並 不 充 裕, 體 力 越 來 越 差 的 情 況 下 還 隨 意 飲 食 導 致 身 體 健 康 越 來 越 差, 因 此 本 專 題 打 算 利 用 健 康 飲 食 的 方 式 改 善 這 些 人 的 體 質, 元 培 科 技 大 學 資 訊 管 理 系 畢 業 專 題 健 康 飲 食 網 站 計 畫 書 指 導 老 師 : 林 侑 賢 老 師 組 員 : 陳 佑 伊 (971408067) 張 祥 庭 (971408084) 黃 聖 哲 (971408098) 劉 潤 婷 (971408106) 中 華 民 國 一 百 年 十 二 月 摘 要 在 這 忙 碌 的 社 會 中, 普 遍 人 們 運 動 時

More information

PowerPoint プレゼンテーション

PowerPoint プレゼンテーション Perl CGI 1 Perl CGI 2 Perl CGI 3 Perl CGI 4 1. 2. 1. #!/usr/local/bin/perl 2. print "Content-type: text/html n n"; 3. print " n"; 4. print " n"; 3. 4.

More information

5-1 nav css 5-2

5-1 nav css 5-2 5 HTML CSS HTML CSS Ê Ê Ê Ê 5-1 nav css 5-2 5-1 5 5-1-1 5-01 css images 01 index.html 02 5-3 style.css css 03 CH5/5-01/images 04 images index.html style.css 05

More information

EJB-Programming-3.PDF

EJB-Programming-3.PDF :, JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Value Object Design Pattern J2EE Design Patterns Value Object Value Object Factory J2EE EJB Test Client

More information

Yih-Chuan Lin Tsung-Han Wu Hsin-Te Wu Hsiao-Hui Hsu Department of Computer Science and Information Engineering Shu-Te University

Yih-Chuan Lin Tsung-Han Wu Hsin-Te Wu Hsiao-Hui Hsu Department of Computer Science and Information Engineering Shu-Te University 2003 6 Yih-Chuan Lin Tsung-Han Wu Hsin-Te Wu Hsiao-Hui Hsu Department of Computer Science and Information Engineering Shu-Te University E-mail: yclin@mail.stu.edu.tw Web Mobile Device Web Service Web Service

More information

全 国 高 等 职 业 教 育 规 划 教 材 21 世 纪 高 职 高 专 规 划 教 材 系 列 高 等 职 业 教 育 计 算 机 专 业 规 划 教 材 选 题 征 集 通 知 一 选 题 范 围 ( 不 仅 限 于 此 ) 选 题 方 向 选 题 名 计 算 机 基 础 计 算 机 应 用

全 国 高 等 职 业 教 育 规 划 教 材 21 世 纪 高 职 高 专 规 划 教 材 系 列 高 等 职 业 教 育 计 算 机 专 业 规 划 教 材 选 题 征 集 通 知 一 选 题 范 围 ( 不 仅 限 于 此 ) 选 题 方 向 选 题 名 计 算 机 基 础 计 算 机 应 用 刘 瑞 新 金 牌 作 者 经 典 作 品 教 授, 计 算 机 专 业 资 深 学 科 带 头 人, 多 部 著 作 获 得 全 国 优 秀 畅 销 书 奖 他 所 编 写 的 教 材 内 容 均 来 自 教 学 实 践, 是 对 编 写 讲 义 教 学 修 改 教 学 讲 义 再 次 教 学 整 个 过 程 的 精 确 提 炼, 因 此 对 促 进 教 师 教 学 学 生 学 习 发 挥 了 重

More information

untitled

untitled 21 Visual FoxPro Visual FoxPro 6.0 11 Visual FoxPro Visual FoxPro CIP Visual FoxPro 2004 21 ISBN 7-03-014834-7 V Visual FoxPro TP311.138 CIP 2004 143035 16 100717 http://www.sciencep.com * 2004 12 7871092

More information

一 個 SQL Injection 實 例 的 啟 示 頁 2 / 6 因 此, 在 知 名 網 站 上 看 到 SQL Injection, 讓 人 驚 心, 卻 不 意 外 網 站 專 案 外 包 是 目 前 業 界 的 常 態, 而 在 價 格 取 勝 的 制 度 下, 低 價 得 標 的 S

一 個 SQL Injection 實 例 的 啟 示 頁 2 / 6 因 此, 在 知 名 網 站 上 看 到 SQL Injection, 讓 人 驚 心, 卻 不 意 外 網 站 專 案 外 包 是 目 前 業 界 的 常 態, 而 在 價 格 取 勝 的 制 度 下, 低 價 得 標 的 S 一 個 SQL Injection 實 例 的 啟 示 頁 1 / 6 你 的 網 站 在 裸 奔 嗎? 一 個 SQL Injection 實 例 的 啟 示 作 者 : 李 明 儒 SQL Injection( 資 料 隱 碼 攻 擊 ) 問 題 早 就 不 是 什 麼 新 聞, 但 前 陣 子 在 一 個 頗 具 知 名 度 的 活 動 網 站 上, 赫 然 發 現 它 大 刺 刺 地 現 身!

More information

IBM Rational ClearQuest Client for Eclipse 1/ IBM Rational ClearQuest Client for Ecl

IBM Rational ClearQuest Client for Eclipse   1/ IBM Rational ClearQuest Client for Ecl 1/39 Balaji Krish,, IBM Nam LeIBM 2005 4 15 IBM Rational ClearQuest ClearQuest Eclipse Rational ClearQuest / Eclipse Clien Rational ClearQuest Rational ClearQuest Windows Web Rational ClearQuest Client

More information

CC213

CC213 : (Ken-Yi Lee), E-mail: feis.tw@gmail.com 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,

More information

untitled

untitled SAP SAP Business One ... 4 SAP Business One... 5... 5 SAP Business One... 7 SAP Business One... 8... 8... 8... 9... 10... 11 mysap Business Suite... 12... 13... 14 Copyright 2004 SAP AG. All rights reserved.

More information

SiteView技术白皮书

SiteView技术白皮书 SiteView ECC V6.2 技 术 白 皮 书 游 龙 网 络 科 技 ( 中 国 ) 有 限 公 司 DragonFlow Networks(China),Inc. 目 录 第 一 章 产 品 概 述... 3 第 二 章 系 统 结 构... 6 一 系 统 架 构... 7 1 用 户 管 理 模 块... 7 2 Web Server... 8 3 存 储 加 密 模 块... 8

More information

NIIT APP T ECH,,,,,, C++ : C++, C++,,, C++,,,,, : 010-62782989 13501256678 13801310933,,,, ;,, ( CIP) C++ /,,. :,2005.4 (21.) ISBN 7-302-10506-5. C..

NIIT APP T ECH,,,,,, C++ : C++, C++,,, C++,,,,, : 010-62782989 13501256678 13801310933,,,, ;,, ( CIP) C++ /,,. :,2005.4 (21.) ISBN 7-302-10506-5. C.. NIIT APP T ECH,,,,,, C++ : C++, C++,,, C++,,,,, : 010-62782989 13501256678 13801310933,,,, ;,, ( CIP) C++ /,,. :,2005.4 (21.) ISBN 7-302-10506-5. C.. C - - : -. T P312 CIP (2005 ) 011979 : : ht tp :/ /

More information

本 课 程 作 为 非 计 算 机 专 业 本 科 通 识 课 程, 是 一 门 理 论 和 实 践 紧 密 结 合 的 实 用 课 程, 内 容 包 括 计 算 机 基 础 部 分 和 程 序 设 计 部 分 计 算 机 基 础 部 分 涵 盖 计 算 机 软 硬 件 组 成 数 制 表 示 操

本 课 程 作 为 非 计 算 机 专 业 本 科 通 识 课 程, 是 一 门 理 论 和 实 践 紧 密 结 合 的 实 用 课 程, 内 容 包 括 计 算 机 基 础 部 分 和 程 序 设 计 部 分 计 算 机 基 础 部 分 涵 盖 计 算 机 软 硬 件 组 成 数 制 表 示 操 计 算 机 基 础 部 程 序 设 计 类 课 程 介 绍 1. Java 语 言 程 序 设 计 Java 简 介 Java 是 一 种 开 放 的 可 以 撰 写 跨 平 台 应 用 程 序 的 面 向 对 象 的 程 序 设 计 语 言 Java 技 术 具 有 卓 越 的 通 用 性 高 效 性 平 台 移 植 性 和 安 全 性, 广 泛 应 用 于 PC 数 据 中 心 科 学 超 级

More information

2 ADO.NET Internet 1.2

2 ADO.NET Internet 1.2 C H A P T E R 1 ADO.NET XML ADO.NET ADO.NET.NET Framework.NET XML ADO.NET.NET Microsoft Visual Studio 200 ADO.NET ADO.NET 2 ADO.NET 1 1.1 1.1 1.1 1.2 Internet 1.2 1.1 Internet 2 1.2 (Internet) Web 1. ADO.NET

More information

<4D F736F F D D342DA57CA7DEA447B14D2DA475B57BBB50BADEB27AC3FEB14DA447B8D5C344>

<4D F736F F D D342DA57CA7DEA447B14D2DA475B57BBB50BADEB27AC3FEB14DA447B8D5C344> 1. 請 問 誰 提 出 積 體 電 路 (IC) 上 可 容 納 的 電 晶 體 數 目, 約 每 隔 24 個 月 (1975 年 更 改 為 18 個 月 ) 便 會 增 加 一 倍, 效 能 也 將 提 升 一 倍, 也 揭 示 了 資 訊 科 技 進 步 的 速 度? (A) 英 特 爾 (Intel) 公 司 創 始 人 戈 登. 摩 爾 (Gordon Moore) (B) 微 軟 (Microsoft)

More information

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

KillTest 质量更高 服务更好 学习资料   半年免费更新服务 KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 70-536Chinese(C++) Title : TS:MS.NET Framework 2.0-Application Develop Foundation Version : DEMO 1 / 10 1. Exception A. Data B. Message C.

More information

TopTest_Adminstrator.doc

TopTest_Adminstrator.doc 壹 前 言... 3 貳 系 統 簡 介... 4 一 TKB multimedia Top-Test 系 統 架 構...4 1. 使 用 者 介 面 層 (Presentation tier)...5 2. 商 業 邏 輯 層 (business logic tier)...5 3. 資 料 服 務 層 (data services tier)...5 二 TKB Multimedia Top-Test

More information

Microsoft Word - 书目文件.doc

Microsoft Word - 书目文件.doc 计 算 机 类 算 法 与 程 序 设 计 类 1 11025 数 据 结 构 ( 第 三 版 ) 十 一 五 国 家 级 规 划 教 材 刘 振 鹏 等 28.00 2010.5 本 科 2 11563 数 据 结 构 习 题 解 答 与 实 验 指 导 ( 第 三 版 ) 石 强 等 21.00 2010.7 本 科 3 07628 数 据 结 构 与 算 法 王 昆 仑 35.00 2007.6

More information

ii Vue Bootstrap 4 ES 6 Vue Vue Bootstrap 4 ES 6 Vue 2 vue html vue html vue Vue HTML 5 CSS ES 6 HTML 5 CSS Visual Studio Code h

ii Vue Bootstrap 4 ES 6 Vue Vue Bootstrap 4 ES 6 Vue 2 vue html vue html vue Vue HTML 5 CSS ES 6 HTML 5 CSS Visual Studio Code h ii Vue Bootstrap 4 ES 6 Vue Vue Bootstrap 4 ES 6 Vue 2 vue010101.html vue010104.html vue0101 01 04 Vue HTML 5 CSS ES 6 HTML 5 CSS Visual Studio Code https://code.visualstudio.com/ Chrome XAMP Visual Studio

More information

(京)新登字063号

(京)新登字063号 教 育 部 职 业 教 育 与 成 人 教 育 司 推 荐 教 材 Java 程 序 设 计 教 程 ( 第 二 版 ) 沈 大 林 主 编 沈 昕 肖 柠 朴 曾 昊 等 编 著 内 容 简 介 Java 是 由 美 国 SUN 公 司 开 发 的 一 种 功 能 强 大 的, 具 有 简 单 面 向 对 象 分 布 式 可 移 植 等 性 能 的 多 线 程 动 态 计 算 机 编 程 语 言

More information

Learning Java

Learning Java Java Introduction to Java Programming (Third Edition) Prentice-Hall,Inc. Y.Daniel Liang 2001 Java 2002.2 Java2 2001.10 Java2 Philip Heller & Simon Roberts 1999.4 Java2 2001.3 Java2 21 2002.4 Java UML 2002.10

More information

CHAPTER VC#

CHAPTER VC# 1. 2. 3. 4. CHAPTER 2-1 2-2 2-3 2-4 VC# 2-5 2-6 2-7 2-8 Visual C# 2008 2-1 Visual C# 0~100 (-32768~+32767) 2 4 VC# (Overflow) 2-1 2-2 2-1 2-1.1 2-1 1 10 10!(1 10) 2-3 Visual C# 2008 10! 32767 short( )

More information

<4D6963726F736F667420576F7264202D20C9CFBAA3CAD0BCC6CBE3BBFAB5C8BCB6BFBCCAD4C8FDBCB6BFBCCAD4B4F3B8D95FBDA8D2E9B8E55F5F303632352E646F63>

<4D6963726F736F667420576F7264202D20C9CFBAA3CAD0BCC6CBE3BBFAB5C8BCB6BFBCCAD4C8FDBCB6BFBCCAD4B4F3B8D95FBDA8D2E9B8E55F5F303632352E646F63> 上 海 市 高 等 学 校 计 算 机 等 级 考 试 ( 三 级 ) 考 试 大 纲 -- 建 议 稿 -- 2007-6-25 25 目 录 上 海 市 高 等 学 校 计 算 机 等 级 考 试 三 级 总 体 说 明 -----------------1 三 级 ( 计 算 机 系 统 与 网 络 技 术 ) 考 试 大 纲 ---------------------2 三 级 ( 管 理

More information

09 (File Processes) (mkdir) 9-3 (createnewfile) 9-4 (write) 9-5 (read) 9-6 (deletefile) 9-7 (deletedir) (Exercises)

09 (File Processes) (mkdir) 9-3 (createnewfile) 9-4 (write) 9-5 (read) 9-6 (deletefile) 9-7 (deletedir) (Exercises) 09 (File Processes) 9-1 9-2 (mkdir) 9-3 (createnewfile) 9-4 (write) 9-5 (read) 9-6 (deletefile) 9-7 (deletedir) (Exercises) Java Servlet 9-1 Servlet (File Processes) Client Servlet Servlet Java Java (Stream)

More information

概述

概述 OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3

More information

untitled

untitled 1 Outline 類别 欄 (1) 類 類 狀 更 易 類 理 若 類 利 來 利 using 來 namespace 類 ; (2) namespace IBM class Notebook namespace Compaq class Notebook 類别 類 來 類 列 欄 (field) (property) (method) (event) 類 例 立 來 車 類 類 立 車 欄 料

More information

untitled

untitled 01 1-1 PHP 1-2 PHP 1-3 MySQL 1-4 1-5 http://w3techs.com/technologies/history_overview/programming_language w3techs.com (Server-side) 2012 7 77.8% PHP PHP PHP PHP 1-1 PHP PHP HTML Script Windows ASP(Active

More information

05 01 accordion UI containers 03 Accordion accordion UI accordion 54

05 01 accordion UI containers 03 Accordion accordion UI accordion 54 jquery UI plugin Accordion 05 01 accordion UI containers 03 Accordion accordion UI accordion 54 05 jquery UI plugin 3-1

More information

Microsoft PowerPoint - ch6 [相容模式]

Microsoft PowerPoint - ch6 [相容模式] UiBinder wzyang@asia.edu.tw UiBinder Java GWT UiBinder XML UI i18n (widget) 1 2 UiBinder HelloWidget.ui.xml: UI HelloWidgetBinder HelloWidget.java XML UI Owner class ( Composite ) UI XML UiBinder: Owner

More information

1 1 大概思路 创建 WebAPI 创建 CrossMainController 并编写 Nuget 安装 microsoft.aspnet.webapi.cors 跨域设置路由 编写 Jquery EasyUI 界面 运行效果 2 创建 WebAPI 创建 WebAPI, 新建 -> 项目 ->

1 1 大概思路 创建 WebAPI 创建 CrossMainController 并编写 Nuget 安装 microsoft.aspnet.webapi.cors 跨域设置路由 编写 Jquery EasyUI 界面 运行效果 2 创建 WebAPI 创建 WebAPI, 新建 -> 项目 -> 目录 1 大概思路... 1 2 创建 WebAPI... 1 3 创建 CrossMainController 并编写... 1 4 Nuget 安装 microsoft.aspnet.webapi.cors... 4 5 跨域设置路由... 4 6 编写 Jquery EasyUI 界面... 5 7 运行效果... 7 8 总结... 7 1 1 大概思路 创建 WebAPI 创建 CrossMainController

More information

WebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile..

WebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile.. WebSphere Studio Application Developer IBM Portal Toolkit... 1/21 WebSphere Studio Application Developer IBM Portal Toolkit Portlet Doug Phillips (dougep@us.ibm.com),, IBM Developer Technical Support Center

More information

PowerPoint Presentation

PowerPoint Presentation Visual Basic 2005 學 習 範 本 第 7 章 陣 列 的 活 用 7-1 陣 列 當 我 們 需 要 處 理 資 料 時, 都 使 用 變 數 來 存 放 資 料 因 為 一 個 變 數 只 能 代 表 一 個 資 料, 若 需 要 處 理 100 位 同 學 的 成 績 時, 便 要 使 用 100 個 不 同 的 變 數 名 稱, 這 不 但 會 增 加 變 數 名 稱 命 名

More information

Microsoft PowerPoint - asp07.ppt

Microsoft PowerPoint - asp07.ppt Web 控制項 資科系林偉川 Web 表單的 ViewState 狀態管理 顯示狀態 (ViewState) 屬於 ASP.NET 的機制, 它可以保留伺服端控制項的狀態, 也就是輸入的值, 例如 : 在 Web 表單擁有文字方塊控制項, 一旦輸入值, 不論表單送回 (Postback) 多少次, 除非更改控制項的值, 否則顯示狀態都能夠自動保留欄位值 2 1 ViewState 狀態管理的基礎 ASP.NET

More information

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File 51 C 51 51 C C C C C C * 2003-3-30 pnzwzw@163.com C C C C KEIL uvision2 MCS51 PLM C VC++ 51 KEIL51 KEIL51 KEIL51 KEIL 2K DEMO C KEIL KEIL51 P 1 1 1 1-1 - 1 Project New Project 1 2 Windows 1 3 N C test

More information