📄 pubsdataset1.designer.cs
字号:
throw new System.Data.StrongTypingException("表“books”中列“bookcount”的值为 DBNull。", e);
}
}
set {
this[this.tablebooks.bookcountColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int num {
get {
try {
return ((int)(this[this.tablebooks.numColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“books”中列“num”的值为 DBNull。", e);
}
}
set {
this[this.tablebooks.numColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int islock {
get {
try {
return ((int)(this[this.tablebooks.islockColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“books”中列“islock”的值为 DBNull。", e);
}
}
set {
this[this.tablebooks.islockColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IskindNull() {
return this.IsNull(this.tablebooks.kindColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetkindNull() {
this[this.tablebooks.kindColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsbnameNull() {
return this.IsNull(this.tablebooks.bnameColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetbnameNull() {
this[this.tablebooks.bnameColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IscompanyNull() {
return this.IsNull(this.tablebooks.companyColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetcompanyNull() {
this[this.tablebooks.companyColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsauthorNull() {
return this.IsNull(this.tablebooks.authorColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetauthorNull() {
this[this.tablebooks.authorColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IspriceNull() {
return this.IsNull(this.tablebooks.priceColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetpriceNull() {
this[this.tablebooks.priceColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IspressmarkNull() {
return this.IsNull(this.tablebooks.pressmarkColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetpressmarkNull() {
this[this.tablebooks.pressmarkColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsbookcountNull() {
return this.IsNull(this.tablebooks.bookcountColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetbookcountNull() {
this[this.tablebooks.bookcountColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsnumNull() {
return this.IsNull(this.tablebooks.numColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetnumNull() {
this[this.tablebooks.numColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsislockNull() {
return this.IsNull(this.tablebooks.islockColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetislockNull() {
this[this.tablebooks.islockColumn] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class booksRowChangeEvent : System.EventArgs {
private booksRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public booksRowChangeEvent(booksRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public booksRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace 图书馆管理系统.pubsDataSet1TableAdapters {
[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 booksTableAdapter : 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 booksTableAdapter() {
this.ClearBeforeFill = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -