feat: fmSign GridView 改用 ObjectDataSource
- RpabDAC 新增 SelectRPAB - dsRPAB2/dsRPAB 改 ObjectDataSource;dsRPAB2_Selecting 改 ODS 事件
This commit is contained in:
@@ -690,13 +690,13 @@
|
||||
</EmptyDataTemplate>
|
||||
</asp:GridView>
|
||||
|
||||
<asp:SqlDataSource ID="dsRPAB2" runat="server" ConnectionString="Data Source=SRYANG-X200\SQL2K8;Initial Catalog=THINKYU_WEB_TY;Integrated Security=True"
|
||||
ProviderName="System.Data.SqlClient" SelectCommand="SELECT [RPANO], [RPAPN], [RPENO], [RPDAT], [RPAPP], [RPDOC] FROM [RPAB] WHERE (([RPREN] = @RPREN) AND ([RPDAT] IS NOT NULL))"
|
||||
<asp:ObjectDataSource ID="dsRPAB2" runat="server"
|
||||
TypeName="RpabDAC" SelectMethod="SelectRPAB"
|
||||
OnSelecting="dsRPAB2_Selecting">
|
||||
<SelectParameters>
|
||||
<asp:Parameter Name="RPREN" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</asp:View>
|
||||
<asp:View ID="View5" runat="server">
|
||||
@@ -2589,13 +2589,13 @@
|
||||
</EmptyDataTemplate>
|
||||
</asp:GridView>
|
||||
|
||||
<asp:SqlDataSource ID="dsRPAB" runat="server" ConnectionString="Data Source=SRYANG-X200\SQL2K8;Initial Catalog=THINKYU_WEB_TY;Integrated Security=True"
|
||||
ProviderName="System.Data.SqlClient" SelectCommand="SELECT [RPANO], [RPAPN], [RPENO], [RPDAT], [RPAPP], [RPDOC] FROM [RPAB] WHERE (([RPREN] = @RPREN) AND ([RPDAT] IS NOT NULL))">
|
||||
<asp:ObjectDataSource ID="dsRPAB" runat="server"
|
||||
TypeName="RpabDAC" SelectMethod="SelectRPAB">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="RPARGrid" Name="RPREN" PropertyName="SelectedValue"
|
||||
Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:SqlDataSource>
|
||||
</asp:ObjectDataSource>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user