首页 新闻 会员 周边 捐助

ParamCollection.Add()怎么修改才能加入HashTable的参数

0
[已关闭问题]
<P>&nbsp;</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>&nbsp;</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>&nbsp;&nbsp;&nbsp; <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>&nbsp;&nbsp;&nbsp; <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>&nbsp;&nbsp;&nbsp; <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
sokoo的主页 sokoo | 菜鸟二级 | 园豆:204
提问于:2007-11-20 13:35
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册