... _ ConfigurationManager.ConnectionStrings("DSN_Northwind").ConnectionString Dim MyCommand As SqlCommand = New SqlCommand() MyCommand.CommandText = "SELECT TOP 3 * FROM CUSTOMERS" MyCommand.CommandType = CommandType.Text MyCommand.Connection ... from Listing 8-8 creates a Command object using the SqlCommand class because you are interested in working with a SQL database....
Ngày tải lên: 05/07/2014, 18:20
... simple enough in ASP. NET 3. 5. Look at the code-behind page from Listing 1 -5. The code-behind page is rather simple in appearance because of the partial class capabilities that .NET 3. 5 provides. ... Page 13 Chapter 1: Application and Page Frameworks ASP. NET 3. 5 Page Directives ASP. NET directives are something that is a part of every ASP. NET page. You can...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 10 ppt
... routine. Which file types are compiled in the App_Code folder? As with most things in ASP. NET, this is deter- mined through settings applied in a configuration file. Listing 1-18 shows a snippet of configuration ... master Web.config file found in ASP. NET 3. 5. Listing 1-18: Reviewing the list of build providers < compilation > < buildProviders > < add extension=&q...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 12 pptx
... a good understanding of HTML. For more information on HTML, please read Wrox’s Beginning Web Programming with HTML, XHTML, and CSS (Wiley Publishing, Inc.; ISBN 978-0470- 25 931 -3) . You can also ... the styles directly to the tags contained in your ASP. NET pages. For instance, you apply a style to a string, as shown in Listing 2 -3. Listing 2 -3: Applying CSS styles directly to...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 15 ppt
... this writing is http://ws.strikeiron.com/InnerGears/ForecastByZip2?WSDL . For more information on working with Web services in your ASP. NET applications, check out Chapter 30 . After building and running ... the System.Web.UI.ICallbackEventHandler interface: Partial Class RandomNumber Inherits System.Web.UI.Page 94 Evjen c02.tex V2 - 01/28/2008 12 :31 pm Page 98 Chapter 2: ASP. NET...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 19 pptx
... to the table, as illustrated in Listing 3- 18. 139 Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 140 Chapter 3: ASP. NET Web Server Controls Listing 3- 18: Dynamically adding rows to the table VB Protected ... (RadioButton1.Checked == true) { Response.Write("You selected Visual Basic& quot;); Continued 1 35 Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 138 Chapter 3:...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 20 pptx
... dates in the selected range, Listing 3- 21 shows you how to get them. 144 Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 151 Chapter 3: ASP. NET Web Server Controls As you can see, working with individual ... = System.Drawing.Color.LightGray; } } < /script > 149 Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 1 45 Chapter 3: ASP. NET Web Server Controls Figure 3- 25 List...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 21 pptx
... the end user makes, as illustrated in Listing 3- 30. 159 Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 1 63 Chapter 3: ASP. NET Web Server Controls Listing 3- 33: Working with the HiddenField server control VB < %@ ... XPath="FilmChoices/Film" > 161 Evjen c 03. tex V2 - 01/28/2008 12 :33 pm Page 159 Chapter 3: ASP. NET Web Server Controls Figure 3- 34 To empl...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 28 pptx
... any other ASP. NET page. 234 Evjen c 05. tex V2 - 01/28/2008 12:47pm Page 229 Working with Master Pages Visual inheritance is a great new enhancement to your Web pages provided by ASP. NET 3. 5. This feature ... want. Figure 5 -3 shows the master page with a couple of content areas shown. 231 Evjen c 05. tex V2 - 01/28/2008 12:47pm Page 232 Chapter 5: Working with Master Pa...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 30 pptx
... Europe and Reuters America master pages simply create a master page that inherits from the global master page, as illustrated in Listing 5- 17. Listing 5- 17: The main master page ReutersMain.master < %@ ... into a single instance. Listing 5- 16 illustrates how to assign the master page programmatically from the content page. 251 Evjen c 05. tex V2 - 01/28/2008 12:47pm Page 254 C...
Ngày tải lên: 05/07/2014, 18:20