如何使用标志为新记录添加n 1s它选择它不应该

问题描述:

大家好,



i希望使用标记添加新记录,显示与其他记录不同,我的意思是看起来感觉。



一旦打开/查看所有记录显示相同。



类似于未读/读取电子邮件的概念。 />


任何人都可以帮助我...



谢谢

Hi Guys,

i want to use flag for new record added where it show different from other records, i mean look n feel.

once its open/view all the records show as same.

similar to the concept of unread/read email.

Can anybody plzzz help me...

Thanks

你可以使用gridview的row_databound事件或者转发器/ datalist的项目数据绑定事件你正在使用什么。



u可以查看此活动中的旗帜可以根据旗帜申请不同的款式。



比你可以使用你的id的style属性

Control.style.add(font-weight,bold);
you can use row_databound event of gridview or item databound event of repeater/datalist what ever u are using.

u can check the flag in this event can apply different style based on the flag.

than u can use style attribute of your id
Control.style.add("font-weight","bold");


在db中取一个标志来维护追踪新的&查看记录。一旦特定点击查看更新其标志值。



如果您使用网格控件任何数据控件来表示记录,那么可以使用行数据绑定事件来检查标志价值观和根据它进行格式化。



为理解行数据绑定检查链接
Take an flag in db to maintain track of new & view records. Once particular is clicked to view update its flag value.

If you are using an grid control any data control to represent records then can use row data bound event to check flag values & make formatting according to that.

For understanding row data bound check this link