Çë½Ì¹ØÓÚasp.net×Ô¶¯Éú³É±àºÅÎÊÌâ
ÎÒ×öÁ˸öÁôÑ԰壬Ìí¼Ó¼Ç¼ʱÏëÈóÌÐò×Ô¶¯Éú³ÉÒ»¸ö±àºÅ£¬ÓõÄdatareader£¬Ò²ÊµÏÖÁË¡£²»×ãÖ®´¦Êǵ±Êý¾Ý±íÀïûÓмǼʱ»á³ö´í¡£ÄÄλ´ó¸çÄܳö¸öÖ÷ÒâÔõô½â¾ö³ö´íÎÊÌ⣿·Ç³£¸Ðл
ÎҵĴúÂëÈçÏ£º
//±àºÅ×Ô¶¯ÀÛ¼Ó================
//Á¬½ÓÊý¾Ý¿â
OleDbConnection myconn = Class1.getconn();
myconn.Open();
varneirong = HtmlEncode(varneirong);
//±àºÅ×Ô¶¯ÀÛ¼Ó================
OleDbCommand cmm0 = new OleDbCommand("select bianhao from biao order by bianhao desc", myconn);
OleDbDataReader dr = cmm0.ExecuteReader();
if (dr.Read())
{
int mybianhao = Convert.ToInt16(dr["bianhao"])+1;
string varbianhao = mybianhao.ToString();
OleDbCommand cmm = new OleDbCommand("insert into biao(username,bianhao,neirong) val
Ïà¹ØÎÊ´ð£º
ÐÂÊÖÇó¾È. ÌåÁÂÇóÖªÖ®ÐÄ¡£¡£¡£Ð»Ð»£¡
asp ´úÂëÒ³Ã棺
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
......
±¾È˳õѧAsp.net£¬ÓÃVS2008£¬ÒÔÇ°ÓÃJSP×öÒ³Ãæ¿ò¼Üʱ£¬ÊÇÓÃFramesetµÄ£¬µ«ÊÇVS2008µÄAsp.netʹÓÃXHTML1.0£¬²»Ö§³ÖFrameset¡£´ó¼ÒÔÚ×ö×óÓÒÒ³Ãæ»òÕßÉÏÏÂÒ³Ãæʱ£¬ÊÇÔõô×öµÄÄØ£¿
Ôõô²»Ö§³Ö¡£
ÎÒÕâ¸ö¾ÍÊÇÒ»¸ö¿ò¼ÜÒ³¡ ......
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
this.Literal1.Text = "ÄúÏÖÔÚµ ......
ÎļþÉÏ´«Ê±ÔõÑùÏÔʾ½ø¶ÈÌõ ×îºÃ¸ø¸öDemo лÁË~£¡
ÓÃAjax°É£¬AjaxÓÐÀý×Ó
Óà ajaxtoolkit ÀïÃæµÄ´úÂ룬ÓÐÀý×Ó
ÒýÓÃ
ÓÃAjax°É£¬AjaxÓÐÀý×Ó
¶¥
http://topic.csdn.net/u/20091010/23/4bb5017a-ac75- ......
protected void Page_Load(object sender, EventArgs e)
{
form1.Style.Add(HtmlTextWriterStyle.BackgroundColor, Profile.P ......