c# 大佬救救孩子吧!为什么If函数明明一样却总是说不一样啊

沉芥 2020-01-01 09:34:48
string i = (string)comm.ExecuteScalar(); Label2.Text = i; string str1 = "y"; if(i.Equals(str1,StringComparison.OrdinalIgnoreCase)==true) { Label1.Text = name+i; Button2.Visible = false; // Button3.Visible = true; } else { Label1.Text = name; Button3.Visible = false; //Button2.Visible = true; }
...全文
17 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
沉芥 2020-01-01
  • 打赏
  • 举报
回复
大佬快来啊!!冲!!!!!
沉芥 2020-01-01
  • 打赏
  • 举报
回复
帮帮孩子叭急需啊!!!
沉芥 2020-01-01
  • 打赏
  • 举报
回复
我弄好好几种方法还是不行为什么啊

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧