上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 114 下一页
摘要: 查询数据库中的存储过程 方法一: select `name` from mysql.proc where db = 'your_db_name' and `type` = 'PROCEDURE' 方法二: show procedure status; 查看存储过程或函数的创建代码 show crea 阅读全文
posted @ 2017-06-27 15:56 甜菜波波 阅读(7731) 评论(0) 推荐(0)
摘要: using System.Data; using System; public class A { static void Main(string[] args) { DataTable locationTable = new DataTable("Location"); // Add two columns locationTable.Columns.... 阅读全文
posted @ 2017-06-27 10:09 甜菜波波 阅读(6930) 评论(0) 推荐(0)
摘要: public interface Icolor{ int apply(int x,int y); } public enum color implements Icolor{ plus("+"){ public int apply(int x,int y){ return x+y;... 阅读全文
posted @ 2017-06-22 10:59 甜菜波波 阅读(9809) 评论(0) 推荐(0)
摘要: protected void removeEmpty(DataTable dt) { List removelist = new List(); for (int i = 0; i < dt.Rows.Count; i++) { bool rowdataisnull =... 阅读全文
posted @ 2017-06-21 16:56 甜菜波波 阅读(2384) 评论(0) 推荐(0)
摘要: SQL Prompt是一款拥有SQL智能提示功能的SQL Server和VS插件。超级好用的插件, SQL Prompt是一款拥有SQL智能提示功能的SQL Server和VS插件。超级好用的插件, 阅读全文
posted @ 2017-06-19 15:02 甜菜波波 阅读(150) 评论(0) 推荐(0)
摘要: package com.test; public class Programe { public static void main(String[] args) throws InterruptedException { // TODO Auto-generated method stub System.out.println("aa... 阅读全文
posted @ 2017-06-11 16:17 甜菜波波 阅读(133) 评论(0) 推荐(0)
摘要: ASP.NET MVC 3支持一项名为“Razor”的新视图引擎选项(除了继续支持/加强现有的.aspx视图引擎外)。当编写一个视图模板时,Razor将所需的字符和击键数减少到最小,并保证一个快速、通畅的编码工作流。 与大部分模板的语法不同,在Razor的帮助下,您不需要中断代码编写,仅仅为了在HT 阅读全文
posted @ 2017-06-09 18:07 甜菜波波 阅读(227) 评论(0) 推荐(0)
摘要: package com; public class Demo { public static void main(String[] args) { // TODO Auto-generated method stub //方法1 Thread t = new Thread() { public ... 阅读全文
posted @ 2017-06-09 13:42 甜菜波波 阅读(156) 评论(0) 推荐(0)
摘要: 匿名内部类也就是没有名字的内部类 正因为没有名字,所以匿名内部类只能使用一次,它通常用来简化代码编写 但使用匿名内部类还有个前提条件:必须继承一个父类或实现一个接口 实例1:不使用匿名内部类来实现抽象方法 运行结果: eat something 可以看到,我们用Child继承了Person类,然后实 阅读全文
posted @ 2017-06-09 13:38 甜菜波波 阅读(378) 评论(0) 推荐(0)
摘要: 我有一个枚举类型: #region -酒的种类- public enum WineType { 白酒 = 3, 葡萄酒 = 4, 洋酒 = 5, 老年陈酒 = 16, 啤酒 = 17 } #endregion 1 2 3 4 5 6 8 9 这是一个从数据库得到的值:葡萄酒 string wine= 阅读全文
posted @ 2017-06-08 16:30 甜菜波波 阅读(6418) 评论(0) 推荐(0)
上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 114 下一页