![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
ryukengun
雕琢美玉,使成器物
展开
-
.net中实现自定义类可以用ViewState存取
Asp.net中可以用ViewState保存画面当前的值,自己定义的类要想也能放到ViewState中,需要实现ISerializable接口才能实现,下面是个例子。 using System;using System.Collections.Generic;using System.Text;using System.Runtime.Serialization;n原创 2008-08-20 09:53:00 · 911 阅读 · 0 评论 -
Asp.net中在GridView数据绑定事件中改变显示内容要注意的问题
今天No.5说他的用Template实现的GridView在数据绑定事件中改变显示的内容后,再刷新页面时,改变的值就没了。前台画面的片断:ItemTemplate> asp:Label ID="Label1" runat="server" Text=>asp:Label>ItemTemplate>数据绑定事件:protected void Grid原创 2008-08-29 15:30:00 · 2358 阅读 · 1 评论 -
实用的在线工具:C#和VB.net代码互转
VB.net 转成 C#http://labs.developerfusion.co.uk/convert/vb-to-csharp.aspxC# 转成 VB.nethttp://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx转载 2008-09-23 10:11:00 · 817 阅读 · 0 评论