... ngang. Một c ch sử dụng kh c của Histogram là x c định đối tượng trong ảnh. Cho trư c một ảnh, c c điểm thu c đối tượng sẽ c m c xám tương tự. Bằng c ch phân tích chỗ lõm và đỉnh c a Histogram, ... ho c có độ tương phản cao hơn. Những thao t c này c thể th c hiện đư c bằng c ch chỉ ra một Histogram mong muốn và sau đó chuyển ảnh kết quả sao cho c histogram này. Phương pháp chỉ trư c ... liệu ảnh bằng c ch đ c dữ liệu ra c u tr c Bitmap information header. 4. C p phát bộ nhớ cho mảng ảnh. 5. Đ c thông tin ảnh ra mảng. 1.5.2.1. C u tr c để lưu trữ thông tin header struct BitmapFileHeader{ unsigned...
Ngày tải lên: 23/02/2014, 12:20
... 1433 Include Files 1435 Configuring ASP.NET Runtime Settings 1436 Configuring the ASP.NET Worker Process 1438 Storing Application-Speci c Settings 1440 Programming Configuration Files 1441 Protecting ... Configuration Settings Are Applied 1414 Detecting Configuration File Changes 1415 Configuration File Format 1415 Common Configuration Settings 1416 Connecting Strings 1416 Configuring Session State 1417 Compilation ... Objects 1298 Using Precompiled Business Objects in Your ASP.NET Applications 1301 COM Interop: Using COM Within .NET 1302 The Runtime Callable Wrapper 1303 Using COM Objects in ASP.NET Code 1304 Error...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 7 ppt
... the resulting assembly. Src Points to the source file of the class used for the code behind of the user control being rendered. Strict Compiles the user control using the Visual Basic Strict mode when set to True . ... is False . Inherits Specifies the CodeBehind class for the user control to inherit. Language Defines the language used for any inline rendering and script blocks. LinePragmas Boolean value that specifies whether line pragmas ... ( .master ). MasterType Associates a class name to a Page in order to get at strongly typed references or members contained within the specified master page. OutputCache Controls the output caching policies of a...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 10 ppt
... + selectionSpeedNode)); CodeTypeDeclaration ctd = new CodeTypeDeclaration(selectionMainNode); ctd.Members.Add(cmp1); ctd.Members.Add(cmp2); ctd.Members.Add(cmm1); cn.Types.Add(ctd); ccu.Namespaces.Add(cn); myAb.AddCodeCompileUnit(this, ... mainNode.Attributes["name"].Value; XmlNode colorNode = carXmlDoc.SelectSingleNode("/car/color"); string selectionColorNode = colorNode.InnerText; XmlNode doorNode = carXmlDoc.SelectSingleNode("/car/door"); string ... carXmlDoc.SelectSingleNode("/car/speed") Dim selectionSpeedNode As String = speedNode.InnerText Dim ccu As CodeCompileUnit = New CodeCompileUnit() Dim cn As CodeNamespace = New CodeNamespace() Dim cmp1 As CodeMemberProperty...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 12 pptx
... kind. ❑ Rich controls: Controls, such as the Calendar control, that display richer content and capabilities than other controls. ❑ Validation controls: Controls that interact with other form controls ... double-click the control for which you want to create a server-side event. For instance, double-clicking a Button server control in Design view creates the structure of the Button1_Click event within your ... is Button_Click , which is illustrated in Listing 2-2. Listing2-2:WorkingwithaButtonClickevent VB Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) ’ Code actions...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 15 ppt
... "}" Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), _ "UseCallback", cbScript, True) The function placed on the client for the callback capabilities is called UseCallback() .This string is then populated ... Function GetCallbackResult() As String _ Implements System.Web.UI.ICallbackEventHandler.GetCallbackResult Return _callbackResult End Function End Class C# (code-behind) using System; using System.Data; using ... _ "UseCallback", cbScript, True) End Sub End Class C# using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 19 pptx
... is set to Horizontal , you get the check box items laid out in a horizontal fashion: CheckBox1 CheckBox2 CheckBox3 CheckBox4 CheckBox5 CheckBox6 CheckBox7 CheckBox8 CheckBox9 CheckBox10 CheckBox11 ... buttons on the form is checked, the circle associated with the item selected appears filled in. Any other filled -in circle from the same group in the collection is removed, ensuring that only one of ... add a single row to a Table control, you have to create new instances of the TableRow and TableCell objects. You create the TableCell objects first and then place them within a TableRow object that...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 20 pptx
... are shown in Figure 3-27. In addition to changing the style of the Calendar control, you can w ork with the control during its ren- dering process. The Calendar control includes an event called DayRender that ... the DayRenderEventArgs class are Cell and Day .The Cell property gives you access to the space in which the day is being rendered, and the Day property gives you access to the speci c date being rendered in the cell. From ... The Xml control can work with your XML in a couple of different ways. T he simplest method is by using the construction shown in Listing 3-25. This control is covered in more detail in Chapter...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 21 pptx
... server control and using the Scroll- Bars attribute (in this case, set to Auto ), you can display the information it contains within the defined area using scrollbars (see Figure 3-29). As you can ... / > Turning off wrapping may cause the horizontal scrollbar to turn on (depending on what is contained in the panel section). If you do not want to let the ASP.NET engine choose which scrollbars ... with which you can add other controls. The capability to add controls to a page at a speci c point also works with the Panel control. To see how it works, insert a PlaceHolder control into your...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 28 pptx
... change. That’s not much fun and an ineffective use of your time! In the days of Classic Active Server Pages, one popular o ption was to put all the common sections into what was called an include ... used to; but content pages are declared as such within the file’s Page directive. You can place anything you want to be included as part of the template in the .master file. This can include the header, ... application. You will find t hat Visual Studio corrects some of the problems by rendering user-control content in the design view. User controls are ideal if you are including only small sections...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 30 pptx
... all the default content is at first populated in all the Content server controls. You can change the content b y clicking on the control’s smart tag and selecting the Create Custom Content option ... approach, and as such, the method call may fail if the control was removed from markup. Use defensive coding practices and always check for null when returning objects from FindControl() . Using ... assigned in the @Page directive. To accomplish this, you use this property through the PreInit event. The PreInit event is the earliest point in which you can access the Page lifecycle. For this reason,...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 31 ppt
... page child controls initialization:: All server controls contained within the master page are first initialized. ❑ Content page child controls initialization:: All server controls contained in the ... the content p age’s Page_Load event is triggered. Caching with Master Pages When working with typical .aspx pages, you can apply output caching to the page by using the following construct (or ... a single page at this point). The OutputCache directive placed in the master page does not cause the master page to produce an error, but it will not be cached. This directive works in the content page...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 37 pptx
... (!Page.IsPostBack) { // Create a new ConnectionStringSettings object and populate it ConnectionStringSettings conn = new ConnectionStringSettings(); conn.ConnectionString = "Server=localhost;User ... "password" builder.PersistSecurityInfo = true ’ Save the connection string back to the web.config ConfigurationManager.ConnectionStrings("AppConnectionString1").ConnectionString = _ builder.ConnectionString C# // ... separate configuration section has several advantages. First, .NET exposes the ConnectionString section using the ConnectionStringSettings class. This class contains a collection of all the connection strings...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 39 ppt
... runat="server" ConnectionString=" < %$ ConnectionStrings:NorthwindConnectionString % > " SelectCommand="SELECT DISTINCT [Country] FROM [Customers]" > < /asp:SqlDataSource > < /EditItemTemplate > < /asp:TemplateField > Notice ... mode. Normal Indicates the row is currently in a normal state. Selected Indicates the row is currently the selected row in the GridView. Note that in order to determine the current RowState correctly in ... [Customers]" ConnectionString=" < %$ ConnectionStrings:AppConnectionString1 % > " DataSourceMode="DataSet" DeleteCommand="DELETE From Customers WHERE (CustomerID = @CustomerID)" UpdateCommand="UPDATE...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 40 pptx
... ID="sqlDataSource2" runat="server" SelectCommand="SELECT * FROM [Customers]" InsertCommand="INSERT INTO [Customers] ([CustomerID], [CompanyName], [ContactName], [ContactTitle], ... BackColor="#738A 9C& quot; Font-Bold="True" >< /EditRowStyle > < /asp:DetailsView > < asp:SqlDataSource ID="SqlDataSource1" runat="server" SelectCommand="SELECT * FROM [Customers]" ConnectionString=" < %$ ConnectionStrings:AppConnectionString1 % > "/ > < asp:SqlDataSource ... DeleteCommand="DELETE FROM [Customers] WHERE [CustomerID] = @original_CustomerID" ConnectionString=" < %$ ConnectionStrings:AppConnectionString1 % > " > < InsertParameters > < asp:Parameter...
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 42 ppt
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 44 ppt
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 46 pptx
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 50 ppt
Ngày tải lên: 05/07/2014, 18:20
Professional ASP.NET 3.5 in C# and Visual Basic Part 55 pptx
Ngày tải lên: 05/07/2014, 18:20