
TextBox的使用
临渊慎行
仗剑天涯,从每一天的进步开始
展开
-
C#将文本框总数据写入SQL数据库的
using System.Data.SqlClient; string xxx=texbox1.text.tostring().trim(); string str = “Data Source=数据库机器名;Initial Catalog=数据库名bai;Integrated Security=True”; SqlConnection con = new SqlConnection(str); con.Open(); cmd=new SqlCommand("要是插入数du据就zhi用INSERT INTO原创 2020-10-19 13:05:57 · 1735 阅读 · 0 评论 -
C#(Asp.Net)TextBox与Calendar的结合使用
.aspx界面 <script language="javascript" type="text/javascript"> function getAbsolutePosition(element) { var point = { x: element.offsetLeft, y: element.offsetTop }; if (element.offsetParent) { var parentPoint = thi原创 2020-10-11 14:46:27 · 1512 阅读 · 1 评论