Tutorials to .com

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

.Net Database Articles


241: Regulationdelivery of a tree to remove the idea of my own
A tree database structure and some basic knowledge of tree First of all, we look at the application of a simple tree .... The database design as follows: Table Name: testTree Field: id (primary key auto-increment 1) username (this has been arbit...

242: WebClient.UploadData method used to upload file data
If a site has a form, for example, (url: http://localhost/login.aspx): Account Password In the process we need to submit data to this form, this form, we can use the method to achieve WebClient.UploadData will have to upload the data to form them...

243: ASP.NET database data into Excel and print (1)
As we all know, WEB's print is more difficult, a common method of print WEB roughly three ways: 1, the direct use of the print function of IE. In general, this method can be done to expand, rather than call the javascript: print () as simple as...

244: Established in the web.config database connection
Asp.net application in the web.config file found in front of <system.web> by adding the following code: <? xml version = "1.0" encoding = "utf-8"?> <configuration> <appSettings> <add key="Conne...

245: Image storage and database read
Development Environment: Window 2000, SQLServer2000,. Net Framework SDK version of the development of a formal language: C #, ASP.Net Description: database storage and read picture Description: In ASP, we used Request.TotalBytes, Request.BinaryRea...

246: DataGrid Web control on the issue of the popular series of six-__
Edit mode shows a Drop-Down List Here will be made available to users of a popular demand - a certain line in the editing state of Drop-Down List. For example, a DataGrid might display a list of books, including the type of each book, when users ed...

247: DataGrid Web control on the issue of the popular series of seven-__
In most cases, you may want to set the Drop-Down List of selected items to match a specific value - usually the display mode of the value of the cell. You can attribute its SelectedIndex set to the value you want to show the value of the index to ac...

248: Data Access Layer for the preparation of a base class
In the preparation of the data access layer code, with a total side to side and prepared to repeat: read the database connection string to establish the database connection object, open the connection, create a Command object, create a data adapter,...

249: A convenient data-SqlDataUpdater Updater
/ / / <summary> / / / File Name: SqlDataUpdater.cs / / / Summary: SQL data update, and can be easily carried out on a single data table read, write, delete operations, was quoted by the constructor results. / / / SqlDataUpdater du = new Sql...

250: Drag the page dataGrid line (in the table first with the realization of htc file)
# region statement //------------------------------------------------ ---------------------- / / / / Edit: Miao Li (Nick.Lee) / / / / DataGrid drag line on the page (in the table first with the realization of htc file) / / Time :2005-04-23 / ...

251: OLE DB database to obtain the structure of information
On how to obtain database schema information, for access to SQL Server database structure and Oracal may be more simple, more methods. Here finishing up a link for all use of the ADO.Net database (such as Access, db4 format dbf free tables, etc.) a...

252: I am the type of database link
using System; using System.Data; using System.Data.SqlClient; using System.Configuration; namespace admin.CommonClass ( / / / <summary> / / / Link type of database - OpenDB / / / </ Summary> public class OpenDB ( / / Get the d...

253: Analysis of the realization of the code-DataGrid additions and deletions (with tips) to and paging
Perhaps we may say that the Internet has a lot of similar articles, including Mencius, why write another one? I think we not only have to be achieved, need to understand more. With the following code first, and then analyze some of the key code. ...

254: How the dynamic changes in DataGrid after bind content
In applications, often need to bind the DataGrid to change after the show, such as (1) When the data meet certain conditions need to modify its presentation (2) the logic of the database values (0,1) into male and female and so on to show that there...

255: How to set up the link in the DataGrid multiple parameters
When using the DataGrid If you have a asp: HyperLinkColumn want to use multiple parameters need to bind as a link to the url, then out into a template, use the normal link tags <a> or asp: HyperLink can be, the following two kinds of parameter...

256: SqlDataReader read data of JScript.Net
<% @ Import namespace = "System.Data.SqlClient"%> var db: String = "server = 10.1.0.1; uid = sa; pwd = 123; database = db"; var sql: String = "select * from table"; var rs = SqlDataReader; var conn: SqlConnect...

257: Asp.Net example to connect Oracle database
Asp.Net example to connect Oracle database asp.net, found. Net Framework 1.1 version, there is a direct System.Data.OracleClient class library, Used to access the Oracle database, but I still like the 1.0 version here, and do not support the object...

258: Save the image to the SQL 2000 Server database
Save the image to the SQL 2000 Server database Author: vivekthangaswamy The Web pages in ASP.NET How to upload files? How to use ADO.NET technology to read from an image database and displayed on Web pages? Abstract . NET is Microsoft's devel...

259: DataGrid template column dynamically add an example of
Table dep: depid (ID primary key), depname (college name) Table stu: stuid (ID primary key), stuname (student name), studepid (College id = table dep.depid) Prospects: <% @ Page language = "c #" Codebehind = "WebForm30.aspx.cs&q...

260: Another nested DataGrid and Datalist - a better way
Compared with the previous shortcomings of the use of Relation: 1. Can not limit the number of records returned; 2. The state from time to time is not convenient, or even on bonding; 3. The procedure is simple, but it was not easy to understand. 4....


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