|
 |
|
ลงข้่อมูลผ่าน DataGridView แบบล็อคค่าไว้ 1 คอมลัมน์ |
|
 |
|
|
 |
 |
|
ไม่ต้องทำช่องให้กรอกแค่นั้นแหละครับ 
|
 |
 |
 |
 |
Date :
2013-02-27 15:59:20 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไม่เข้าใจอ่ะครับ
|
 |
 |
 |
 |
Date :
2013-02-28 08:39:17 |
By :
Clamore |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Cpature รูปมาให้ดูหน่อยครับ
|
 |
 |
 |
 |
Date :
2013-02-28 08:59:15 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|

จากในรูปอ่ะครับ เช่น เรามีอุปกรณ์อยู่ 60 ชิ้น แบ่งเป็น A,B,C อย่างละ 20 ชิ้น และต้องการเก็บเข้าฐานข้อมูลทั้ง 3 อย่าง แต่ตรงรหัสพนักงานเราจะไม่เป็นคนกรอก แต่จะมี label บอกไว้อยู่ข้างบนว่าใครกำลังกรอกข้อมูลอยู่
พนักงาน-01 (Label.text)
รหัสพนักงาน ชื่ออุปกรณ์ จำนวน
01 A 20
01 B 20
01 C 20
ปล.สีแดงไม่ต้องกรอกเองแต่ให้ดึงจาก label มาแทน
|
 |
 |
 |
 |
Date :
2013-02-28 10:58:23 |
By :
Clamore |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
คลิก datagridview แล้วคลิกที่ edit column
เลือก column ที่ต้องการ แล้วกำหนดเป็น readonly
|
 |
 |
 |
 |
Date :
2013-02-28 13:18:03 |
By :
ห้ามตอบเกินวันละ 2 กระทู้ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 02
|