前两天去面试,让写一分页存储过程,嘿,当时竟然忘了怎么写……回来后写一个记之use newssystem
go
create procedure pro_news(
@pageIndex int,
@pageSize int
)
as
declare @startRow int,@endRow int
set @startRow=(@pageIndex-1)*@pageSize+1
set @endRow=@startRow+@pageSize-1
select * from (
select *,ROW_NUMBER() over (order ...
好像很多人做WebService的时候都是直接添加引用的方式,然后调用服务端的方法.这样就个问题,就是每次我服务端添加了方法或者修改了方法后都要更新Web引用,这样比较麻烦.下面给一个不用添加引用的方式调用服务端的方法.只是一个简单的测试,不是很规范,用得着的人可以自己封装一下,然后直接传服务端的方法名进去,Type.GetMethod获取方法,然后method.Invoke返回结果高手些多多包函,主要是给用得着的人参考一下,互相学习.代码主要是用了 System.Web.Services.Description里的东西新建一个WebService项目,添加以下代码:using Syst...
在使用Godaddy的免费Win 主机时,其使用的windows server 2008并自带IIS7 ,当安装emlog4.2.1博客后,可按如下步骤为emlog4.2.1博客设置伪静态:1、在网站根目录下创建一个web.config文件并把下列伪静态规则放入其中就可以了。<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
...
轉自:花落、莫相囄 //获取到bin目录的下层路径:bin\Debug\string aa = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;string cc = System.AppDomain.CurrentDomain.BaseDirectory;//获取到bin目录:bin\Debugstring dd = System.Environment.CurrentDirectory;string ee = System.IO.Directory.GetCurrentDirectory();s...
PowerDesigner16.0.0.3488 官方下载。Application – The PowerDesigner Product Main Installationhttp://download.sybase.com/eval/PowerDesigner/PowerDesigner160_Evaluation.exe PDF Documentation – Printable versions of all available PowerDesigner product documentationhttp://download.sybase.com/eval/Powe...
- «
- 1
- ...
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- ...
- 22
- »