Tool > Properties > Designers > Table and Database Designers ที่ขวามือให้ยกเลิก Prevent saving changes that require table re-creation
ที่มา: Cannot Alter Microsoft SQL Server 2008 Table Object in Design Mode
เลือก Data type ของ Column ให้เป็นชนิด int
ที่ Column properties > Identity Spectification > (Is Identity) ให้เลือก Yes
Test on Windows7 SP1 32-bit
Pre-Requisites
CMake OpenCV 2.1.0
เปิดไปยังหน้าต่างที่ต้องการ หรือโปรแกรมใดๆ
กดปุ่ม Home และปุ่ม Power พร้อมกัน สัก 1-2 วินาที (ถ้านานกว่านั้นจะกลายเป็นปิดเครื่อง)
โปรแกรมจะจับภาพหน้าจอและนำไปเก็บไว้ในหัวข้อ Photos
แค่นี้เราก็สามารถจับภาพหน้าจอของ iPad ได้แล้วครับ
ที่มา: it-guides.com
using System.IO;
class TestDirectory {
public static void Main() {
Directory.CreateDirectory("C:\\csharp");
}
}
The above lines of codes will create a directory in your C:
Please note that the backslash(\) should be escaped by another backslash since it is a escape character. Moreover, remember to "using" the System.IO namespace so as to use these classes.
Following are a list of useful methods:
object oMissing = System.Reflection.Missing.Value;
Microsoft.Office.Interop.Word.Application oWord;
oWord = new Microsoft.Office.Interop.Word.Application();
oWord.Visible = true;
Microsoft.Office.Interop.Word.Document oDoc;