/*************web*****************/
<asp:ObjectDataSource ID="odsGzgl" runat="server" TypeName="YaKeSecurity.BLL.rygl"??????? SelectMethod="GetJsyGz">??????? <SelectParameters>??????????????? <asp:SessionParameter Name="gsID" SessionField="gsID"/>??????? </SelectParameters>??? </asp:ObjectDataSource>??? <div>??????? <table width="100%" border="0" cellspacing="0" cellpadding="0" id="table11">??????????? <tr>??????????????? <td>??????????????????? <fieldset>??????????????????????? <legend>查詢結(jié)果</legend>??????????????????????? <asp:GridView ID="gv" runat="server" AutoGenerateColumns="false" ??????????????????????????? DataSourceID="odsGzgl">??????????????????????????? <Columns>?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ??????????????????????????????? <asp:BoundField DataField="gz" HeaderText="工資" />?????????????????????????????????????????????????????????? ??????????????????????????? </Columns>??????????????????????????? <EmptyDataTemplate>??????????????????????????????? <strong>查詢無結(jié)果</strong>??????????????????????????? </EmptyDataTemplate>??????????????????????? </asp:GridView>??????????????????? </fieldset>??????????????? </td>??????????? </tr>??????? </table>??? </div>
?
/************************ BLL 邏輯層 *******************/
public static DataSet GetJsyGz(int gsID)??????? {??????????? bool print = false;??????????? DbCommand dc = db.GetStoredProcCommand("p_aqscjygl_rygl_GetJsyGz", gsID, print);??????????? return db.ExecuteDataSet(dc);??????? }
?
我看了一遍又一遍的參數(shù) 都沒看出什么 麻煩大家?guī)臀铱纯?到底哪兒錯了 拜謝了
- 1 回答
- 0 關(guān)注
- 458 瀏覽
添加回答
舉報
0/150
提交
取消