بهترین مثال
DataTable table = new DataTable(); table.Columns.Add("StudentID", typeof(int)); table.Columns.Add("StudenName", typeof(string)); table.Columns.Add("Passed", typeof(bool)); int studentID = int.Parse(txtStudentID.Text); String studentName = txtStudentName.Text; bool passed = ckbxPF.SelectedIndex == 0; table.Rows.Add(studentID, studentName, passed);
2,337 سوال
2,871 پاسخ
3,725 دیدگاه
3,924 کاربر