DECLARE @STR NVARCHAR(MAX) SET @STR=N'SELECT @count=count(*) from Category' declare @count int exec sp_executesql @STR,N'@count int output', @count output select @count
SqlConnection conn = CsDB.sqlcon(); SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......