else { object name = DT.Rows[0]["fname"]; fmain ss = new fmain(); ss.setlable = name.ToString(); ss.Show(); this.Hide(); }
internal string setlable { set { toolStripStatusLabel2.Text = "ชื่อผู้ใช้ : " + value; } }
if (aidtxt.Text != "" && atypecombo.Text != "" && aregistrationtxt.Text != "" && adescription_receivedtxt.Text != "" && abenefittxt.Text != "" && aDate_receivedDateTimePicker.Text != "" && adetailtxt.Text != "" && apricetxt.Text != "" && anotetxt.Text != "") { DataRow DR = ds.Tables["asset"].NewRow(); DR["aid"] = aidtxt.Text; DR["atype"] = atypecombo.Text; DR["aregistration"] = aregistrationtxt.Text; DR["adescription_received"] = adescription_receivedtxt.Text; DR["abenefit"] = abenefittxt.Text; DR["aDate_received"] = aDate_receivedDateTimePicker.Text; DR["adetail"] = adetailtxt.Text; DR["aprice"] = apricetxt.Text; DR["anote"] = anotetxt.Text; //DR["ausercreate"] = value ds.Tables["asset"].Rows.Add(DR); adap.Update(ds, "asset"); MessageBox.Show("บันทึกข้อมูลเรียบร้อย", "Save"); cleartxt(); }
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง