在运行时替换Asp.Net网页中的内容 [英] Replace content in Asp.Net web page at run time

查看:115
本文介绍了在运行时替换Asp.Net网页中的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用C#.Net开发的Asp.net网页.有几个GridView控件,并且数据是从数据库绑定的.

有时,默认日期在GridView列中显示为"01/01/1900".我可以在RowDataBound事件中将其替换为".

有没有一种简单的方法可以在运行时将所有这些"01/01/1900"替换为".

I have a Asp.net web page developed using C#.Net. There are several GridView controls and data is bind from data base.

Some times there are default dates displayed as "01/01/1900" in GridView columns. I can replace it at RowDataBound event with "".

is there an easy way to replace all these "01/01/1900" with "" in run time.

推荐答案

检查一下: [

这篇关于在运行时替换Asp.Net网页中的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆