📄 tuanweizuzhibu_infdataset1.designer.cs
字号:
public void Addtuanweigebu_infRow(tuanweigebu_infRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public tuanweigebu_infRow Addtuanweigebu_infRow(string 学号, string 姓名, string 学院, string 专业, string 班级, string 所属部门, string 手机号码) {
tuanweigebu_infRow rowtuanweigebu_infRow = ((tuanweigebu_infRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
学号,
姓名,
学院,
专业,
班级,
所属部门,
手机号码};
rowtuanweigebu_infRow.ItemArray = columnValuesArray;
this.Rows.Add(rowtuanweigebu_infRow);
return rowtuanweigebu_infRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public tuanweigebu_infRow FindBy学号(string 学号) {
return ((tuanweigebu_infRow)(this.Rows.Find(new object[] {
学号})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
tuanweigebu_infDataTable cln = ((tuanweigebu_infDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new tuanweigebu_infDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.column学号 = base.Columns["学号"];
this.column姓名 = base.Columns["姓名"];
this.column学院 = base.Columns["学院"];
this.column专业 = base.Columns["专业"];
this.column班级 = base.Columns["班级"];
this.column所属部门 = base.Columns["所属部门"];
this.column手机号码 = base.Columns["手机号码"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.column学号 = new global::System.Data.DataColumn("学号", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column学号);
this.column姓名 = new global::System.Data.DataColumn("姓名", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column姓名);
this.column学院 = new global::System.Data.DataColumn("学院", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column学院);
this.column专业 = new global::System.Data.DataColumn("专业", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column专业);
this.column班级 = new global::System.Data.DataColumn("班级", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column班级);
this.column所属部门 = new global::System.Data.DataColumn("所属部门", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column所属部门);
this.column手机号码 = new global::System.Data.DataColumn("手机号码", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column手机号码);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.column学号}, true));
this.column学号.AllowDBNull = false;
this.column学号.Unique = true;
this.column学号.MaxLength = 10;
this.column姓名.MaxLength = 50;
this.column学院.MaxLength = 50;
this.column专业.MaxLength = 50;
this.column班级.MaxLength = 10;
this.column所属部门.MaxLength = 50;
this.column手机号码.MaxLength = 11;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public tuanweigebu_infRow Newtuanweigebu_infRow() {
return ((tuanweigebu_infRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new tuanweigebu_infRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(tuanweigebu_infRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.tuanweigebu_infRowChanged != null)) {
this.tuanweigebu_infRowChanged(this, new tuanweigebu_infRowChangeEvent(((tuanweigebu_infRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.tuanweigebu_infRowChanging != null)) {
this.tuanweigebu_infRowChanging(this, new tuanweigebu_infRowChangeEvent(((tuanweigebu_infRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.tuanweigebu_infRowDeleted != null)) {
this.tuanweigebu_infRowDeleted(this, new tuanweigebu_infRowChangeEvent(((tuanweigebu_infRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.tuanweigebu_infRowDeleting != null)) {
this.tuanweigebu_infRowDeleting(this, new tuanweigebu_infRowChangeEvent(((tuanweigebu_infRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Removetuanweigebu_infRow(tuanweigebu_infRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
tuanweizuzhibu_infDataSet1 ds = new tuanweizuzhibu_infDataSet1();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "tuanweigebu_infDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class zuzhibu_infDataTable : global::System.Data.TypedTableBase<zuzhibu_infRow> {
private global::System.Data.DataColumn column学号;
private global::System.Data.DataColumn columnUserName;
private global::System.Data.DataColumn column学院;
private global::System.Data.DataColumn column专业;
private global::System.Data.DataColumn column班级;
private global::System.Data.DataColumn column手机号码;
private global::System.Data.DataColumn column寝室号;
private global::System.Data.DataColumn column寝室电话;
private global::System.Data.DataColumn column职务;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public zuzhibu_infDataTable() {
this.TableName = "zuzhibu_inf";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal zuzhibu_infDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected zuzhibu_infDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn 学号Column {
get {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -