This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
set server=DBSERVER_123 | |
set user=myName | |
set password=******* | |
set databasename=DATABASE_123 | |
pushd "%~dp0" | |
for %%f in (%*) do ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
''' ******************使い方********************************** | |
''' 「Microsoft Forms 2.0 Object Library」を参照設定します。 | |
''' ********************************************************** | |
Sub コピーEX() | |
'ワーク初期化 | |
Dim コピーEX_Work() As Variant | |
ReDim コピーEX_Work(Selection.Rows.Count - 1) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Sub セル操作_高さ調整_仮版() | |
Application.ScreenUpdating = False | |
' | |
' 高さ調整_仮版 Macro | |
' 改行を数えて1行15の高さにする。改行がなかったら15にする。 | |
' | |
'Dim rng1, rng2, rng3 As Range 'VBAでは、このように宣言したとき、長整数型(Long)になるのは変数Cだけです。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%--プラグイン読み込み--%> | |
<script src="Scripts/superTables.js" type="text/javascript"></script> | |
<script src="Scripts/jquery.tablefix_1.0.0.js" type="text/javascript"></script> | |
<script src="Scripts/Grid.js" type="text/javascript"></script> | |
<%--テーブル固定の実装--%> | |
<script type="text/javascript"> | |
//<![CDATA[ | |
//superTables.jsの呼び出し | |
(function () { | |
//GridViewが空のdivを吐き出すので、親divにクラスを設定 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.fakeContainer { /* The parent container */ | |
margin: 0 0 20px; | |
border: 1px; | |
width: 600px; /* Required to set */ | |
height: 150px; /* Required to set */ | |
overflow: hidden; /* Required to set */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//url http://msdn.microsoft.com/ja-jp/library/ee712726(v=vs.100).aspx | |
GridView1.UseAccessibleHeader = true; | |
GridView1.HeaderRow.TableSection = TableRowSection.TableHeader; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rowTable.attr(‘id’, rowTable.attr(‘id’) + ‘_row’); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//superTables.jsの呼び出し | |
(function () { | |
//GridViewが空のdivを吐き出すので、親divにクラスを設定 | |
$('#GridView1').parent("div").addClass("fakeContainer"); | |
new superTable("GridView1", { | |
cssSkin: "sDefault", | |
headerRows: 1, | |
fixedCols: 1 | |
}); | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE myDataBase; | |
GO | |
BACKUP DATABASE myDataBase | |
--TO DISK = 'C:\work\mydb_backup_full.bak' | |
TO DISK = '\\pc01\Backup\backup.bat' | |
WITH INIT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//マウスオーバー用 | |
$('.rollOver img').each(function() { | |
$(this).data('image_src', $(this).attr('src')); | |
$('<img>').attr('src', $(this).data('image_src').replace(/^(.+)(\.[a-z]+)$/, '$1_over$2')); //プリロード用 | |
}).mouseover(function() { | |
$(this).attr('src', $(this).data('image_src').replace(/^(.+)(\.[a-z]+)$/, '$1_over$2')); | |
}).mouseout(function() { | |
$(this).attr('src', $(this).data('image_src')); | |
}); |
NewerOlder