Tutorials to .com

Tutorials to .com » Asp » Database » ASP Database Related

ASP Database Related Articles


521: DataGrid small summary of the use of techniques
Custom DataGrid paging navigation Effect: DataGrid paging allows the realization of their own such an effect [1] [2] [3] [4] [5] [6] private void grid_ItemCreated (object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) ( if (e.Item....

522: How to implement a forms authentication directory
Earlier in the learning log to verify the background of the problem, I heard that forms authentication to compare the convenience, so a lot of research and found the information online is not full (or not suitable for beginners), out of a lot of pro...

523: Support some commonly used code (Web collection)
Click Back Code: <form> <p> <input TYPE="button" VALUE="" ONCLICK="history.back(-1)"> </ p> </ form> Pop-up warning box code: <form> <p> <input TYPE="button" ...

524: Primary course of SQL Injection (SQL Injection)
SQL injection because it is very popular and the technical means to attack the lower threshold, and very practical, ranging from Web site can get a number of accounts, such as a movie site to get the gold membership account; re-building its web site...

525: Deal with ASP and database, you may encounter some problems!
Q: Why do I set the record RecordCount always return -1 values? A: You should use this model to open access to the database record set: rs.open strSQL, conn, 1,1 StrSQL which is operating the SQL database language; conn is database connection Con...

526: asp database connection commonly used methods and techniques
asp database connection commonly used methods and techniques Posted: snow Date :2005-02-28 Popularity: 19 Purchase virtual host to send the mouse to send U disk 30G hard drive --- to send prices to the old hosting provider online <% dim conn,...

527: Make a brief visit to the source of statistics
We know, Request.ServerVariables ( "HTTP_REFERER") can access the source site's address, so we can through this data source to do a small visit to the Census and Statistics Create a new database Sys_Referer: if exists (select * from ...

528: SQL Server date
Typically, you need to get the current date and calculate some other date, for example, you may need to determine the first day of a month or the last day. Most of you probably know how to split date (year, month, day, etc.), and then just separate ...

529: ASP to SQL statements (not stored procedure) transmission parameters
Four years ago to write a content management system, application in the company's internal network, said yesterday DBA's SQL statement which did not use the parameters of the call, resulting in increasing the burden on server resources, the ...

530: Function to prevent SQL injection.
Authors: Loster (OICQ: 181306) [If reproduced, please do not delete this information, I would like to thank] 'Function name: S_Request () 'Auxiliary function: R_Reader () 'Roles: filtering illegal characters to prevent SQL injection. ...

531: Create a fully editable DataGrid
In the forums I have seen many of the same or similar issues: How do I DataGrid in my place of each line check box, text box, etc.? How to update their values? The answer is quite simple, in this article, I will show you how to complete it. As we a...

532: WebGrid full editorial control LrcGrid (3) - the overall structure of
WebGrid full editorial control LrcGrid (3) - the overall structure of Resource file: LrcGrid cited the use of two documents: a css style sheet file MyFSheet.css, a js script library file UpdArray_LRC.js. Style sheet file used in the text box stor...

533: WebGrid full editorial control LrcGrid (4) - Script Library and stylesheets
WebGrid full editorial control LrcGrid (4) - Script Library and stylesheets Script Library: contains the client operation control function. Include: Line will form to switch to edit mode function: chgEditRow (rowIndex, tab) () Out the forms to sw...

534: Datagrid header fixed simple way
Asp.net project to develop a process, the client asked us to all of the Header table datagrid into form similar to Excel, when the data table in a lot of time, we can drop-down scroll bar, but also to maintain a fixed header. After the online search...

535: WebGrid full editorial control LrcGrid (5) - constructor, variables and attributes
WebGrid full editorial control LrcGrid (5) - constructor, variables and attributes System.Web.UI.WebControls.Table inherited from LrcGrid achieve INamingContainer interface Meta-data attributes and structure function: a meta-data control statement...

536: WebGrid full editorial control LrcGrid (6) - control a
WebGrid full editorial control LrcGrid (6) - control a Create sub-control Rewrite the CreateChildControls () process, call the method to create child controls ReBuild () Whenever the ASP.NET page framework needs to create a control tree will call...

537: Function show (asp)
<% REM ----------------------------------- REM Author: Wang Jun qinjunit@yahoo.com REm Creation Date :2004-10-12 REM Modified: January 24, 2005 Monday REM ----------------------------------- 'Data page display function utility function ...

538: Ado.net to use word, excel access
blob table 3 id int 4 0 0 name char 50 1 0 blob image 16 1 0 type char 60 1 saveFile.aspx.cs private void Button1_Click (object sender, System.EventArgs e) ( Stream imgdatastream = File1.PostedFile.InputStream; int imgdatalen = File1.Posted...

539: To write a function to prevent SQL injection
<% function sqlcheck (Str, errtype) if Instr (LCase (Str), "select")> 0 or Instr (LCase (Str), "insert")> 0 or Instr (LCase (Str), "delete")> 0 or Instr (LCase (Str), "delete from")> 0 or Inst...

540: DataList in a monitoring solution Calendar of events
Sometimes you want to edit the template of the DataList in DataList template to join in by adding System.Web.UI.WebControls.Calendar, so that you can attribute Calendar to change the date, just one point on the line, and does not require users to fi...


Page 27 of 32
[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]