我脑子里的艰巨任务,我需要你的帮助 [英] hard task of my brain and i need your help

查看:62
本文介绍了我脑子里的艰巨任务,我需要你的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

甜蜜的一天
我需要单击按钮显示给客户端的ASP.net代码,
图片或文字,当我再次单击同一按钮时,隐藏图片或文字
只要process

Sweet Day
I need code of ASP.net thats when i click on button show to client
Picture or Text and when i click again to the same Button hide the picture or text
just i need this situation as soon as process

推荐答案

HI @Ahamad
,我就需要这种情况
请参考以下代码来解决您的疑问


HI @Ahamad

please refer the following code to resolve your Doubt


int count=0;
onbutton_click event
{
if(count==0)
{
showyourFirstImages()
count=1;
}
else if(count==1)
{
showSecondImage();
count==0;
}
}


希望对您有帮助.
也可以使用开关盒来完成此任务.这对您来说更加方便

谢谢


Hope this will help you.
this task can also be achived using the switch case.that will more esier for you

Thanks


这确实是一个非常简单的任务.
您应该阅读有关自己喜欢的ASP.NET语言的一些基础教程.
This is really a very simple task.
You should read some basic tutorial on your favourite ASP.NET language.


看看:
如何滑动& slideDown一个div吗?... [ ^ ]
在此查看第一个解决方案,yoiu将获得一些想法
have a look at:
How to slideUp & slideDown a div?...[^]
in this see first solution yoiu will get some idea


这篇关于我脑子里的艰巨任务,我需要你的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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