📄 mystuinfodbdataset21.designer.cs
字号:
return this.columnxinxi;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public proRow this[int index] {
get {
return ((proRow)(this.Rows[index]));
}
}
public event proRowChangeEventHandler proRowChanging;
public event proRowChangeEventHandler proRowChanged;
public event proRowChangeEventHandler proRowDeleting;
public event proRowChangeEventHandler proRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddproRow(proRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public proRow AddproRow(string proname, string xinxi) {
proRow rowproRow = ((proRow)(this.NewRow()));
rowproRow.ItemArray = new object[] {
proname,
xinxi};
this.Rows.Add(rowproRow);
return rowproRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public proRow FindByproname(string proname) {
return ((proRow)(this.Rows.Find(new object[] {
proname})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
proDataTable cln = ((proDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new proDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnproname = base.Columns["proname"];
this.columnxinxi = base.Columns["xinxi"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnproname = new System.Data.DataColumn("proname", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnproname);
this.columnxinxi = new System.Data.DataColumn("xinxi", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnxinxi);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnproname}, true));
this.columnproname.AllowDBNull = false;
this.columnproname.Unique = true;
this.columnproname.MaxLength = 20;
this.columnxinxi.MaxLength = 200;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public proRow NewproRow() {
return ((proRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new proRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(proRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.proRowChanged != null)) {
this.proRowChanged(this, new proRowChangeEvent(((proRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.proRowChanging != null)) {
this.proRowChanging(this, new proRowChangeEvent(((proRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.proRowDeleted != null)) {
this.proRowDeleted(this, new proRowChangeEvent(((proRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.proRowDeleting != null)) {
this.proRowDeleting(this, new proRowChangeEvent(((proRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveproRow(proRow 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();
mystuInfoDBDataSet2 ds = new mystuInfoDBDataSet2();
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 = "proDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class proRow : System.Data.DataRow {
private proDataTable tablepro;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal proRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tablepro = ((proDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string proname {
get {
return ((string)(this[this.tablepro.pronameColumn]));
}
set {
this[this.tablepro.pronameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string xinxi {
get {
try {
return ((string)(this[this.tablepro.xinxiColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“pro”中列“xinxi”的值为 DBNull。", e);
}
}
set {
this[this.tablepro.xinxiColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsxinxiNull() {
return this.IsNull(this.tablepro.xinxiColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetxinxiNull() {
this[this.tablepro.xinxiColumn] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class proRowChangeEvent : System.EventArgs {
private proRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public proRowChangeEvent(proRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public proRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace StudentInfoMS.mystuInfoDBDataSet2TableAdapters {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.ComponentModel.ToolboxItem(true)]
[System.ComponentModel.DataObjectAttribute(true)]
[System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class proTableAdapter : System.ComponentModel.Component {
private System.Data.SqlClient.SqlDataAdapter _adapter;
private System.Data.SqlClient.SqlConnection _connection;
private System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public proTableAdapter() {
this.ClearBeforeFill = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private System.Data.SqlClient.SqlDataAdapter Adapter {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -