热门标签
更多>
搜索结果
查询Tags标签: TextBox2,共有 2条记录-
C# Winform 简单的登录窗体实现
后台代码: public FormLogin() {InitializeComponent();MinimizeBox = false;MaximizeBox = false;FormBorderStyle = FormBorderStyle.FixedSingle;textBox2.UseSystemPasswordChar = true;textBox2.PasswordChar = *; }private void button1_Click(object sender, Even…
2021/7/7 9:04:46 人评论 次浏览 -
ASP.NET中检验数据库中某个值和textbox中的值一致
string str0 = "select * from dengji where company=" + TextBox2.Text+""; 上面的代码中,dengji是我的表名。 要在表中找到一个值等于TextBox2中的值。此时TextBox中输入的为字符串,如果我们输入的为数字,那么就不需要这么麻烦。string str0 = &…
2021/5/4 19:25:38 人评论 次浏览