Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.NETʵÏÖÔöɾ¸Ä²éµÈ¹¦ÄÜ(Access°æ)ϵͳ֮ËÄ É¾³ý

//¸ù¾ÝÖ÷¼üÀ´É¾³ý±íÖеÄÊý¾Ý¡£
//ɾ³ý
    protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
    {
        OleDbConnection sqlConnection = new OleDbConnection(GetConnection());
 
        string sqlstr = "delete from  MResume where id=" + GridView1.DataKeys[e.RowIndex].Value.ToString() + "";
        OleDbCommand sqlcom = new OleDbCommand(sqlstr, sqlConnection);
        sqlConnection.Open();
        sqlcom.ExecuteNonQuery();
        sqlConnection.Close();
        //PopulatePublishersGridView();
        string sqlstr2 = getSQlStr();
        bind(sqlstr2);
    }


Ïà¹ØÎĵµ£º

asp.net¼òÌå×Öת·±Ìå×ÖµÄÀà¿â

asp.net¼òÌå×Öת·±Ìå×ÖµÄÀà¿â
   ÕⶫÎ÷ËäÈ»¼òµ¥£¬µ«Ò²²»Ê§Îª¾­µäµÄÀà¿â£¬¸öÈ˶øÑÔ£¬¾Í·Ç³£Ï²»¶Õâ¸öÀà¿â¡£
   ÓÃÎÄ×ּǼÏÂÀ´°É£¬Áô¸ö¼ÇÄî°É
   ÔÚvsÖУ¬ÓÐÒ»¸ö¾­µäµÄMicrosoft.VisualBasic.dllµÄVBÀà¿â£¬¸ù¾Ý¹Ù·½µÄÃèÊö£º
   ËüÄÜÌṩ¶ÔÐí¶à .NET Framework ÀàµÄ¼òµ¥Ö±¹ÛµÄ· ......

ʹÓÃASP.NET 2.0 Profile´æ´¢Óû§ÐÅÏ¢[·­Òë]

×÷Õß: Stephen Walther
Ô­ÎĵØÖ·£ºhttp://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnvs05/html/UserProfiles.asp
Òë
ÕߣºTony Qu
¸ÅÒª£ºÐí¶àASP.NETÓ¦ÓóÌÐòÐèÒª¿ç·ÃÎʵÄÓû§ÊôÐÔ
¸ú×Ù¹¦ÄÜ£¬ÔÚASP.NET1.1ÖУ¬ÎÒÃÇÖ»ÄÜÈ˹¤ÊµÏÖÕâÒ»¹¦ÄÜ¡£µ«Èç½ñ£¬Ê¹Óà ASP.NET 2.0µÄProfile¶ÔÏó£¬Õâ¸ö¹ý³Ì±äµÃÒì ......

asp.netΪͼƬÌí¼ÓÎÄ×Öˮӡ

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="s ......

asp.netÈÕÆÚʱ¼äº¯Êý

//Ïêϸ½éÉÜasp.net»ñÈ¡ÈÕÆÚʱ¼äµÄ¸÷ÖÖ¸ñʽµÄº¯Êý
DateTime.Now.ToLocalTime().ToString();                // 2009-9-5 20:12:12
//»ñÈ¡ÈÕÆÚ
DateTime.Now.ToLongDateString().ToString();     // 2009Äê9ÔÂ5ÈÕ
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ