using System;
using System.Data.Linq.Mapping;
namespace ConsoleApplication3
{
[Table(Name = "test")]
public class db_test_info
{
[Column(IsPrimaryKey = true, IsDbGenerated = true)...
分类:
数据库 时间:
2014-10-22 11:06:22
阅读次数:
191
1.增加列:alter table tableName add columnName varchar(30)2.修改列类型:alter table tableName alter column columnName varchar(4000)3.修改列的名称: EXEC sp_rename '...
分类:
数据库 时间:
2014-10-22 08:43:25
阅读次数:
184
============问题描述============ 4.4.2的Webview设置LayoutAlgorithm.SINGLE_COLUMN的参数不起作用,有图片时图片是显示原来宽高的,不是一屏显示.有谁遇见过吗?下面的这两个属性也试过了,不起作用settings.setUseWideView...
分类:
移动开发 时间:
2014-10-22 00:41:49
阅读次数:
394
Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for column 'titleimg' at row 1 at com.mysql.jdbc.PreparedStatement.execute...
分类:
其他好文 时间:
2014-10-21 17:15:32
阅读次数:
274
GridView(网格视图)是按照行列的方式来显示内容的,一般用于显示图片,图片等内容,比如实现九宫格图,用GridView是首选,也是最简单的。主要用于设置Adapter。 GridView常用的XML属性: 属性名称 描述 android:column...
分类:
移动开发 时间:
2014-10-21 11:53:07
阅读次数:
259
1 public class Q1_7{ 2 3 public static void SetZero(int[][] matrix){ 4 5 boolean [] row= new boolean[matrix. length]; 6 7 boolean[] column =new ...
分类:
其他好文 时间:
2014-10-20 21:09:58
阅读次数:
226
1、new Thread的弊端 执行一个异步任务你还只是如下new Thread吗?Java1234567new Thread(new Runnable() {@Overridepublic void run() {// TODO Auto-generated method stub}}).star...
分类:
编程语言 时间:
2014-10-20 21:06:29
阅读次数:
227
用反射的形式来执行以下代码new String(new StringBuffer("abc"));public static void main(String[] args) throws Exception { // TODO Auto-generated method stub // 运用反射的...
分类:
编程语言 时间:
2014-10-20 13:05:04
阅读次数:
160
package com.test;//多态性public class test4 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Anima...
分类:
编程语言 时间:
2014-10-20 11:25:52
阅读次数:
206
package com.test;//方法重写(overwrite)public class test3 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method ...
分类:
编程语言 时间:
2014-10-20 00:42:02
阅读次数:
297