大家帮我分析一下:列表页加上 if (!string.IsNullOrEmpty(txtLineName.Text.Trim()))
{
queryBuilder.AddFilter(TC_RouteInfo.TC_ROUTE_TABLE, TC_RouteInfo.LINENAME_FIELD, "like", txtLineName.Text.Trim());
}。。。。就实现了页面控制,怎么回事?
还有 dropdownlist的绑定项,加到字典里,使用 BindDropDownList(ddlstAccordingSpan, "AccordingSpan");就绑定完了,怎么回事?给我解答一下!
转到定义 public void AddFilter(string tableName, string filterName, string filterOperator, int filterValue);都是这些东西,
protected void BindDropDownList(DropDownList dropDownList, string dictionaryCode);全是这个!!
在字典项里写字点,
字典项编号 | 名称 | 描述 | 附属字段1 | 附属字段2 | 您可以 |
---|---|---|---|---|---|
AccordingSpan001 | 小桥 | <input class="imageButton" id="gvList_ctl02_btnSetOrderUp" name="gvList$ctl02$btnSetOrderUp" src="../../images/asc.gif" style="border-bottom:0px;border-width:10px;height:10px;border-border-right:0px;" title="上移" type="image" /><input class="imageButton" id="gvList_ctl02_btnSetOrderDown" name="gvList$ctl02$btnSetOrderDown" src="../../images/desc.gif" style="border-bottom:0px;border-width:10px;height:10px;border-border-right:0px;" title="下移" type="image" /> | |||
AccordingSpan002 | 其它 |
<input class="imageButton" id="gvList_ctl03_btnSetOrderUp" name="gvList$ctl03$btnSetOrderUp" src="../../images/asc.gif" style="border-bottom:0px;border-left:0px;width:10px;height:10px;border-top:0px;border-right:0px;" title="上移" type="image" /><input class="imageButton" id="gvList_ctl03_btnSetOrderDown" name="gvList$ctl03$btnSetOrderDown" src="../../images/desc.gif" style="border-bottom:0px;border-left:0px;width:10px;height:10px;border-top:0px;border-right:0px;" title="下移" type="image" />
|
在页面加上这句话就出来下来列表了!??