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

ASP.net ÀàºÍÊôÐÔµÄÎÊÌâ

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BLL;
using Model;
public partial class InsertOwnerInfo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        
    }
    protected void btnOk_Click(object sender, EventArgs e)
    {
        OwnerInfo owner = new OwnerInfo();
        owner.OwnerId = this.textid.Text.Trim();
        owner.OwnerName = this.textName.Text.Trim();
        owner.OwnerSex = this.ddlSex.SelectedValue.ToString();
        owner.Address = this.textAddress.Text.Trim();
        owner.Phone = this.textPhone.Text.Trim();
        owner.Mobile = this.textMobile.Text.Trim();
        owner.Company = this.textcompany.Text.Trim();
        owner.OfficePhone = this.textofficePhone.Text.Trim();
        owner.PaperName = this.textpaperName.Text.Trim();
        owner.PaperId = this.textpaperId.Text.Trim();
        owner.InkDate = this.textinkDate.Text.Trim();
        owner.GarrisonDate = this.TextgarrisonDate.Text.Trim();
        owner.GarrisonEndDate = this.TextgarrisonEndDate.Text.Trim();
        owne


Ïà¹ØÎĵµ£º

asp.net mvcÖÐckeditor+ckfinderµÄÅäÖ÷½·¨

¿ªÔ´ÍøÒ³±à¼­Èí¼þFCKEditorÔÚ09Äê·¢²¼¸üе½3.0£¬²¢¸ÄÃûΪCKEditor¡£¸Ä½øºóµÄckeditor¸ü¼ÓÄ£¿é»°£¬ÅäÖøü¼ÓÁé»î£¬ºÍÒÔǰµÄfckeditorʹÓ÷½Ê½ÉÏÒ²ÓÐËù²»Í¬¡£ÔÚÎÒµÄmvcÏîÄ¿ÖÐÓÉÓÚÒªÓõ½ ckeditor£¬ÌØÒâÑо¿ÁËÏÂËüµÄʹÓ÷½·¨£¬Ð´ÏÂÀ´ºÍ´ó¼Ò·ÖÏí¡£
ÎÒÓõÄÊÇ×îа汾µÄ£ºckeditor_3.0.1  ÏÂÔØµØÖ·£ºhttp://ckeditor.com/
......

asp.netÎļþÉÏ´«´úÂë\Êý¾Ý¿âÇÉÃîÁ¬½Ó


public class Up_Loadcs
{
     public string[] Resup={"ÉÏ´«Ê§°Ü»òÖ¸¶¨µÄÎļþ²»´æÔÚ","ͼƬ´óÓÚ10K£¬ÖØÐ´«Í¼Æ¬£¡","¸ñʽ²»¶Ô£¬ÏÞÖÆÉÏ´«£¨Ö»ÔÊÐígif/jpg¸ñʽÎļþ£©£¡","ÉÏ´«³É¹¦£¡"};
           public string s = string.Empty;
 &n ......

¹ØÓÚasp.net ideÖÐÎÞ·¨´´½¨¿Ø¼þµÄÎÊÌâ

Õ⼸ÌìÅöµ½¸öºÜÆæ¹ÖµÄÎÊÌ⣬ƽ³£ÔÚÏîÄ¿Öдӹ¤¾ßÏäÖУ¬°Ñ¿Ø¼þÍϵ½±à¼­Çø£¬ÄÇÊÇÔÙ¼òµ¥ÈÝÒײ»¹ýÁË¡£
¿ÉÊǼ¸ÌìǰÅöµ½¾ÍÊÇ£¬ÎÞÂÛÄãÔõôÍÏ£¬¶¼ÎÞ·¨Íϵ½±à¼­ÇøÖУ¬Çл»µ½Ô´Â룬ÔÙÍϵÄʱºòÊÇ¿ÉÒԵ쬲úÉúÁËHTML´úÂë
£¬ÔÙ½«ËüתÊÓͼµÄʱºò£¬·¢ÏÖÎÞ ·¨Õý³£ÏÔʾ¿Ø¼þ£¬£¬ËµÊÇÎÞ·¨ÕÒµ½¸ÃÒ³Ãæ¡£¡£¡£¡£¡£
н¨Á˼¸´ÎÒ²ÊDz»ÐУ¬ÒÔΪÊÇVS³ ......

ASP.NETÖг£ÓõÄÈýÊ®ÈýÖÖ´úÂë

1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º
´«ËͲÎÊý£º
response.write("£¼script£¾window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')£¼/script£¾")
½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string b = Request.QueryString("id1");
2.Ϊ°´Å¥Ìí¼Ó¶Ô»°¿ò
Button1.Attributes.Add("o ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ