摘要:
DropGG.comis the destination for savvy shoppers looking to save money by buying smart. DropGG.com allows you to easily view the recent price history o... 阅读全文
摘要:
查找相当记录及个数:SELECT COUNT(CNAME),CNAME FROM tblCompany GROUP BY CNAME HAVING (COUNT(*) > 1)删除相当记录:delete tblCompanyTemp where ID not in (select max(ID) from tblCompanyTemp group by CNAME) 阅读全文
摘要:
'获取checkboxlist多选值 Public Function Check_Clicked(ByVal sender As [Object], ByVal e As EventArgs) As String Dim cklValue As String = "" ' Iterate through the Items collection of the CheckBoxList ' con... 阅读全文
摘要:
'获取top数据 Private Shared Function GetTopDataViewRows(ByVal dv As DataView, ByVal n As Integer) As DataView Dim dt As DataTable = dv.Table.Clone() Dim i As Integer = 0 While i < n - 1 If i >= dv.C... 阅读全文
摘要:
按照以下顺序,打开 VS2005 的命令行工具Start --> All Progarms --> Microsoft Visual Studio 2005 --> Visual Studio Tools --> Visual Studio 2005 Command Prompt 然后执行如下命令:devenv.exe /InstallVSTemplates或许对每个机器不... 阅读全文
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--ProtectedSubPage_Load(ByValsenderAsObject,ByValeAsSystem.EventArgs)HandlesMe.LoadDimdtAsDataTable=Ne... 阅读全文
摘要:
网上转的,测试一下OK。 '16位或者32位MD5加密 Public Function md5(ByVal str As String, ByVal code As Integer) As String If (code = 16) Then '16位md5加密码(取32位加密的9~25字符) Return System.Web.Security.FormsAuthentication.HashP... 阅读全文
摘要:
公司在万网买了独享的主机,一切全都由我来配置,什么网站的应用及exchange已经弄好,就是一个SQL Server 2005远程连接不上,由于这个系统有初始的时候,万网工程师给安装了SQL Server 2000,用IP Sql Server Management Studio直连的时候就连到sql 2000的数据库上,这是相当郁闷的,后来我都有心把Sql Server 2000给卸载了,只有一个Sql 2005,又一想,这也不是个事啊,这不成逃避了么,还是另想办法吧,在网上找了一大堆的解决方法,都是那些什么把Sql 2005 的外围配置打开,把远程连接选上tcp/ip和什么管道,再把via 阅读全文
摘要:
公司在万网买了独享的主机,一切全都由我来配置,什么网站的应用及exchange已经弄好,就是一个SQL Server 2005远程连接不上,由于这个系统有初始的时候,万网工程师给安装了SQL Server 2000,用IP Sql Server Management Studio直连的时候就连到sql 2000的数据库上,这是相当郁闷的,后来我都有心把Sql Server 2000给卸载了,只有一... 阅读全文