asp.net应用解决方案 [英] asp.net application solution

查看:106
本文介绍了asp.net应用解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HIi



我必须制作一个像我们发布的推文一样的应用程序,我已经制作了两个公共和私人的单选按钮。用户必须点击他想要公开或私有的推文帖子,如果他选择私人,而不是在下面的gridview中看不到我怎么办?

解决方案

为每个帖子设置状态字段。如果您的帖子为 private ,则将您的状态字段设为0,如果您的帖子为公开将您的状态字段设置为1,然后将您的Gridview与哪个帖子的状态为1绑定,并且您必须保持状态。

HIi

i have to make an application that is work like tweet we post and in which i have made that two radio buttons which is public & private. user have to click which tweet post he want to make public or private if he select private than its not been seen in below gridview how i can do it???

解决方案

Set Status field for your every Post. If your post as private make your status field as '0' if your post as public make your status field as '1' ,then bind your Gridview with which post have status as '1' and definitely you have to maintain status .


这篇关于asp.net应用解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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