?? dataset1.cs
字號:
?//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
namespace 招聘考試成績管理系統(tǒng) {
using System;
using System.Data;
using System.Xml;
using System.Runtime.Serialization;
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Diagnostics.DebuggerStepThrough()]
[System.ComponentModel.ToolboxItem(true)]
public class DataSet1 : DataSet {
private studentDataTable tablestudent;
private employ_studentDataTable tableemploy_student;
private vstudentDataTable tablevstudent;
private _TableDataTable table_Table;
private mark_noDataTable tablemark_no;
private DdaiweiDataTable tableDdaiwei;
private no_ruquDataTable tableno_ruqu;
public DataSet1() {
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
protected DataSet1(SerializationInfo info, StreamingContext context) {
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((strSchema != null)) {
DataSet ds = new DataSet();
ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["student"] != null)) {
this.Tables.Add(new studentDataTable(ds.Tables["student"]));
}
if ((ds.Tables["employ_student"] != null)) {
this.Tables.Add(new employ_studentDataTable(ds.Tables["employ_student"]));
}
if ((ds.Tables["vstudent"] != null)) {
this.Tables.Add(new vstudentDataTable(ds.Tables["vstudent"]));
}
if ((ds.Tables["Table"] != null)) {
this.Tables.Add(new _TableDataTable(ds.Tables["Table"]));
}
if ((ds.Tables["mark_no"] != null)) {
this.Tables.Add(new mark_noDataTable(ds.Tables["mark_no"]));
}
if ((ds.Tables["Ddaiwei"] != null)) {
this.Tables.Add(new DdaiweiDataTable(ds.Tables["Ddaiwei"]));
}
if ((ds.Tables["no_ruqu"] != null)) {
this.Tables.Add(new no_ruquDataTable(ds.Tables["no_ruqu"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.InitClass();
}
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public studentDataTable student {
get {
return this.tablestudent;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public employ_studentDataTable employ_student {
get {
return this.tableemploy_student;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public vstudentDataTable vstudent {
get {
return this.tablevstudent;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public _TableDataTable _Table {
get {
return this.table_Table;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public mark_noDataTable mark_no {
get {
return this.tablemark_no;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public DdaiweiDataTable Ddaiwei {
get {
return this.tableDdaiwei;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public no_ruquDataTable no_ruqu {
get {
return this.tableno_ruqu;
}
}
public override DataSet Clone() {
DataSet1 cln = ((DataSet1)(base.Clone()));
cln.InitVars();
return cln;
}
protected override bool ShouldSerializeTables() {
return false;
}
protected override bool ShouldSerializeRelations() {
return false;
}
protected override void ReadXmlSerializable(XmlReader reader) {
this.Reset();
DataSet ds = new DataSet();
ds.ReadXml(reader);
if ((ds.Tables["student"] != null)) {
this.Tables.Add(new studentDataTable(ds.Tables["student"]));
}
if ((ds.Tables["employ_student"] != null)) {
this.Tables.Add(new employ_studentDataTable(ds.Tables["employ_student"]));
}
if ((ds.Tables["vstudent"] != null)) {
this.Tables.Add(new vstudentDataTable(ds.Tables["vstudent"]));
}
if ((ds.Tables["Table"] != null)) {
this.Tables.Add(new _TableDataTable(ds.Tables["Table"]));
}
if ((ds.Tables["mark_no"] != null)) {
this.Tables.Add(new mark_noDataTable(ds.Tables["mark_no"]));
}
if ((ds.Tables["Ddaiwei"] != null)) {
this.Tables.Add(new DdaiweiDataTable(ds.Tables["Ddaiwei"]));
}
if ((ds.Tables["no_ruqu"] != null)) {
this.Tables.Add(new no_ruquDataTable(ds.Tables["no_ruqu"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
}
internal void InitVars() {
this.tablestudent = ((studentDataTable)(this.Tables["student"]));
if ((this.tablestudent != null)) {
this.tablestudent.InitVars();
}
this.tableemploy_student = ((employ_studentDataTable)(this.Tables["employ_student"]));
if ((this.tableemploy_student != null)) {
this.tableemploy_student.InitVars();
}
this.tablevstudent = ((vstudentDataTable)(this.Tables["vstudent"]));
if ((this.tablevstudent != null)) {
this.tablevstudent.InitVars();
}
this.table_Table = ((_TableDataTable)(this.Tables["Table"]));
if ((this.table_Table != null)) {
this.table_Table.InitVars();
}
this.tablemark_no = ((mark_noDataTable)(this.Tables["mark_no"]));
if ((this.tablemark_no != null)) {
this.tablemark_no.InitVars();
}
this.tableDdaiwei = ((DdaiweiDataTable)(this.Tables["Ddaiwei"]));
if ((this.tableDdaiwei != null)) {
this.tableDdaiwei.InitVars();
}
this.tableno_ruqu = ((no_ruquDataTable)(this.Tables["no_ruqu"]));
if ((this.tableno_ruqu != null)) {
this.tableno_ruqu.InitVars();
}
}
private void InitClass() {
this.DataSetName = "DataSet1";
this.Prefix = "";
this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
this.Locale = new System.Globalization.CultureInfo("zh-CN");
this.CaseSensitive = false;
this.EnforceConstraints = true;
this.tablestudent = new studentDataTable();
this.Tables.Add(this.tablestudent);
this.tableemploy_student = new employ_studentDataTable();
this.Tables.Add(this.tableemploy_student);
this.tablevstudent = new vstudentDataTable();
this.Tables.Add(this.tablevstudent);
this.table_Table = new _TableDataTable();
this.Tables.Add(this.table_Table);
this.tablemark_no = new mark_noDataTable();
this.Tables.Add(this.tablemark_no);
this.tableDdaiwei = new DdaiweiDataTable();
this.Tables.Add(this.tableDdaiwei);
this.tableno_ruqu = new no_ruquDataTable();
this.Tables.Add(this.tableno_ruqu);
}
private bool ShouldSerializestudent() {
return false;
}
private bool ShouldSerializeemploy_student() {
return false;
}
private bool ShouldSerializevstudent() {
return false;
}
private bool ShouldSerialize_Table() {
return false;
}
private bool ShouldSerializemark_no() {
return false;
}
private bool ShouldSerializeDdaiwei() {
return false;
}
private bool ShouldSerializeno_ruqu() {
return false;
}
private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
public delegate void studentRowChangeEventHandler(object sender, studentRowChangeEvent e);
public delegate void employ_studentRowChangeEventHandler(object sender, employ_studentRowChangeEvent e);
public delegate void vstudentRowChangeEventHandler(object sender, vstudentRowChangeEvent e);
public delegate void _TableRowChangeEventHandler(object sender, _TableRowChangeEvent e);
public delegate void mark_noRowChangeEventHandler(object sender, mark_noRowChangeEvent e);
public delegate void DdaiweiRowChangeEventHandler(object sender, DdaiweiRowChangeEvent e);
public delegate void no_ruquRowChangeEventHandler(object sender, no_ruquRowChangeEvent e);
[System.Diagnostics.DebuggerStepThrough()]
public class studentDataTable : DataTable, System.Collections.IEnumerable {
private DataColumn columnZno;
private DataColumn columnName;
private DataColumn columnSex;
private DataColumn columnBirthday;
private DataColumn columnAdds;
private DataColumn columnIdCard;
private DataColumn columnTel;
internal studentDataTable() :
base("student") {
this.InitClass();
}
internal studentDataTable(DataTable table) :
base(table.TableName) {
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -