When executing command.Prepare() I have “SqlCommand.Prepare method requires all parameters to have an explicitly set type” error

后端 未结 0 1883
隐瞒了意图╮
隐瞒了意图╮ 2021-01-28 03:42

I have the following statements:

SqlConnection con = new SqlConnection(ConfigurationManager.AppSettings[\"DataBaseName\"]);
SqlCommand cmd = new SqlCommand();
cm         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题