📄 studentsdataset.designer.cs
字号:
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.学生成绩RowDeleting != null)) {
this.学生成绩RowDeleting(this, new 学生成绩RowChangeEvent(((学生成绩Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Remove学生成绩Row(学生成绩Row 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();
StudentsDataSet ds = new StudentsDataSet();
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 = "学生成绩DataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class 学生成绩Row : System.Data.DataRow {
private 学生成绩DataTable table学生成绩;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal 学生成绩Row(System.Data.DataRowBuilder rb) :
base(rb) {
this.table学生成绩 = ((学生成绩DataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 学号 {
get {
return ((string)(this[this.table学生成绩.学号Column]));
}
set {
this[this.table学生成绩.学号Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 姓名 {
get {
try {
return ((string)(this[this.table学生成绩.姓名Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“学生成绩”中列“姓名”的值为 DBNull。", e);
}
}
set {
this[this.table学生成绩.姓名Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 性别 {
get {
try {
return ((string)(this[this.table学生成绩.性别Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“学生成绩”中列“性别”的值为 DBNull。", e);
}
}
set {
this[this.table学生成绩.性别Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 班级 {
get {
try {
return ((string)(this[this.table学生成绩.班级Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“学生成绩”中列“班级”的值为 DBNull。", e);
}
}
set {
this[this.table学生成绩.班级Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public short 数学 {
get {
try {
return ((short)(this[this.table学生成绩.数学Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“学生成绩”中列“数学”的值为 DBNull。", e);
}
}
set {
this[this.table学生成绩.数学Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public short 语文 {
get {
try {
return ((short)(this[this.table学生成绩.语文Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“学生成绩”中列“语文”的值为 DBNull。", e);
}
}
set {
this[this.table学生成绩.语文Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public short 英语 {
get {
try {
return ((short)(this[this.table学生成绩.英语Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“学生成绩”中列“英语”的值为 DBNull。", e);
}
}
set {
this[this.table学生成绩.英语Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is姓名Null() {
return this.IsNull(this.table学生成绩.姓名Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set姓名Null() {
this[this.table学生成绩.姓名Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is性别Null() {
return this.IsNull(this.table学生成绩.性别Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set性别Null() {
this[this.table学生成绩.性别Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is班级Null() {
return this.IsNull(this.table学生成绩.班级Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set班级Null() {
this[this.table学生成绩.班级Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is数学Null() {
return this.IsNull(this.table学生成绩.数学Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set数学Null() {
this[this.table学生成绩.数学Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is语文Null() {
return this.IsNull(this.table学生成绩.语文Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set语文Null() {
this[this.table学生成绩.语文Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is英语Null() {
return this.IsNull(this.table学生成绩.英语Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set英语Null() {
this[this.table学生成绩.英语Column] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class 学生成绩RowChangeEvent : System.EventArgs {
private 学生成绩Row eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 学生成绩RowChangeEvent(学生成绩Row row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -