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

ASP.NETÖÐÈý²ã½á¹¹µÄÔËÓÃ

ASP.NETÖеÄÈý²ã½á¹¹·ÖΪ±íʾ²ã£¨UI£©£¬ÒµÎñÂß¼­²ã£¨BLL£©£¬Êý¾Ý·ÃÎʲ㣨Models£¬DAL£¬IDAL,DALFactory£¬DB£©£¬ÏÂÃæÎÒÀ´ËµËµÎÒ¶ÔѧϰÈý²ã½á¹¹µÄÔËÓá£
Ê×ÏÈÎÒ¸ø´ó¼Ò˵˵ÕâÈý²ã¶¼ÊÇʲôÒâ˼¡£
1.       ±íʾ²ã£ºwebÏîÄ¿×ÔÈ»ÊÇÓ¦ÓóÌÐòµÄ±íʾ²ã£¬¾ÍÊÇ·ÃÎʵÄÕ¾µã£¬ËüÌṩËùÓÐÓëÓû§½øÐн»»¥µÄ½çÃ棬ͨ¹ýÒµÎñÂß¼­²ã£¨BLL£©ÏîÄ¿Ïà¹Ø·½·¨£¬Õ¹Ê¾Õ¾µãµÄ¹¦ÄÜ¡£±íʾ²ãÖ÷ÒªµÄÄÚÈݾÍÊǿؼþ+ʼþ¡£Èç¹û½ö½öÊÇչʾ£¬¿ÉÄÜÖ»ÐèÒª½«¿Ø¼þ°ó¶¨Êý¾Ý¼´¿É£¬²»ÐèÒª±àд´úÂ룻Èç¹ûÐèÒªºÍÓû§½»»¥£¬¾ÍÒª±àдÏà¹ØµÄʼþ´úÂë¡£¾Ù¸öÀý×Ó°É£¬±ÈÈç˵ÊÇÓû§“µÇ¼”°´Å¥Ê¼þ£¬¿ÉÄÜÐèÒª±àд´úÂëÑéÖ¤Óû§ÊäÈëÄÚÈÝÊÇ·ñºÏ·¨£¨·Ç¿ÕÑéÖ¤£©£¬È»ºóͨ¹ýµ÷ÓÃÒµÎñÂß¼­µÄÏà¹Ø·½·¨ÅжÏÓû§ÃûºÍÃÜÂëÊÇ·ñÆ¥Å䣬´Ó¶ø´ïµ½³É¹¦µÇ½µÄ½á¹û¡£
2.       ÒµÎñÂß¼­²ã£ºBLLÏîÄ¿ÊÇÒµÎñÂß¼­²ãµÄÏîÄ¿£¬ËüΪ±íʾ²ãÌṩËùÓÐÒµÎñµÄ·½·¨ºÍÊý¾Ý·ÃÎÊ£¬×ÔÈ»¾ÍÊDZíʾ²ãÓëÊý¾Ý·ÃÎʲãµÄÇÅÁº¡£µ±È»Ëü²¢²»Ö±½Ó·ÃÎÊÊý¾Ý¿â£¬¶øÊÇͨ¹ýÒýÓÃDALFactoryÏîÄ¿À´ÊµÏÖ¡£
3.       Êý¾Ý·ÃÎʲ㣺DALFactoryÏîÄ¿¡¢IDALÏîÄ¿¡¢DALÏîÄ¿¶¼ÊôÓÚÊý¾Ý·ÃÎʲãµÄÏîÄ¿£¬ÆäÖÐÄǸöDALFactoryÏîÄ¿ÊÇÊý¾Ý·ÃÎʵŤ³§£»IDALÏîÄ¿ÊÇÌṩÁËÊý¾Ý·ÃÎʵĽӿڣ»DALÏîĿʵÏÖÁËIDALÏîÄ¿µÄ½Ó¿Ú£¬Ëü¿ÉÒÔ¸ù¾Ý²»Í¬µÄÊý¾Ý¿â»·¾³ÊµÏÖ²»Í¬µÄ·ÃÎÊÊý¾ÝµÄ·½·¨¡£
4.       Ä£ÐͲ㣺ModelsÏîÄ¿°üº¬ÓëÊý¾Ý¿âÏà¶ÔÓ¦µÄʵÌåÀ࣬ÓÉÓÚÈý²ãÖÐÿһ²ã¶¼ÐèҪʹÓøÃÏîÄ¿µÄÀ࣬Ҳ¿ÉÒÔ°ÑËü¶ÀÁ¢³öÀ´½ÐÄ£ÐͲ㡣
 
˵ÁËÕâô¶à¸ÅÄîÒ²Ðí´ó¼Ò¶¼²»Ã÷°×ÊÇʲôÒâ˼£¬ÏÂÃæÎÒͨ¹ýÒ»¸ö¼òµ¥µÄÀý×ÓÀ´Ïêϸ½²½²¡£ÎÒÃÇ´ÓÄ£ÐͲ㿪ʼ˵£¬±ÈÈçÊý¾Ý¿âµÄÃû×Ö½ÐNorthwind£¬ÆäÖÐÓÐÒ»¸öRegion±í£¬±íÖÐÓÐÁ½¸ö×ֶΣ¨Id, Name£©¡£Ä£ÐͲã¾ÍÊÇ·â×°Êý¾Ý¿â±íµÄ×ֶεģ¬°ÑËü×ö³ÉÊôÐÔ£¬·½±ãÿһ²ãµÄµ÷Óá£ÏÂÃæ¾ÍÊÇ°ÑÕâ¸ö±í·â×°³ÉÊôÐÔ¡£
using System;
using System.Collections.Generic;
using System.Text;
namespace Models
{
    [Serializable]
    public class RegionInfo
    {
        #region//˽ÓÐ×Ö¶Î
        private int regionId;
        private String regionName;
   &n


Ïà¹ØÎĵµ£º

Asp.net ±ê×¼¿Ø¼þ £¨Ò»£©

Label——height£º¸ß¶È
              width£º¿í¶È
              backcolor£º±³¾°É«
             ......

ASP.net´íÎó´¦Àí(´íÎóÌøתҳ webconfig)

ASP.net´íÎó´¦Àí(´íÎóÌøתҳ webconfig)
 
ʹÓö¨ÖÆ´íÎóÒ³Ãæ
  
   ËäÈ»ÎÒÃÇ·¢Ë͸øÓû§µÄ¹«ÓôíÎóÐÅÏ¢ÊÇ°²È«µÄ£¬¾ÍÊÇ˵Ëü²»»áÍþвµ½Ó¦ÓóÌÐòµÄÃØÃÜ£¬µ«ÊÇÕâÑùµÄÐÅÏ¢²¢²»ºÃ¿´¡£Ò²ÐíÄãÏ£ÍûÓû§ÓÀÔ¶Ò²¿´²»µ½ÕâÑùµÄÐÅÏ¢¡£Ïà·´£¬µ±´¦ÀíÇëÇóµÄ¹ý³ÌÖУ¬Èç¹û·¢ÉúÁËÒ»¸öΪ´¦ÀíµÄ´íÎó£¬ÄãÏ£ÍûÄܹ»ÏÔÊ¾× ......

ASP.NET,oracle¿Í»§¶ËÁ¬½Óʧ°Ü

OCIEnvNlsCreate ʧ°Ü£¬·µ»Ø´úÂëΪ -1£¬µ«´íÎóÏûÏ¢Îı¾²»¿ÉÓá£
2009-09-20 02:10
“System.Data.OracleClient ÐèÒª Oracle ¿Í»§¶ËÈí¼þ 8.1.7 »ò¸ü¸ß°æ±¾ ”
µÄ´¦Àí·½·¨Ó¦¸ÃÏàËÆ£¬Ã»¾ßÌåÊÔ¹ý¡£
¸øoracle/ora92µÄĿ¼¼ÓÉÏnetwork serviceÓû§µÄȨÏ޾ͿÉÒÔÁË¡£
·½·¨£ºÓÒ»÷ora92£¬Ñ¡ÔñÊôÐÔ£¬µã»÷“°²È«&rd ......

ASP.NET(C#)ÖÐstringÓëstringBuilderµÄÇø±ð

 
ÔÚÏàͬ×Ö·û´®µÄÐí¶à²Ù×÷ÉÏ£¬Ê¹ÓÃStringBuilderÀà»á±ÈʹÓÃString¶ÔÏó¸üÓÐЧÂÊ¡£
 
 
 µ±Äã¶ÔÒ»¸östring¶ÔÏó¸³ÖµÊ±£¬Õâʱ»áÉú³ÉÒ»¸öÕâ¸ö¶ÔÏóµÄ¸±±¾£¬Èç¹ûÄ㸳ֵ¶à´ÎµÄ»°ÔÚϵͳÖоͻᱣ´æ¶à¸öÕâ¸ö¶ÔÏóµÄ¸±±¾£¬»á¶Ôϵͳ×ÊÔ´Ôì³ÉºÜ´óµÄÀË·Ñ£¬µ«ÊÇStringBuilder²»»á³öÏÈÉÏÊöÇé¿ö
StringÊý¾ÝÀàÐÍ´ú±íµÄ ......

ASp.NETѧϰÍø(www.17aspx.com)ÉÏÏßÁË

¾­¹ýÒ»¸ö¶àÔµÄ×¼±¸£¬ÎÒµÄСվASP.NETѧϰÍø(www.17aspx.com)ÖÕÓÚÉÏÏßÁË¡£½çÃæͼÈçÏ£º
ASP.NETѧϰÍø(www.17aspx.com)£¬ÎªASP.NETѧϰÕßÌṩ½Ì³Ì¡¢Ê¾Àý¡¢Ô´Âë¡¢¹¤¾ßµÈѧϰ×ÊÁÏ£¬Íƶ¯ASP.NETѧϰÕßÖ®¼äµÄ½»Á÷¡£Éæ¼°ASP.NET¡¢ASP.NET MVC¡¢LINQ¡¢VS2010¡¢WPF¡¢Silverlight¡¢C#3.5µÈ·½Ãæ¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ