Tutorials to .com

Tutorials to .com » Dotnet » Database » .Net Database

.Net Database Articles


201: DataRow problem of sequence
In. Net-ri, DataRow object type does not support serialization, then if the sequence of an object of type DataRow contains the field how to do? Well, fortunately Datatable support serialization of. Therefore, we can customize the behavior of seriali...

202: The preparation of Portable Data Access Layer
Abstract: Learn how to prepare a transparent use of different data sources (from Microsoft Access to SQL Server and Oracle RDBMS) intelligent applications. The content of this page Introduction The use of a common data access methods Use the bas...

203: Using keywords in the volume of data to delete
Using keywords in the volume of data to delete Original:Aberdeen Programming in WEB encounter frequently delete bulk data. Our normal practice is to be achieved through the circulation of the bulk of the deleted data. But the cycle of a program mo...

204: Commissioned (Delegate)
C # similar to C of the commission or C + + in the function pointer. Commissioned so that programmers can use to invoke methods of objects within the package in the commission. Object can then be passed to the commission cited the available methods ...

205: DataGrid cell in comparison
Share】 【cell DataGrid in comparison Engaged in for nearly half an hour before the test showed. Asp.NET in the DataGrid that the line that is DataRow. To live or die on the find. Months later to see DataGridItemCollection and DataGridItem Ti...

206: Automatically install the SQL Server database
During this period, close to finishing the project at hand, previous works do not pay attention to packing problems emerged slowly, in this case is not only the production of an installation package to install the project, as well as the lack of ope...

207: Excel file to read the data in the DataGrid
DataGrid using the Excel file as a data source is very simple, once the data is loaded in, you can then save the data into SQL Server or XML in. We just need to simply use the OLE DB Provider to access the Excel file, and then return to your DataSet...

208: DataList paging technology
Since the DataList does not support the built-in paging mechanism, so we must use the SqlDataAdapter object's Fill method to achieve paging, Fill method is mainly used to increase or refresh the DataSet rows. Fill method has been overloaded, we ...

209: In the DataGrid for the Add Custom Footer content
First of all: the creation of the preparation for the Page_Load event data binding code: <% @ Page Language = "VB"%> <% @ Import Namespace = "System.Data"%> <% @ Import Namespace = "System.Data.SqlClient&qu...

210: Show and hide columns in DataGrid
To show and hide columns in the DataGrid, the most critical is AutoGenerateColumns set to False: the following functions to achieve this is aspx code and script code: <% @ Page Language = "vb" AutoEventWireup = "false" Codebe...

211: A full-featured DataGrid paging example
The following example provides a DataGrid paging capability. aspx code and code are as follows Cohe Behind, pay attention to changes in the data recorded in connection string. The results are as follows: C # version examples of DataGridPaging.aspx...

212: In ASP.NET using Office Web Components (OWC) to create charts
Web graphics and charts is a very good performance on the data in the form of ASP.NET, you can use Office Web Components (OWC) to create a statistical map. Office Web Component (OWC) is included in Microsoft Office 2000 in a set of components, the u...

213: In the DataGrid to add new lines quickly
ASP.NET DataGrid to provide us with rows of built-in editing features, but does not provide built-in functions to add a new line. One way is this: in the DataTable to add new line, and then re-bound to the DataGrid, this approach feasible, but recog...

214: RowFilter use of attributes, a two DataGrid bound to DataSet
RowFilter is to take advantage of the following attributes will be a two DataGrid bound to DataSet examples of code: <% @ Page Language = "VB"%> <% @ Import Namespace = "System.Data"%> <% @ Import Namespace = &q...

215: Auto-ID for the DataGrid to add functionality
The following code in the DataGrid to add automatic numbering function, mainly the use of data binding in the Item Properties. See examples DataGridWithLine.aspx <% @ Page Language = "vb" AutoEventWireup = "false" Codebehin...

216: DataGrid formatting examples
The following code formatting DataGrid columns, that is, the data of the original value 0,1 into the function of the actual text, mainly in the data binding events scheduled for the help. See examples First of all prepare the data source, data sou...

217: DataGrid to add to the dialog box to confirm the deletion
In the deletion of data to confirm the former is a very friendly approach. In this paper, we discuss the use of the TemplateColumn and Button server control to achieve this function. DeleteIt.aspx <% @ Page Language = "vb" AutoEventWi...

218: HtmlGenericControl use category, dynamic changes in Title Text
Class HtmlGenericControl can create server-side controls, mapped to a corresponding HTML element, rather than being. NET Framework conversion category. For example, such as <body> <span>. The following example is the use of dynamically c...

219: Nhibernate how to use the data to add, delete, modify simple procedures
First, create a database Database Name: Nhibernate use NHibernate go CREATE TABLE users ( LogonID nvarchar (20) NOT NULL default'0 ', Name nvarchar (40) default NULL, Password nvarchar (20) default NULL, EmailAddress nvarchar (40) de...

220: On the datagrid in the string conversion
In the datagrid, when data binding, how to string in the database according to their own way set the output is a relatively cumbersome This problem has troubled me a long time, and also try to use a lot of methods: 1. <pre> <% # Container...


Page 11 of 17
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]   [10]   [11]   [12]   [13]   [14]   [15]   [16]   [17]