12
Truyền tham số mảng trong SqlCommand
Tôi đang cố gắng truyền tham số mảng cho SQL commnd trong C # như bên dưới, nhưng nó không hoạt động. Có ai gặp nó trước? string sqlCommand = "SELECT * from TableA WHERE Age IN (@Age)"; SqlConnection sqlCon = new SqlConnection(connectString); SqlCommand sqlComm = new SqlCommand(); sqlComm.Connection = …