问题描述 Java编程风格问题,新手求教 package chapter5; abstract class Goods { private double unitPrice; private int account; public double getUnitPrice() { return unitPrice; } public void setUnitPrice(double unitPrice) { this.unitPrice = unitPrice; } public int getA
问题描述 新手求教sql server sqlparameter cmd.CommandText = ""use master select name From sysdatabases Where name = '""+databasename+""'""; cmd.ExecuteNonQuery(); 这个执行可以查到结果,这个databasename是string类型的变量 cmd.Parameters.Add(new