码迷,mamicode.com
首页 >  
搜索关键字:alter database add s    ( 53953个结果
ckeditor 在mvc4发布后出现无法显示的情况
ckeditor 在mvc4发布后出现无法显示的情况,使用js控制台发现ckeditor.js调用其它js文件的路径出错,找不到那些文件。错误的是:bundles.Add(new ScriptBundle("~/bundles/ckeditor").Include("~/Scripts/ckedit...
分类:Web程序   时间:2014-05-19 19:19:09    阅读次数:346
MantisBT 问题分配显示 姓名
MantisBT 在提交问题的时候,系统默认“分配”给备选账号,而不是姓名。这样在使用的时候非常不便。 可以通过修改配置文件来改变,找到MantisBT根目录下文件config_inc.php,用文本编辑器打开。代码如下: <?php $g_hostname = 'XXX'; $g_db_type = 'XXX'; $g_database_name = 'XXX'; $g_db...
分类:其他好文   时间:2014-05-18 18:42:37    阅读次数:303
分析java.lang.NullPointerException thrown in RelativeLayout measure()
不难看出,在RelativeLayout被add/attach到父View之前mLayoutParams成员为空,调用measure方法将导致上图标注处代码抛出空指针异常。 解决方案有两种 a) 在measure之前显式设置LayoutParams(代表着对父View的Layout请求,必须是父View的内部LayoutParams类型) b) 自动设置LayoutParams的inflate方式...
分类:编程语言   时间:2014-05-18 18:26:17    阅读次数:576
LeetCode: Reverse Nodes in k-Group [024]
【题目】 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is. You may not alter the values in the nodes, only n...
分类:其他好文   时间:2014-05-18 10:22:34    阅读次数:367
Android批量添加联系人到通讯录
由于工作上的需要,把数据库中备份的联系人添加到通讯录,一般都有几百条记录,插入一条数据系统默认commit一次,这样效率就降低了,如果把所有的数据都添加进去后再commit效率就不一样,这就需要事务 没有添加事务的方法,每次添加一条记录 /** * 单条添加数据 * * @param contacts * @return */ public boolean add(T...
分类:移动开发   时间:2014-05-18 07:03:31    阅读次数:629
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection
org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is o...
分类:数据库   时间:2014-05-18 06:19:21    阅读次数:547
对Socket CAN的理解(4)——【Socket CAN接收数据流程】
现在我们来分析一下CAN总线的接收数据流程,对于网络设备,数据接收大体上采用中断+NAPI机制进行数据的接收。同样,我们现在的CAN模块也是采用同样的方式进行数据的接收。由于我们只针对CAN总线接收数据这条主线进行分析。因些,会忽略一些针对CAN协议的设置及初始化等相关代码。 在初始化CAN设备时,我们需要给CAN设备分配NAPI功能。我们通过netif_napi_add()函数将CAN设备添加到NAPI机制列表中。...
分类:其他好文   时间:2014-05-18 06:13:15    阅读次数:317
编写.ini文件
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
在fragment中显示对话框出现异常
异常类型为:android.view.WindowManager$BadTokenException: Unable to add window 我在fragment中public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState) {中试图调用对话框静态工...
分类:其他好文   时间:2014-05-18 04:27:35    阅读次数:240
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!