?? tuanweizuzhibu_infdataset1.designer.cs
字號:
this.columnBuMenName = base.Columns["BuMenName"];
this.columnBuZhangName = base.Columns["BuZhangName"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnBuMenId = new global::System.Data.DataColumn("BuMenId", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnBuMenId);
this.columnBuMenName = new global::System.Data.DataColumn("BuMenName", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnBuMenName);
this.columnBuZhangName = new global::System.Data.DataColumn("BuZhangName", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnBuZhangName);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnBuMenId}, true));
this.columnBuMenId.AllowDBNull = false;
this.columnBuMenId.Unique = true;
this.columnBuMenId.MaxLength = 10;
this.columnBuMenName.MaxLength = 50;
this.columnBuZhangName.MaxLength = 50;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bumenshezhi_infRow Newbumenshezhi_infRow() {
return ((bumenshezhi_infRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new bumenshezhi_infRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Type GetRowType() {
return typeof(bumenshezhi_infRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.bumenshezhi_infRowChanged != null)) {
this.bumenshezhi_infRowChanged(this, new bumenshezhi_infRowChangeEvent(((bumenshezhi_infRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.bumenshezhi_infRowChanging != null)) {
this.bumenshezhi_infRowChanging(this, new bumenshezhi_infRowChangeEvent(((bumenshezhi_infRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.bumenshezhi_infRowDeleted != null)) {
this.bumenshezhi_infRowDeleted(this, new bumenshezhi_infRowChangeEvent(((bumenshezhi_infRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.bumenshezhi_infRowDeleting != null)) {
this.bumenshezhi_infRowDeleting(this, new bumenshezhi_infRowChangeEvent(((bumenshezhi_infRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Removebumenshezhi_infRow(bumenshezhi_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 = "bumenshezhi_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 denglu_infDataTable : global::System.Data.TypedTableBase<denglu_infRow> {
private global::System.Data.DataColumn columnUserName;
private global::System.Data.DataColumn columnPassword;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public denglu_infDataTable() {
this.TableName = "denglu_inf";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal denglu_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 denglu_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 UserNameColumn {
get {
return this.columnUserName;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn PasswordColumn {
get {
return this.columnPassword;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public denglu_infRow this[int index] {
get {
return ((denglu_infRow)(this.Rows[index]));
}
}
public event denglu_infRowChangeEventHandler denglu_infRowChanging;
public event denglu_infRowChangeEventHandler denglu_infRowChanged;
public event denglu_infRowChangeEventHandler denglu_infRowDeleting;
public event denglu_infRowChangeEventHandler denglu_infRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Adddenglu_infRow(denglu_infRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public denglu_infRow Adddenglu_infRow(string UserName, string Password) {
denglu_infRow rowdenglu_infRow = ((denglu_infRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
UserName,
Password};
rowdenglu_infRow.ItemArray = columnValuesArray;
this.Rows.Add(rowdenglu_infRow);
return rowdenglu_infRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public denglu_infRow FindByUserName(string UserName) {
return ((denglu_infRow)(this.Rows.Find(new object[] {
UserName})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
denglu_infDataTable cln = ((denglu_infDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override global::System.Data.DataTable CreateInstance() {
return new denglu_infDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnUserName = base.Columns["UserName"];
this.columnPassword = base.Columns["Password"];
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -