Universal stored procedure function (.NET)

xiaoxiao2021-03-06  119

///

// / execute stored procedure, CNN database connection object /// /// parameter array /// stored procedure names public void excuPro (string procudureName, parameter [] proParameter) {SqlCommand cmd = new SqlCommand (); cmd.CommandType = System.Data.CommandType.StoredProcedure; cmd.CommandText = procudureName; for ( INT i = 0; i

Dingtian1 [

original]

Author Blog:

Http://blog.9cbs.net/dingtian1/

转载请注明原文地址:https://www.9cbs.com/read-126628.html

New Post(0)