asp.net ´æ´¢¹ý³ÌÖ´ÐÐʵÀý
protected void Page_Load(object sender, EventArgs e)
{
/*
sql½Å±¾-´´½¨Ñ§Éú±í
create table student(id int,name varchar(50))
insert into student select 1,'СÕÅ'
insert into student select 2,'СÍõ'
´æ´¢¹ý³Ì ¹¦ÄÜ£º²éѯѧÉúÃû³Æ
create proc proc_getName
@id int,
@name varchar(50) output
as
begin
if exists(select 1 from student where id=@id)
select @name=name from student where id=@id
else
set @name='--δÕÒµ½Ñ§Éú--'
end
*/
}
//Ö´Ðд洢¹ý³Ì
public void RunProcedure(string storedProcName, IDataParameter[] parameters)
{
string connectionString = "server=.;database=my;uid=sa;pwd=bb";//Êý¾Ý¿âÁ¬½Ó´®
using (SqlConnection connection = new SqlConnection(connectionString))
{
DataSet dataSet = new DataSet();
connection.Open();
SqlDataAdapter sqlDA = new SqlDataAdapter();
Ïà¹ØÎĵµ£º
1.½«flex±àÒëºóµÄ³ÌÐò²åÈëµ½asp.netÒ³Ãæ
flexµÄ×îÖÕÊä³ö¾ÍÊÇÒ»ÕÅÍøÒ³+Ò»¸öflash(.swfÎļþ)
Õâô˵ÄãÃ÷°×ÁË°É£¬Æäʵ¾ÍÊÇÓÃËûÉú³ÉµÄÍøÒ³µÄ·½Ê½°ÑÄǸö.swfÎļþ²åÈëµ½ÄãµÄasp.netÒ³Ãæ¾Í¿ÉÒÔÁË¡£
¼ÙÈçÄãµÄflex3ÏîÄ¿Ãû×Ö½ÐTestApp£¬×î¼òµ¥Ö±½ÓµÄ°ì·¨¾ÍÊÇ£¬
°Ñ"bin-debug"Ŀ¼Ïµģº
TestApp.html
TestApp.swf
AC_OETags.js ......
ASP.NETÓ¦ÓóÌÐòÉè¼ÆµÄ10´ó¼¼ÇÉ [ ASP.NETÓ¦ÓóÌÐòÉè¼ÆµÄ10´ó¼¼ÇÉ | ÔðÈαà¼: 51»¶ÀÖ°É - ¹ØÌÎ | 2007-09-25 10:38:16 ]
µ÷Õû×ÖÌå´óС: ´ó | ÖÐ | С
ÉùÃ÷:ÈçÓÐÉæ¼°µ½·¨ÂÉÏà¹ØÎÊÌâ,Ç뼰ʱÓë¹ØÌÎÁªÏµ! QQ:364586868 ÁªÏµQQ
--------------------------------------------------------------------------------
Ô ......
ASP.NETÊÇÄ¿Ç°¿ª·¢WebÓ¦ÓõÄÒ»ÖÖȫз½Ê½¡£±¾ÊéµÚl¡¢2Õ½éÉÜÁËASP.NETµÄһЩ»ù±¾¸ÅÄîºÍ»ù±¾Óï·¨¡£ÆäÓàÕ½ÚÖ÷ÒªÊǶԸ÷ÖÖʾÀý½øÐÐÏêϸ·ÖÎö¡£½éÉÜÁ˸÷ÖÖASP.NETµÄ½â¾ö·½°¸£¬°üÀ¨´´½¨»¥¶¯Ê½ÄÚÁªÍøÓ¦ÓóÌÐò¡¢´´½¨ÌåÓýÕ¾µã¡¢´´½¨ÈËÁ¦×ÊÔ´Ó¦Óᢴ´½¨ÔÚÏßÅÄÂôÕ¾µãµÈ¡£Í¨¹ýÕâЩʵÓõĽâ¾ö·½°¸µÄѧϰ£¬¶ÁÕß¼ÈÄܵõ½ºÜ¶àʵÓõĴúÂë£¬Ó ......
ASP.NET·ÖÒ³·½·¨µÄÁ˽â³Ì¶È
¡¾³öÏÖƵÂÊ¡¿
¡ï¡ï¡ï¡ï¡î
¡¾½â´ð¡¿
ASP.NET·ÖÒ³µÄ³£Ó÷½·¨ÓÐÒÔϼ¸ÖÖ¡£
q ÆôÓò¿·ÖÊý¾Ý¿Ø¼þµÄÄÚÖ÷ÖÒ³¹¦ÄÜ£¬ÈçÉèÖÃGridView¿Ø¼þµÄ“AllowPaging”ÊôÐÔΪ“true”£¬ÀàËƵÄÊý¾Ý¿Ø¼þ»¹ÓÐDetailsViewµÈ¡£
q ͨ¹ýSQL²éѯÓï¾ä£¬ÒÔÌáÈ¡Ö¸¶¨²¿·ÖµÄÊý¾ÝµÄ·½Ê½Íê³É·ÖÒ³µÄ¹¦ÄÜ¡£Ò ......