- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 asp ClientScript.RegisterStartupScript()用法
//ASP.NET后台页面跳转 Page.ClientScript.RegisterStartupScript(Page.GetType(), “”, “”); //后台弹出确定框 ClientScript.RegisterStartupScript(GetType(), “message”, “”); //ASP.NET后台页面跳转(登录成功会出现弹框,然后在跳转主页) Page.ClientScript.RegisterStartupScript(Page.GetType(), “”, “”); 或
2020-06-24 10:02:33 609 1
原创 Winform窗体 跳转到网页
winform窗体上有一个button 给button一个点击事件 1、 System.Diagnostics.Process.Start("http://www.google.com"); 如果想要兼容IE浏览器的话 System.Diagnostics.Process.Start("iexplore.exe","http://www.google.com");
2020-06-23 07:58:43 962
原创 Winform下拉框绑定数据库数据
using (StudentDbEntities db=new StudentDbEntities ()) { comboBox1.DataSource = db.grade.Distinct().ToList(); comboBox1.DisplayMember = "gradename";//需要显示的列 comboBox1.ValueMember =..
2020-06-18 17:43:15 1457
原创 Linq(ef)的增删查的语法
增加 //查询带有外键键的 using (StudentDbEntities db = new StudentDbEntities()) { //映射 var avb = db.Student.Include("grade1").Select(s => new { id = s.id, name = s.na
2020-06-18 17:34:14 244
原创 原生JS实现轮播
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <style> * { margin: 0; padding: 0; list-style: none; } .wrap { height: 400px; width: 500px; margin: 60px auto; overflow: hidden; .
2020-06-03 14:14:06 2691 3
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人