一開始建好一個新的模擬器約只有200MB
進入命令提示字元
sdk路徑\tools\ 輸入emulator -avd android2.3.3 -partition-size 512
藍色字為模擬器名稱
紅色字為大小
我的路徑是為以下
結果就變大了!!
ArrayList<String>list = new ArrayList <String>();
list.toArray(new String[list.size()])
list.toArray(new String[list.size()])[i]
protected void Button1_Click(object sender, EventArgs e)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "訊息", "parent.jQuery.fancybox.close();", true);
}
Log.d("", "訊息");
protected void Button1_Click(object sender, EventArgs e)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "訊息", "javascript:location.href='b.aspx'", true);
}
DUMP TRANSACTION DBNAME WITH NO_LOG
USE [資料庫名稱]
GO
ALTER DATABASE [資料庫名稱] SET RECOVERY SIMPLE WITH NO_WAIT
DBCC SHRINKFILE(記錄檔邏輯名稱, 1)
ALTER DATABASE [資料庫名稱] SET RECOVERY FULL WITH NO_WAIT
GO
2000& 2005
USE [資料庫名稱]
GO
DBCC SHRINKFILE(記錄檔邏輯名稱, 1)
BACKUP LOG [資料庫名稱] WITH TRUNCATE_ONLY
DBCC SHRINKFILE(記錄檔邏輯名稱, 1)
GO