ckeditor
在mvc4发布后出现无法显示的情况,使用js控制台发现ckeditor.js调用其它js文件的路径出错,找不到那些文件。错误的是:bundles.Add(new
ScriptBundle("~/bundles/ckeditor").Include("~/Scripts/ckedit...
分类:
Web程序 时间:
2014-05-19 19:19:09
阅读次数:
346
stringdeptId=Request.Form["depts"].Trim();Html.DropDownList()赋默认值:页面代码如下: list =
new List { new SelectListItem { Text = "启用", Value = "0",Selected = ....
分类:
其他好文 时间:
2014-05-19 18:59:16
阅读次数:
269
环境配置项目使用SSH架构,现在要添加Spring事务管理功能,针对当前环境,只需要添加Spring 2.0
AOP类库即可。添加方法:点击项目右键->Build Path->Add librarys:打开Add Libraries对话框,然后选定
MyEclipse Libraries:点击Nex...
分类:
编程语言 时间:
2014-05-19 18:23:14
阅读次数:
539
由于本人比较喜欢用Google香港作为自己的默认搜索引擎,Chrome里面可以轻松设置。但是在IE里面,默认的搜索引擎为Bing搜索,要更改或者添加默认的搜索引擎非常简单,步骤如下设置
--> 管理插件(Manage add-ons) --> 点击下面的"查找更多搜索提供者"但是这个微软官网提供的搜...
分类:
其他好文 时间:
2014-05-19 17:46:54
阅读次数:
276
Insert title
herehttp://root:admin@192.168.1.1:880/user.asp?user=1234567&pwd=123&state=32&gid=0&opt=add只支持火狐、google、手机等浏览器,不支持IE可以注册为pppoe用户,也可以注册为web...
分类:
其他好文 时间:
2014-05-19 16:58:08
阅读次数:
375
前言
在开发Android应用过程中经常要与列表展示打交道,比如Listview。在使用过程中如果不能正确的进行细节处理那么对性能还是有很大的损耗的。
Listview展示内容是通过一个Adapter来进行内容绑定的。如下所示: 1 class Adapter implements List...
分类:
移动开发 时间:
2014-05-19 16:31:39
阅读次数:
399
【题目】
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the linked list becomes 1->2->3->5.
Note:
Given n will ...
分类:
其他好文 时间:
2014-05-18 18:48:03
阅读次数:
269
for (int k = 0; k
if (((k + 1) % 2) != 0) {
m1 = (MealEntity) list.get(k);
%>
">
src="mealImg/.jpg" width="148"
height="126" border="0" />
:
原价:人民币元
现价:人民币
元
">
...
分类:
其他好文 时间:
2014-05-18 14:07:40
阅读次数:
234
from ConfigParser import RawConfigParser as rcp
if __name__ == "__main__":
cfg = rcp()
cfg.add_section("Info")
cfg.set("Info", "ImagePath", "f:/whu")
cfg.set("Info", "foo", "cd'...
分类:
其他好文 时间:
2014-05-18 05:58:51
阅读次数:
284
定义一个时间类
class Time//时间类
{
public:
void set_time( );//设置时间
void show_time( );//显示时间
int add_a_sec();//增加1秒
int add_a_minute();//增加1分钟
int add_a_hour();//增加1个小时
int add_seconds(int n);//增...
分类:
其他好文 时间:
2014-05-18 04:33:46
阅读次数:
294