实例化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"
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实例化及WebService注意事项
博客介绍了实例化SqlParameterCollection的方法,虽方法较笨但有效。同时指出两个注意事项,一是组件有colection属性时不能加写方法,需为只读;二是在webservice中只能传数组,不能传collection。

被折叠的 条评论
为什么被折叠?



