摘要: 使用到的软件和硬件 1. centos7.3服务器一台 2. xshell、xftp 3. vs2017 4. .NET Core 1. 安装 libicu 依赖 [root@jdu4e00u53f7 ~]# yum install libunwind libicu 2.下载.NET Core2.0 阅读全文
posted @ 2017-10-23 14:43 Uoolo 阅读(2695) 评论(1) 推荐(0) 编辑
摘要: 阶段总结,以便自己查漏补缺。1.新建一个asp.net项目,包括BLL、DAL、MODEL、Helper、WEB,DAL负责数据处理,BLL负责逻辑处理,MODEL自定义一些数据模型,Helper放一些公共类,WEB则是页面的显示。2.项目结构要清晰,css、js、image都归类放。3.文件命名规范,如驼峰命名法,代码书写要整齐。4.浏览器兼容性要测试。5.页面查看权限要处理,尤其要注意url传值查看页面。6.数据转换类型要try catch ,防止错误发生。7.一些基本代码能记住就记住,要罗列一下。8.基础知识巩固,比如:public、static、protected的区别,看面试题是个不 阅读全文
posted @ 2013-10-21 16:35 Uoolo 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 方法一:Delete Form 表名 方法二:TRUNCATE TABLE 在功能上与不带 WHERE 子句的 DELETE 语句相同:二者均删除表中的全部行。但 TRUNCATE TABLE 比 DELETE 速度快,且使用的系统和事务日志资源少。 DELETE 语句每次删除一行,并在事务日志中为所删除的每行记录一项。TRUNCATE TABLE 通过释放存储表数据所用的数据页来删除数据,并且只在事务日志中记录页的释放。 TRUNCATE TABLE 删除表中的所有行,但表结构及其列、约束、索引等保持不变。新行标识所用的计数值重置为该列的种子。如果想保留标识计数值,请改用 DELETE。如果 阅读全文
posted @ 2013-09-13 10:38 Uoolo 阅读(3426) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.uoolo.com/Article/16还有在MVC中使用ueditor:http://blog.uoolo.com/Article/111最初百度了一下“编辑器的选择”,可供选择的也有好多,使用的较多的有ckeditor、kindeditor、markItUp、u... 阅读全文
posted @ 2013-09-10 09:49 Uoolo 阅读(11341) 评论(12) 推荐(3) 编辑
摘要: 一个问题不知什么原因,代码: 1 public class OtherActivity extends ListActivity { 2 3 @Override 4 protected void onCreate(Bundle savedInstanceState) { 5 super.onCreate(savedInstanceState); 6 //setContentView(R.layout.activity_other); 7 8 //TextView tv1 = (TextView) findVie... 阅读全文
posted @ 2013-09-04 15:56 Uoolo 阅读(3252) 评论(0) 推荐(0) 编辑
摘要: (原文来自博客园 wuchao.cnblogs.com)写一个简单的基于jquery的对话框css: 1 #dialog 2 { 3 border:solid 1px #CCC; 4 width:300px; 5 height:150px; 6 background-color:#e5e5e5; 7 position:fixed; 8 } 9 .title10 {11 width:100%... 阅读全文
posted @ 2013-08-22 10:41 Uoolo 阅读(1168) 评论(0) 推荐(0) 编辑
摘要: 1 from VS in m2db.Inf_VehicleSale2 join RS1 in m2db.His_RecSale on new { VS.vehicleCode, auctionCode=VS.AuctionCode } equals new { RS1.vehicleCode, RS1.auctionCode } 阅读全文
posted @ 2013-08-21 15:58 Uoolo 阅读(1982) 评论(0) 推荐(0) 编辑
摘要: 1.新建一个aspx页面生成验证码图像using System;using System.Data;using System.Configuration;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using Syste 阅读全文
posted @ 2013-08-19 16:54 Uoolo 阅读(788) 评论(0) 推荐(0) 编辑
摘要: 1.dropdownlist的绑定 BLLAuction bll_getAuction=new BLLAuction(); this.ddlauctioncode.DataSource = bll_getAuction.GetAuctionList(); this.ddlauctioncode.DataTextField = "Name"; this.ddlauctioncode.DataValueField = "code"; this.ddlauctioncode.DataBind... 阅读全文
posted @ 2013-08-19 16:29 Uoolo 阅读(316) 评论(0) 推荐(0) 编辑
摘要: wordpress本身不带文章浏览统计,可以用插件wp-postview,但是刷新还是算一个浏览次数。1.首先在主题下functions.php里增加以下代码,这段代码也是网上可以找到的 1 //add by charleswu 2 function getPostViews($postID) { 3 $count_key = 'post_views_count'; 4 $count = get_post_meta($postID, $count_key, true); 5 if ($count == '') { 6 delete_post_meta($... 阅读全文
posted @ 2013-08-15 10:52 Uoolo 阅读(2886) 评论(1) 推荐(0) 编辑