![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
鱼雨羽
既然选择了远方,便只顾风雨兼程
展开
-
C#错误提示
-------------------------------------------------1.错误信息:---------------------------------------------------------------------------- WebForms UnobtrusiveValidationMode 需要“jquery”ScriptResourceMappi...原创 2019-09-06 14:52:25 · 1056 阅读 · 0 评论 -
C#GridView绑定MySQL数据库
---------------------------------c#GridView绑定数据库----------------------------------- protected void Page_Load(object sender, EventArgs e) { string sqlCconnStr = ConfigurationManager.Co...原创 2019-09-07 22:37:14 · 1041 阅读 · 0 评论 -
C#连接mysql(自学笔记-初级)
------------------------------MySQL链接c#数据库-------------------------- //首先要添加MySQL的数据库引用 //然后进行以下步骤 <configuration> <system.web> <compilation debug="false" targetFramework="4.5">...原创 2019-09-07 22:43:18 · 124 阅读 · 0 评论 -
C#弹出文本框
/* string scriptString = "alert('查询成功');"; Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "waring", scriptString, true);*/原创 2019-09-08 10:43:19 · 948 阅读 · 0 评论 -
C#弹出警告
-------------------------------------------弹出警告/文本框------------------ string scriptString = "alert('信息不全,请重新填写');"; Page.ClientScript.RegisterClientScriptBlock(this.GetType(),"waring", s...原创 2019-09-08 10:44:34 · 2250 阅读 · 0 评论 -
C#GridView标头不一致,GridView检索排序
-----------------------------------表头不一致--------------------------------------------------------- <HeaderStyle CssClass="topcss" Font-Bold="True" Font-Italic="False" BackColor="#FFFFCC" />...原创 2019-09-08 10:45:26 · 117 阅读 · 0 评论 -
C#GridView出现序号列
在GridView控件第0列添加序号列: [html] view plain copy <asp:BoundField HeaderText="序号" > <ItemStyle HorizontalAlign="Center" /> <HeaderStyle HorizontalAlign="Center" Width="30px" /...原创 2019-09-08 10:46:13 · 777 阅读 · 0 评论