📄 system_file_list.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using Sybase.DataWindow;
namespace SPRFrame.DataType
{
// 程序文件表
public class System_File_List : Sybase.DataWindow.DataStore
{
public System_File_List()
{
this.LibraryList = SPRF.PbdFile;
this.DataWindowObject = "dw_system_file_list";
this.SetTransaction(SPRF.GetDB());
}
#region 属性
public string FILE_NAME
{
get
{
if (this.RowCount == 0) return "NoData";
return this.GetItemString(this.CurrentRow, "file_name");
}
}
public int FILE_BUILD
{
get
{
if (this.RowCount == 0) return -2;
return Convert.ToInt32(this.GetItemDouble(this.CurrentRow, "file_build"));
}
}
#endregion
#region 设定取得数据的方法
public void SetDataByFileName(string sFileName)
{
string SqlString = this.GetSqlSelect();
SqlString += "where file_name = '" + sFileName + "'";
this.SetSqlSelect(SqlString);
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -