实例化SqlParameterCollection的方法是
SqlParameterCollection parmCollection = (new SqlCommand("a"
screen.width/2)this.width=screen.width/2" vspace=2 border=0>).Parameters ;
这招有点笨,但很有效!
screen.width/2)this.width=screen.width/2" vspace=2 border=0>
另外发现两个注意事项
1。如果组件有 colection属性,注意不能给此属性加写(set)方法,即它必须是只读的!
2。在webservice中不能传collection,只能传数组,致于为什么,我问谁去呀@!
screen.width/2)this.width=screen.width/2" vspace=2 border=0>
闫力昕于D日32天!
SqlParameterCollection parmCollection = (new SqlCommand("a"
![](http://www.blogcn.com/images/wink.gif)
这招有点笨,但很有效!
![](http://www.blogcn.com/images/em/2/2.gif)
另外发现两个注意事项
1。如果组件有 colection属性,注意不能给此属性加写(set)方法,即它必须是只读的!
2。在webservice中不能传collection,只能传数组,致于为什么,我问谁去呀@!
![](http://www.blogcn.com/images/em/2/6.gif)
闫力昕于D日32天!