摘要: 好几天没上了,接(二)继续:1遇到的问题:如何设置方法参数为可选(vb.net中)?解决方法:使用optional关键字之后,在调用时,可以不输入那些可选参数,例如:Public Function ExecuteDataset(ByVal strSql As String, ByVal strTableName As String, Optional ByVal SqlParas() As SqlClient.SqlParameter = Nothing, Optional ByVal CmdType As CommandType = Nothing) As DataSet……End Func 阅读全文
posted @ 2005-10-30 19:23 后厂村思维导图馆 阅读(1574) 评论(0) 推荐(0) 编辑