事件:
首先数据库中某表有2个字段 MerchID,Edition 合起来为主键
然后添加一条记录 MerchId为 "001" Edition为空
然后取出此条记录 把 Edition传到另外一个窗体Other.aspx
然后在Other.aspx用Request[""]获得
结果:(设传过去后获得的值为sMerchId)
1.发现获得的值 sMerchId != "" 
2.但是 获得的值 sMerchId.Trim() == ""
3.用Sql 查询 select ... where merchid='001' and edition='' 或者 
select ... where merchid='001' and edition='     ' 都能得到结果
4.在Other.aspx.cs中 用using System.SqlClient
CommandText = string.Format("select ... where merchid='{0}' and edition='{1}'","001",sMerchId) 就得不到结果
用CommandText = string.Format("select ... where merchid='{0}' and edition='{1}'","001","")或者
CommandText = string.Format("select ... where merchid='{0}' and edition='{1}'","001","     ") 都能得到结果我的理解:明明sMerchId.Trim() == "" ,也就是""值传过去后sMerchId就是多个空字符;为什么用""和"         "可以查询到结果,用sMerchId就不能查询到结果. 
问题:有点乱,望看明白的人解答!