?? dataset1.designer.cs
字號(hào):
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public userRow this[int index] {
get {
return ((userRow)(this.Rows[index]));
}
}
public event userRowChangeEventHandler userRowChanging;
public event userRowChangeEventHandler userRowChanged;
public event userRowChangeEventHandler userRowDeleting;
public event userRowChangeEventHandler userRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AdduserRow(userRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public userRow AdduserRow(string username, string address, string Email) {
userRow rowuserRow = ((userRow)(this.NewRow()));
rowuserRow.ItemArray = new object[] {
username,
address,
Email,
null};
this.Rows.Add(rowuserRow);
return rowuserRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public userRow FindBy編號(hào)(int 編號(hào)) {
return ((userRow)(this.Rows.Find(new object[] {
編號(hào)})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
userDataTable cln = ((userDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new userDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnusername = base.Columns["username"];
this.columnaddress = base.Columns["address"];
this.columnEmail = base.Columns["Email"];
this.column編號(hào) = base.Columns["編號(hào)"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnusername = new System.Data.DataColumn("username", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnusername);
this.columnaddress = new System.Data.DataColumn("address", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnaddress);
this.columnEmail = new System.Data.DataColumn("Email", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnEmail);
this.column編號(hào) = new System.Data.DataColumn("編號(hào)", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.column編號(hào));
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.column編號(hào)}, true));
this.column編號(hào).AutoIncrement = true;
this.column編號(hào).AllowDBNull = false;
this.column編號(hào).Unique = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public userRow NewuserRow() {
return ((userRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new userRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(userRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.userRowChanged != null)) {
this.userRowChanged(this, new userRowChangeEvent(((userRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.userRowChanging != null)) {
this.userRowChanging(this, new userRowChangeEvent(((userRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.userRowDeleted != null)) {
this.userRowDeleted(this, new userRowChangeEvent(((userRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.userRowDeleting != null)) {
this.userRowDeleting(this, new userRowChangeEvent(((userRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveuserRow(userRow 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();
DataSet1 ds = new DataSet1();
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 = "userDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class userRow : System.Data.DataRow {
private userDataTable tableuser;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal userRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableuser = ((userDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string username {
get {
try {
return ((string)(this[this.tableuser.usernameColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“user”中列“username”的值為 DBNull。", e);
}
}
set {
this[this.tableuser.usernameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string address {
get {
try {
return ((string)(this[this.tableuser.addressColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“user”中列“address”的值為 DBNull。", e);
}
}
set {
this[this.tableuser.addressColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Email {
get {
try {
return ((string)(this[this.tableuser.EmailColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“user”中列“Email”的值為 DBNull。", e);
}
}
set {
this[this.tableuser.EmailColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int 編號(hào) {
get {
return ((int)(this[this.tableuser.編號(hào)Column]));
}
set {
this[this.tableuser.編號(hào)Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsusernameNull() {
return this.IsNull(this.tableuser.usernameColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetusernameNull() {
this[this.tableuser.usernameColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsaddressNull() {
return this.IsNull(this.tableuser.addressColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetaddressNull() {
this[this.tableuser.addressColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsEmailNull() {
return this.IsNull(this.tableuser.EmailColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetEmailNull() {
this[this.tableuser.EmailColumn] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class userRowChangeEvent : System.EventArgs {
private userRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public userRowChangeEvent(userRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public userRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
#pragma warning restore 1591
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -