时间: 2021-07-31 作者:daque
示例 public sub createoledbparameter() dim myparameter as new oledbparameter() myparameter.parametername = "description" myparameter.oledbtype = oledbtype.varchar myparameter.direction = parameterdirection.output myparameter.size = 88 dim myparameter as oledbparameter = new oledbparameter("description", "beverages") dim myvalue as string = "12 foot scarf - multiple colors, one previous owner" dim myparameter as new oledbparameter("description", oledbtype.varchar) myparameter.direction = parameterdirection.output myparameter.size = myvalue.length myparameter.value = myvalue dim myparameter as new oledbparameter("description", oledbtype.varchar, 88) myparameter.sourcecolumn = "description" myparameter.sourceversion = datarowversion.current dim myparameter as new oledbparameter("description", oledbtype.varchar, 88) myparameter.direction = parameterdirection.output dim myparameter as new oledbparameter("description", oledbtype.varchar, 88, "description") myparameter.direction = parameterdirection.output dim myparameter as new oledbparameter("description", oledbtype.varchar, 11, parameterdirection.output, true, 0, 0, "description", datarowversion.current, "garden hose")end sub