- 博客(11)
- 收藏
- 关注
转载 sql
3、表空间查询及表空间的利用率查询(连接system用户)--1、查看表空间的名字和所属文件select tablespace_name, file_id, file_name,round(bytes/(1024*1024),0) total_spacefrom dba_data_filesorder by tablespace_name;--2、查询Oracle表空间的利用率SELECT UPP...
2018-06-29 16:14:29
161
转载 c#中如何获取本机用户名、MAC地址、IP地址、硬盘ID、CPU序列号、系统名称、物理内存
我们在利用C#开发桌面程序(Winform)程序的时候,经常需要获取一些跟系统相关的信息,以下这些代码获取能有些用处。c#中如何获取本机用户名、MAC地址、IP地址、硬盘ID、CPU序列号、系统名称、物理内存。首先需要引入命名空间:usingSystem.Management;/// 操作系统的登录用户名:string GetUserName(){ try { string s...
2018-06-25 10:57:57
422
转载 实体类、字符串互相转换
using System;using System.Collections.Generic;using System.Text;namespace PackDLL.Data.ConvertData{ /// <summary> /// 实体类、字符串互相转换 /// </summary> public class PackReflectionEnti...
2018-06-25 10:24:22
7887
转载 C# 获得MP4时长
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.IO;using System.Windows.Forms; 进入shell...
2018-03-16 21:00:29
1348
转载 C++ CreateThread参数应用技巧解析
在这篇文章中,我们会为大家详细推出C++ CreateThread参数的具体应用方法,以帮助大家能够从中获得一些帮助,提高编程效率。那么接下来就让我们一起来看看C++ CreateThread参数的正确使用方法吧。项目是VS2003下的,用到了CreateThread函数,看到网上说不应该调用CreateThread,而应该使用_beginthreadex。因为刚好用到了,就还是写一下Create...
2018-03-16 20:54:56
1184
转载 c# 多线程 调用带参数函数
线程操作主要用到Thread类,他是定义在System.Threading.dll下。使用时需要添加这一个引用。该类提供给我们四个重载的构造函数(以下引自msdn)。 Thread (ParameterizedThreadStart) 初始化 Thread 类的新实例,指定允许对象在线程启动时传递给线程的委托。 Thread (ThreadStart) 初始化 Thread 类的新实例。 由...
2018-03-16 20:53:49
1660
原创 ASP.NET GridView排序
<asp:GridView ID="GridView1" runat="server" AllowSorting="true"protected void GridView1_Sorting(object sender, GridViewSortEventArgs e) { string sortExpression = e.SortExpression.ToStrin...
2018-03-16 20:51:17
1719
原创 保存图片弹框
string sd = Request.Url.ToString(); string url = sd.Remove(sd.IndexOf("/web/") + 5) + ImageUrl.Remove(0, 2); FileStream fs = new FileStream(Server.MapPath(ImageUrl), FileMode.Open); ...
2018-03-16 20:47:48
209
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人