📄 studentdataset.designer.cs
字号:
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn stuPolityColumn {
get {
return this.columnstuPolity;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn stuHomeColumn {
get {
return this.columnstuHome;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public StuInfoRow this[int index] {
get {
return ((StuInfoRow)(this.Rows[index]));
}
}
public event StuInfoRowChangeEventHandler StuInfoRowChanging;
public event StuInfoRowChangeEventHandler StuInfoRowChanged;
public event StuInfoRowChangeEventHandler StuInfoRowDeleting;
public event StuInfoRowChangeEventHandler StuInfoRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddStuInfoRow(StuInfoRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public StuInfoRow AddStuInfoRow(string stuNo, string stuName, string stuSex, int stuAge, string stuPolity, string stuHome) {
StuInfoRow rowStuInfoRow = ((StuInfoRow)(this.NewRow()));
rowStuInfoRow.ItemArray = new object[] {
stuNo,
stuName,
stuSex,
stuAge,
stuPolity,
stuHome};
this.Rows.Add(rowStuInfoRow);
return rowStuInfoRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
StuInfoDataTable cln = ((StuInfoDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new StuInfoDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnstuNo = base.Columns["stuNo"];
this.columnstuName = base.Columns["stuName"];
this.columnstuSex = base.Columns["stuSex"];
this.columnstuAge = base.Columns["stuAge"];
this.columnstuPolity = base.Columns["stuPolity"];
this.columnstuHome = base.Columns["stuHome"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnstuNo = new System.Data.DataColumn("stuNo", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnstuNo);
this.columnstuName = new System.Data.DataColumn("stuName", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnstuName);
this.columnstuSex = new System.Data.DataColumn("stuSex", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnstuSex);
this.columnstuAge = new System.Data.DataColumn("stuAge", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnstuAge);
this.columnstuPolity = new System.Data.DataColumn("stuPolity", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnstuPolity);
this.columnstuHome = new System.Data.DataColumn("stuHome", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnstuHome);
this.columnstuNo.AllowDBNull = false;
this.columnstuNo.MaxLength = 4;
this.columnstuName.MaxLength = 8;
this.columnstuSex.MaxLength = 2;
this.columnstuPolity.MaxLength = 8;
this.columnstuHome.MaxLength = 40;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public StuInfoRow NewStuInfoRow() {
return ((StuInfoRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new StuInfoRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(StuInfoRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.StuInfoRowChanged != null)) {
this.StuInfoRowChanged(this, new StuInfoRowChangeEvent(((StuInfoRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.StuInfoRowChanging != null)) {
this.StuInfoRowChanging(this, new StuInfoRowChangeEvent(((StuInfoRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.StuInfoRowDeleted != null)) {
this.StuInfoRowDeleted(this, new StuInfoRowChangeEvent(((StuInfoRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.StuInfoRowDeleting != null)) {
this.StuInfoRowDeleting(this, new StuInfoRowChangeEvent(((StuInfoRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveStuInfoRow(StuInfoRow row) {
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
studentDataSet ds = new studentDataSet();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "StuInfoDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class StuInfoRow : System.Data.DataRow {
private StuInfoDataTable tableStuInfo;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal StuInfoRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableStuInfo = ((StuInfoDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string stuNo {
get {
return ((string)(this[this.tableStuInfo.stuNoColumn]));
}
set {
this[this.tableStuInfo.stuNoColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string stuName {
get {
try {
return ((string)(this[this.tableStuInfo.stuNameColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“StuInfo”中列“stuName”的值为 DBNull。", e);
}
}
set {
this[this.tableStuInfo.stuNameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string stuSex {
get {
try {
return ((string)(this[this.tableStuInfo.stuSexColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“StuInfo”中列“stuSex”的值为 DBNull。", e);
}
}
set {
this[this.tableStuInfo.stuSexColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int stuAge {
get {
try {
return ((int)(this[this.tableStuInfo.stuAgeColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“StuInfo”中列“stuAge”的值为 DBNull。", e);
}
}
set {
this[this.tableStuInfo.stuAgeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string stuPolity {
get {
try {
return ((string)(this[this.tableStuInfo.stuPolityColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“StuInfo”中列“stuPolity”的值为 DBNull。", e);
}
}
set {
this[this.tableStuInfo.stuPolityColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string stuHome {
get {
try {
return ((string)(this[this.tableStuInfo.stuHomeColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“StuInfo”中列“stuHome”的值为 DBNull。", e);
}
}
set {
this[this.tableStuInfo.stuHomeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsstuNameNull() {
return this.IsNull(this.tableStuInfo.stuNameColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetstuNameNull() {
this[this.tableStuInfo.stuNameColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsstuSexNull() {
return this.IsNull(this.tableStuInfo.stuSexColumn);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -