摘要:
1 create FUNCTION [dbo].[ispm] (@pmfrist int) 2 RETURNS int 3 AS 4 BEGIN 5 DECLARE @ISvalue int 6 if @pmfrist>0 and @pmfrist<11 7 begin 8 set @ISval... 阅读全文
摘要:
解决读取文本文件乱码问题。我采取的是读取前先判断文本文件格式。StreamReader sr = new StreamReader(fullfileName, GetFileEncodeType(fullfileName))public System.Text.Encoding GetFileEnc... 阅读全文