
.NET
blackhero
软件
展开
-
弹出窗口总结收集(续)
this.Response.Write("window.open(WebForm7.aspx,,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=750,height=470,left=80,top=40);");弹出跟你当前的窗口有没有菜单工具栏没有原创 2005-06-23 11:10:00 · 2839 阅读 · 0 评论 -
windows mobile取手机号的实例
调用:string strNumber = Microsoft.Wireless.Sim.GetPhoneNumber().Address; Phone.cs using System;using System.Text;using System.Runtime.InteropServices;namespace Microsoft.Wireless{ /// /// I原创 2009-05-31 14:33:00 · 2185 阅读 · 7 评论 -
Json.Net 3.0应用:asp.net 3.5 操作Json数据
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace Json应用{ public partial class _Default : System.Web.U原创 2008-10-07 16:48:00 · 1116 阅读 · 0 评论 -
javascript收集
javascript收集.asdfa---------------------------------------------------------------------------------------- ////添加到收集菜单里. //this.Button1.Attributes.Add("OnClick", "javascript:window.e原创 2007-04-29 15:42:00 · 1227 阅读 · 0 评论 -
Silverlight Project开发
Page.xamlPage.xaml.csSilverlight.jsTestPage.htmlTestPage.html.js ---------------------------------------------------------------------------------------------------------------------------------Page原创 2007-07-17 14:04:00 · 793 阅读 · 0 评论 -
Net 3.0学习
Net 3.0隐式声明变量:var num=0;var nums=new []{1,2,3,4,5};var str="";var list=new List();foreach(var i in nums){ num+=i;}扩展方法:namespace NExplus.CSharp3Feature{ public static class MethodExtend {转载 2007-06-21 14:46:00 · 1154 阅读 · 0 评论 -
XmlHttp实例
WebForm1.aspx:----------------------------------------------------------------------------------------------------------------------- WebForm1 var xmlHttp; function createXMLHttpR原创 2007-03-22 18:33:00 · 1018 阅读 · 0 评论 -
Asp.Net 整理(文件)
Dim strPath As String = "C:/Inetpub/wwwroot/MyTest/abc" 新建 文件夹 If Not System.IO.Directory.Exists(strPath) Then System.IO.Directory.CreateDirectory(strPath)原创 2006-05-19 14:11:00 · 1252 阅读 · 0 评论 -
C#学习:
C#类型:sbyte:System.SByte 8位有符号的整数 -128~127short:System.Int16 16位有符号的整数 int :System.Int32 32位有符号的整数 long :System.Int64 64位有符号的整数byte :System.Byte 8位无符号的整数ushort:System.Uint16 16位无符号的整数ui原创 2006-09-23 10:43:00 · 181 阅读 · 0 评论 -
ASP.NET常识整理
弹出窗口:Response.Write("window.alert(您已经注册成功!)");Response.Write("window.top.location=index.aspx");vs.net2005 b2的激活号:NGBQ2KCKL31K00vs.net2003和vs.net2005 b1的使用:用2003c:/WINNT/Microsoft.NET/Framework/v1.原创 2005-05-24 15:30:00 · 1697 阅读 · 0 评论 -
ASP.NET简单应用
连接数据库 打开连接string connstr=System.Configuration.ConfigurationSettings.AppSettings["sqllink"];SqlConnection conn=new SqlConnection(connstr);conn.Open();添加DataGridSqlDataAdapter dr=new SqlDataAdapter(sql原创 2005-05-23 22:46:00 · 1637 阅读 · 0 评论 -
ASP.NET简单整理收藏(2)
//查询xml(C#)DataSet strxml=new DataSet(); string path="XMLFile1.xml";strxml.ReadXml(Server.MapPath(path));this.TextBox1.Text=strxml.Tables[0].Rows[0]["sqlchaxun"].ToString();this.TextBox2.Text=strxml.T原创 2005-09-02 19:14:00 · 2634 阅读 · 0 评论 -
ASP.NET简单整理收藏(1)
//连接数据库://登录string connstr=System.Configuration.ConfigurationSettings.AppSettings["sqllink"];SqlConnection conn=new SqlConnection(connstr);conn.Open();string sql="select count(*) as icount from sysope原创 2005-09-02 18:45:00 · 1619 阅读 · 0 评论 -
弹出窗口总结
注://刷新父窗口的父窗口Dim strScript As String = "" & vbCrLfstrScript &= "opener.parent.document.location.href=""" & "../Individual/UserJobs.aspx?EntityTableID=" & Request("EntityTableID") & "&ListID=" & BLL.Ta原创 2005-06-22 09:34:00 · 6091 阅读 · 2 评论 -
IT蚁族:蜗居和逃离
2010年3月4日,下午6点,北京。在家乡人心中,他们是体面的城市白领,是年轻的IT精英。在城里人眼里,他们是成群的过客,是寒酸的房客。繁华的都市中,他们居无定所。辗转奔波的生活里,他们茫然失措。早晨出门打工,晚上继续做梦。生活无从保障,爱情没有干粮。闯荡的抱负在漫长的交通中消磨殆尽。4平米的格子房无处安放激情和青春。IT曾经是“蚁族”的温床,如今都在去留中彷徨。转载 2010-03-22 16:06:00 · 1265 阅读 · 1 评论