添加栏目HyperLink
生活随笔
收集整理的這篇文章主要介紹了
添加栏目HyperLink
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
HyperLink控件:NavigateUrl屬性指定跳轉頁面。 頁面綁定函數: private void BindPage()
??? {
??????? string action = Request.QueryString["action"].ToString();
??????? if (action == "add")
??????? {
??????????? Button1.Text = "添加";
??????????? Label1.Text = "添加";
??????? }
??????? else
??????? {
??????????? Button1.Text = "修改";
??????????? Label1.Text = "修改";
??????? }
??? }
??? {
??????? string action = Request.QueryString["action"].ToString();
??????? if (action == "add")
??????? {
??????????? Button1.Text = "添加";
??????????? Label1.Text = "添加";
??????? }
??????? else
??????? {
??????????? Button1.Text = "修改";
??????????? Label1.Text = "修改";
??????? }
??? }
轉載于:https://blog.51cto.com/zcsull/147369
總結
以上是生活随笔為你收集整理的添加栏目HyperLink的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: php上传文件简单类
- 下一篇: 女性最常说的5大谎言: