11 2007 档案

[转]Bind和Eval的区别详解
摘要:eval()方法在运行时使用反射执行后期绑定计算,因此与标准的ASP.NET数据绑定方法bind相比,会导致性能明显下降。它一般用在绑定时需要格式化字符串的情况下。多数情况尽量少用此方法 Eval 方法是静态(只读)方法,该方法采用数据字段的值作为参数并将其作为字符串返回。Bind 方法支持读/写功能,可以检索数据绑定控件的值并将任何更改提交回数据库。 使用 Eval 方法 Eval 方... 阅读全文

posted @ 2007-11-14 00:14 楚天碧海 阅读(728) 评论(4) 推荐(0)

The input stream is not a valid binary format
摘要:Today, I have met a problem about remoting, exception info like this: The input stream is not a valid binary format. The starting contents (in bytes) are: 53-79-73-74-65-6D-2E-52-75-6E-74-69-6D-65-2... 阅读全文

posted @ 2007-11-13 21:24 楚天碧海 阅读(2020) 评论(1) 推荐(0)

导航