close
Response.Cookies["UserInfo"].Expires = DateTime.Now;

可用來清除cookies的資料的

用Request.Cookies.Clear();感覺效果不大

asp.net的textbox如果將TextMode屬性設定為Password的話,
你再怎麼設定text都是沒有用的.
要使用Attributes.Add的方式去增加.才會有●●●的符號顯示
TextBox1.Attributes.Add("value", "要設定的密碼");


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 幻紫芊芊 的頭像
    幻紫芊芊

    芊芊的窩

    幻紫芊芊 發表在 痞客邦 留言(0) 人氣()