C # how to invoke the data type is a datetime data type of the stored procedure?
CodePudding user response:
Using (SqlCommand command=new SqlCommand ("... ", connection))
{
Command.Com mandType=System.Data.Com mandType.
StoredProcedure .
SqlParameter parameter=command. The Parameters. The Add (" @... , "
System. Data. SqlDbType. DateTime ).
The parameter Value=https://bbs.csdn.net/topics/DateTime.Now;
.
CodePudding user response: