I declared the control like this:
<asp:SqlDataSource ID="sdsSystemSubTypes" runat="server"
ConnectionString="<%$ ConnectionStrings:ClassicAutomation %>"
ProviderName="<%$ ConnectionStrings:ClassicAutomation.ProviderName %>"
SelectCommand="spWC_GetSystemSubTypes" SelectCommandType="StoredProcedure">
</asp:SqlDataSource>
And it solved the problem. Thanks Tadit.