提交代码
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="设备材料报验" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true" EnableColumnLines="true"
|
||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="CommissioningSystem"
|
||||
SortDirection="DESC" OnSort="Grid1_Sort"
|
||||
ClicksToEdit="2" DataIDField="Id" AllowSorting="true" SortField="SortIndex"
|
||||
SortDirection="ASC" OnSort="Grid1_Sort"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableTextSelection="true">
|
||||
<Toolbars>
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace FineUIPro.Web.Transfer
|
||||
/// </summary>
|
||||
public void BindGrid()
|
||||
{
|
||||
string strSql = @"select * from Transfer_ProjectSetup C
|
||||
string strSql = @"select *,isnull(CAST(SN as int),0) as SortIndex from Transfer_ProjectSetup C
|
||||
where C.ProjectId = @ProjectId";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
|
||||
Reference in New Issue
Block a user