[已关闭问题]
<P> </P>
<P>System.Web.UI.WebControls.<A class=bold href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Web:2.0.0.0:b03f5f7f11d50a3a/System.Web.UI.WebControls.ParameterCollection"><FONT color=#000000><STRONG>ParameterCollection</STRONG></FONT></A> </P>
<P><FONT color=#1000a0>public</FONT> <FONT color=#1000a0>class</FONT> <B><A class=bold href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Web:2.0.0.0:b03f5f7f11d50a3a/System.Web.UI.WebControls.ParameterCollection"><FONT color=#000000>ParameterCollection</FONT></A></B> : <A title=System.Web.UI.StateManagedCollection href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Web:2.0.0.0:b03f5f7f11d50a3a/System.Web.UI.StateManagedCollection"><FONT color=#006018>StateManagedCollection</FONT></A><BR></P>
<P> <FONT color=#1000a0>public</FONT> <A title=System.Int32 href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.0.0:b77a5c561934e089/System.Int32"><FONT color=#006018>int</FONT></A> <B><A class=bold href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Web:2.0.0.0:b03f5f7f11d50a3a/System.Web.UI.WebControls.ParameterCollection/Add(System.Web.UI.WebControls.Parameter):Int32"><FONT color=#000000>Add</FONT></A></B>(<A title=System.Web.UI.WebControls.Parameter href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Web:2.0.0.0:b03f5f7f11d50a3a/System.Web.UI.WebControls.Parameter"><FONT color=#006018>Parameter</FONT></A> parameter);<BR> <FONT color=#1000a0>public</FONT> <A title=System.Int32 href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.0.0:b77a5c561934e089/System.Int32"><FONT color=#006018>int</FONT></A> <B><A class=bold href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Web:2.0.0.0:b03f5f7f11d50a3a/System.Web.UI.WebControls.ParameterCollection/Add(String,String):Int32"><FONT color=#000000>Add</FONT></A></B>(<A title=System.String href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.0.0:b77a5c561934e089/System.String"><FONT color=#006018>string</FONT></A> name, <A title=System.String href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.0.0:b77a5c561934e089/System.String"><FONT color=#006018>string</FONT></A> value);<BR> <FONT color=#1000a0>public</FONT> <A title=System.Int32 href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.0.0:b77a5c561934e089/System.Int32"><FONT color=#006018>int</FONT></A> <B><A class=bold href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://System.Web:2.0.0.0:b03f5f7f11d50a3a/System.Web.UI.WebControls.ParameterCollection/Add(String,System.TypeCode,String):Int32"><FONT color=#000000>Add</FONT></A></B>(<A title=System.String href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.0.0:b77a5c561934e089/System.String"><FONT color=#006018>string</FONT></A> name, <A title=System.TypeCode href="http://www.aisto.com/roeder/dotnet/Default.aspx?Target=code://mscorlib:2.0.0.0:b77a5c561934e089/System.TypeCode"><FONT color=#006018>TypeCode</FONT></A> type, <A title=System.String href="http://www.aisto.com/roed
问题补充:
因为原设计中,查询的参数是从自定义控件中返回的,返回的是一个hashtable,所以不想调整控件,直接在ParamCollection中加入HashTable