public DataGridViewRow CloneWithValues(DataGridViewRow row) { DataGridViewRow clonedRow = (DataGridViewRow)row.Clone(); for (Int32 index = 0; index < row.Cells.Count; index++) { clonedRow.Cells[index].Value = row.Cells[index].Value; } return clonedRow; }
int uK = dataGridView1.CurrentCell.RowIndex; DataGridViewRow row = CloneWithValues(dataGridView1.Rows[uK]);
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง