01 2008 档案

摘要:转自: http://www.souzz.net/html/edu/php/php10/6764.html \n", $id); $db = mssql_select_db("stock",$id) or die("无法连接stock数据库!"); $stockcode='600600'; $id = 0; $msg = 0; //printf("%d\n", $db); //$query = ... 阅读全文
posted @ 2008-01-31 11:49 N/A2011
摘要:Residential Iframe min price:0 max price:2M+ bedroom:0 bathr... 阅读全文
posted @ 2008-01-30 07:57 N/A2011
摘要:Untitled Page 阅读全文
posted @ 2008-01-30 07:48 N/A2011
摘要:转自: http://www.linuxpk.com/34233.html 功能:JSP数据库操作例程 - 存储过程 - JDBC-ODBC - SQL Server SQL Server的存储过程如下: create procedure sp_jsptest @yourname varchar(50), @myname varchar(50) output as ... 阅读全文
posted @ 2008-01-29 12:58 N/A2011
摘要:from: http://www.aspdotnetcodes.com/Parent_Child_GridView_DetailsView.aspx Parent-Child Data Manipulations with GridView and DetailsView control ... 阅读全文
posted @ 2008-01-26 03:17 N/A2011
摘要:from: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridviewrow.aspx Visual Basic (Declaration) _ _ Public Class GridViewRow _ Inherits TableRow _ Implements IDataItemContainer... 阅读全文
posted @ 2008-01-26 02:52 N/A2011
摘要:from: http://www.dotnetjohn.com/articles.aspx?articleid=236 http://www.dotnetjohn.com/articles.aspx?articleid=241 GridView, DetailsView, and SqlDataSource Interaction Part 1 The GridView, DetailsVi... 阅读全文
posted @ 2008-01-25 12:40 N/A2011
摘要:from: http://www.dotnetbips.com/articles/432e4904-754c-4425-ae93-c6142c2b943f.aspx Introduction ADO.NET DataReader is a read only and forward only cursor that allows you to iterate through the record... 阅读全文
posted @ 2008-01-25 04:21 N/A2011
摘要:from Scott Mitchell : http://aspnet.4guysfromrolla.com/articles/062905-1.aspx Retrieving Scalar Data from a Stored Procedure By Scott Mitchell Introduction Virtually all ASP.NET applications ... 阅读全文
posted @ 2008-01-25 04:13 N/A2011
摘要:from: http://idunno.org/archive/2004/14/01/122.aspx String.Format("{0}", "formatting string"}; One of the painful things about good old ASP was string formatting, VBScript simply didn't have anythin... 阅读全文
posted @ 2008-01-23 04:30 N/A2011
摘要:转自: http://www.gridviewguy.com/ArticleDetails.aspx?articleID=147 Untitled Page " InsertCommand="INSERT INTO Users(FirstName, LastName) VALUES(@FirstName, @LastNam... 阅读全文
posted @ 2008-01-20 01:43 N/A2011
摘要:from: http://msconline.maconstate.edu/tutorials/ASPNET2/ASPNET09/aspnet09-05.aspx Record editing with a single DetailsView or FormView works fine for small database tables requiring few pages to navi... 阅读全文
posted @ 2008-01-20 01:10 N/A2011
摘要:转自: http://www.cn-web.com/cnweb/5/374/article/ 当我们要显示的数所量比较大时,用GridView时就会将页面拉的很长,这样用户单击编辑或者删除时就很不方便,这种情况有两种解决方案: 1.是用GridView控件只显示适当的一小部分数据,然后在最后加一个链接,链向修改页面; 效果图: 方法: 我们在GridView控件中添加模板列,在模板列中添加H... 阅读全文
posted @ 2008-01-20 00:41 N/A2011
摘要:转自: http://www.vlly.net/myblog/article.asp?id=1310 DetailsView的DefaultMode用于初始状态为哪种 把某些列转为模板后可以自定义编辑 如: ((Label)DetailsView1.FindControl("Label3")).Text = Membership.GetUser().UserName; protected v... 阅读全文
posted @ 2008-01-20 00:39 N/A2011
摘要:转自: http://www.cnblogs.com/wangzhq/archive/2006/09/14/504308.aspx 关于DetailsView使用DropDownList1 在DetailsView中创建一个模板列,在模板列中加入DropDownList 例: 0 1 2 3 ... 阅读全文
posted @ 2008-01-20 00:34 N/A2011
摘要:1setGoogleMapCommunity('Country Hills, Calgary, alberta'); 2setGoogleMapLocations('Country Hills, Calgary, alberta'); 3setGoogleMapLocations('# 133 728 Country Hills RD NW'); above is data.html ... 阅读全文
posted @ 2008-01-16 04:23 N/A2011
摘要:originally from: http://forums.asp.net/t/1191194.aspx Understanding the Page Life Cycle can be very important as you begin to build Pages with MasterPages and UserControls. Does the Init event fire ... 阅读全文
posted @ 2008-01-14 23:56 N/A2011
摘要:from: http://www.thescripts.com/forum/thread78561.html You can do this, but in general you should avoid cursors unless there is no other choice. It may be that your cursor can be written as a single ... 阅读全文
posted @ 2008-01-12 02:26 N/A2011
摘要:originally from: http://dragon.cnblogs.com/archive/2006/05/08/394078.html http://dragon.cnblogs.com/archive/2006/05/09/394923.html http://www.radsoftware.com.au/articles/regexlearnsyntax.aspx http://w... 阅读全文
posted @ 2008-01-11 01:13 N/A2011
摘要:function VehicleTypeChange() { var textField; var choice; textField = document.getElementById("ctl00_ContentPlaceHolder1_dd_vehicleType"); choice = textField.value; if(choice == -1) { //Textbox ... 阅读全文
posted @ 2008-01-10 05:49 N/A2011
摘要:转自: http://msdn2.microsoft.com/en-us/library/aa175920.aspx Error Handling in T-SQL: From Casual to Religious Dejan Sunderic Most of us would agree that experienced programmers tend to be more adept a... 阅读全文
posted @ 2008-01-09 13:05 N/A2011
摘要:转自: http://www.cnblogs.com/jackyrong/archive/2006/03/02/341621.html sql server 2005中新增加的try catch,可以很容易捕捉异常了,今天大概学习看了下,归纳下要点如下 基本用法 BEGIN TRY { sql_statement | statement_block } END TRY BEGIN CATC... 阅读全文
posted @ 2008-01-09 12:39 N/A2011
摘要:1function paging(TotalNumber,CurrentPage,ShowNumberInOnePage) 2{ 3 var TotalPage=Math.ceil(TotalNumber/ShowNumberInOnePage); 4 var temp="Total Page:"+TotalPage+" first "; 5 if(Curr... 阅读全文
posted @ 2008-01-09 01:11 N/A2011
摘要:转自: http://www.aspxhome.com/asp-net/aspnetskills/20078/146824.htm 用ASP.NET与SQL SERVER可是缘份最好了,稍大的程序一般第一先考虑的是SQL SERVER,只是一些很考虑经济的才使用ACCESS等了。用SQL SERVER,为了使数据库的效率更好,一般都会才取存储过程,因存储过程执行速度快,并且可以实现一些高级的查... 阅读全文
posted @ 2008-01-08 13:09 N/A2011
摘要:转自: http://www.sommarskog.se/error-handling-I.html Error Handling in SQL Server – a Background An SQL text by Erland Sommarskog, SQL Server MVP. This is one of two articles about error handling in ... 阅读全文
posted @ 2008-01-08 12:03 N/A2011
摘要:set ANSI_NULLS ON set QUOTED_IDENTIFIER OFF GO ALTER PROCEDURE [dbo].[aspnet_Membership_CreateUser] @ApplicationName nvarchar(256), @UserName ... 阅读全文
posted @ 2008-01-08 11:09 N/A2011
摘要:1using System; 2using System.Collections.Generic; 3using System.Text; 4using System.Data; 5using System.Data.SqlClient; 6 7namespace JoeyCodeGenerator 8{ 9 public class CSharp :... 阅读全文
posted @ 2008-01-08 11:02 N/A2011
摘要:转自:http://topic.csdn.net/t/20050124/12/3749111.html select 主键=a.name FROM syscolumns a join sysobjects b on a.id=b.id and b.xtype='U' and b.name'dtproperti... 阅读全文
posted @ 2008-01-05 13:58 N/A2011
摘要:转自:http://www.cnblogs.com/zhouxujian/archive/2006/11/10/556776.html 获取数据库中的所有表 Author:hobe From:Internet。 在很多情况下我们需要将指定的数据库中的所有表都列出来。在使用c#进行软件开发时,我们有哪些方法可是实现这个目的呢?本人对此进行概要的总结,有以下6中方式可以实现这个目的。 1、sqld... 阅读全文
posted @ 2008-01-04 04:21 N/A2011