📄 datedataset.designer.cs
字号:
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 = "usersDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class studentsRow : System.Data.DataRow {
private studentsDataTable tablestudents;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal studentsRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tablestudents = ((studentsDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int student_id {
get {
return ((int)(this[this.tablestudents.student_idColumn]));
}
set {
this[this.tablestudents.student_idColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string student_num {
get {
try {
return ((string)(this[this.tablestudents.student_numColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“student_num”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.student_numColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string student_name {
get {
try {
return ((string)(this[this.tablestudents.student_nameColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“student_name”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.student_nameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string student_sex {
get {
try {
return ((string)(this[this.tablestudents.student_sexColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“student_sex”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.student_sexColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string birthdate {
get {
try {
return ((string)(this[this.tablestudents.birthdateColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“birthdate”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.birthdateColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string department {
get {
try {
return ((string)(this[this.tablestudents.departmentColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“department”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.departmentColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string speciality {
get {
try {
return ((string)(this[this.tablestudents.specialityColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“speciality”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.specialityColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string grade {
get {
try {
return ((string)(this[this.tablestudents.gradeColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“grade”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.gradeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string _class {
get {
try {
return ((string)(this[this.tablestudents.classColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“class”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.classColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string home_addr {
get {
try {
return ((string)(this[this.tablestudents.home_addrColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“home_addr”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.home_addrColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string parent_name {
get {
try {
return ((string)(this[this.tablestudents.parent_nameColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“parent_name”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.parent_nameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string home_phone {
get {
try {
return ((string)(this[this.tablestudents.home_phoneColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“home_phone”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.home_phoneColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string remark {
get {
try {
return ((string)(this[this.tablestudents.remarkColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“students”中列“remark”的值为 DBNull。", e);
}
}
set {
this[this.tablestudents.remarkColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Isstudent_numNull() {
return this.IsNull(this.tablestudents.student_numColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Setstudent_numNull() {
this[this.tablestudents.student_numColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Isstudent_nameNull() {
return this.IsNull(this.tablestudents.student_nameColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Setstudent_nameNull() {
this[this.tablestudents.student_nameColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Isstudent_sexNull() {
return this.IsNull(this.tablestudents.student_sexColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Setstudent_sexNull() {
this[this.tablestudents.student_sexColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsbirthdateNull() {
return this.IsNull(this.tablestudents.birthdateColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetbirthdateNull() {
this[this.tablestudents.birthdateColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsdepartmentNull() {
return this.IsNull(this.tablestudents.departmentColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetdepartmentNull() {
this[this.tablestudents.departmentColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsspecialityNull() {
return this.IsNull(this.tablestudents.specialityColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetspecialityNull() {
this[this.tablestudents.specialityColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsgradeNull() {
return this.IsNull(this.tablestudents.gradeColumn);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -