自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 获取dataGridView的值

dataGridView1.CurrentRow.Cells[0].Value;

2020-06-18 17:46:19 1202

原创 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

原创 三目运算符

使用三目运算符 找到3的倍数 int c = 3; Console.WriteLine(c%3==0?"是":"否");

2020-06-16 09:17:44 350

原创 原生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

原生js轮播.zip

使用javascript利用定时器,以及函数封装原理,实现网站轮播图效果。简单的原生js实现轮播图效果,使用时请自行将代码分离

2020-06-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除