Tutorials to .com

Tutorials to .com » Dotnet » Foundation » .NET foundation

.NET foundation Articles


641: Event Calendar Web Control
Calendar Web Control events supported were OnDayRender, OnVisibleMonthChanged and OnSelectionChanged these three events, then we have to learn how to use. OnSelectionChanged events OnSelectionChanged events calendar control when users click on dif...

642: Style Calendar Web control objects
Calendar Web control supports a number of style objects can be more subtle so that we can show that the set of its appearance, the following table: The following examples of the custom Calendar Web control the appearance of: <Html> <Form...

643: Calendar Web control common attributes
Calendar Web control common attributes are described below in the table below: The following example shows a simple Calendar Web control: <Html> <Form Runat="Server"> <asp: Calendar id = "Calendar1" runat = &qu...

644: HTTP objects - Request object
ASP.NET provides the basis for a number of objects so that we use, we use in front of Response object, such as HTTP object belonging to one. These objects can provide us with a considerable number of features, such as web pages can be passed between...

645: To strengthen the editorial DataGrid Web control interface
The next more complicated issues, but after detailed studies to understand affinity can produce better user interface. Into the DataGrid Web control in the editing mode, you can customize some components of visual input in place of the user type in ...

646: Visual user interface
The example above, click the user name to use way to show the users had to buy things, so that the user interface aesthetics and intuition are not enough. Next, we make use of icons to click on since that was why the field and the field was Click to...

647: Output data of the Finishing touches
We present data in a time when, with particular attention to user interface design. A good user interface, in addition to aesthetics, but also allows users easy-to-use, as well as read data. Data format of the polished We present data in time, do ...

648: "Master / Detail" table
"Master / Detail" table used to show the correlation between data tables available. MyWeb database for example, there are two related data tables, data tables, respectively, as well as for members of orders data table; Member data table re...

649: Sort fields
To support the sorting features, as long as the DataGrid Web control AllowSorting property to True, and specify the sort to be carried out during the procedure can be. The following example to support the sort of function, the user can click on the ...

650: Advanced DataGrid Web control applications - the use of the Template Data Update
The above code example, the function of editing the data is not yet complete, it is not possible to amend the situation of updated records back to the data source. Next, we use EditCommandColumn, TemplateColumn procedures as well as some events will...

651: TemplateColumn
TemplateColumn allows us to customize the fields to be displayed Pattern. The use of grammar as follows: <ASP:TemplateColumn> FooterText = "Table footer text" HeaderImageUrl = "url" HeaderText = "Header Text" ...

652: Data update
The above example code will not be able to update the user changes made to the data source, then we will change the above-mentioned procedures have the ability to update data: <% @ Import Namespace = System.Data.ADO%> <% @ Import Namespac...

653: EditCommandColumn
EditCommandColumn the most important function is to use LinkButton or PushButton issued an order to edit the information, and DataGrid Web controls can be triggered by events. EditCommandColumn time to enter the edit mode will allow users to edit th...

654: ButtonColumn
BoundColumn most important function is to use LinkButton or PushButton to display a data source content field and DataGrid Web controls can be triggered by events. The use of grammar as follows: <ASP: ButtonColumn ButtonType = "LinkButton ...

655: BoundColumn
BoundColumn most important function is to use Label to display the data source of the contents of a field, the use of grammar as follows: <ASP: BoundColumn DataField = "DataSourceField" DataFormatString = "FormatString" Fo...

656: Custom field content
Because of the DataGrid Web control properties AutoGenerateColumn default True, that will automatically generate all of the data source field. If we want to customize the DataGrid Web control to display the field, as long as the AutoGenerateColumn p...

657: Style settings
DataGrid Web control objects also support a number of styles, these styles settings object in the seventh chapter we have discussed, we no longer discuss it in detail. The following code fragment sets the DataGrid Web control header and page styles ...

658: Paging function
Because of all the 37 T data show a significant too messy, so we will be the DataGrid Web control to open the paging capability. As long as the DataGrid Web control added to the declaration AllowPaging = "True", said the information page t...

659: The basis of the DataGrid Web Control Application
The following examples show the use of DataGrid Web control Members of CH08 directory data table, a total of 37 records: <% @ Import Namespace = System.Data.ADO%> <% @ Import Namespace = System.Data%> <!--# Include File = "Get...

660: Cancel, Delete, Edit, Item, Sort, Update event declaration
OnCancelCommand, OnDeleteCommand, OnEditCommand, OnItemCommand, OnSortCommand the six events, as well as procedures OnUpdateCommand declaration syntax, as follows: Sub Event Name (Sender As Object, e As DataGridCommandEventArgs) ... End Sub One ...


Page 33 of 35
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]   [10]   [11]   [12]   [13]   [14]   [15]   [16]   [17]   [18]   [19]   [20]   [21]   [22]   [23]   [24]   [25]   [26]   [27]   [28]   [29]   [30]   [31]   [32]   [33]   [34]   [35]