谁有ASP.NET生成静态网页的模板代码(带数据库和编辑器的)
本人因为采用asp.net动态生成页面,现在速度跟不上来,需要生成静态的页面提速,而且原来的编辑器功能简单,需要跟换,请大虾们帮帮忙!急急急!...
本人因为采用asp.net动态生成页面,现在速度跟不上来,需要生成静态的页面提速,而且原来的编辑器功能简单,需要跟换,请大虾们帮帮忙!急急急!
展开
2个回答
2008-01-26
展开全部
void clrscr(int lines)
{
int s;
COORD c={0,0};
HANDLE h=GetStdHandle(STD_OUTPUT_HANDLE);
#include "stdio.h"
void main()
{
int a, b ;
a=10;
b=20;
a^=b ;
b^=a ;
a^=b ;
printf("a=%d,b=%d\n",a,b);
}
//c.X=c.Y=0;
DWORD dwL;
TCHAR tc=32;
CONSOLE_SCREEN_BUFFER_INFO inf;
GetConsoleScreenBufferInfo(h,&inf);
if (lines<0) lines=inf.dwSize.Y; else {
if (inf.dwSize.Y < lines) lines=inf.dwSize.Y;
}
int val1=512,val2=1024;
ostringstream format_message;
format_message<<"val1:"<<val1<<"\n"
<<"val2:"<<val2<<"\n";
istringstream input_istring(format_message.str());
string dump;
input_istring>>dump>>val1>>dump>>val2;
cout<<val1<<" "<<val2<<endl;
getch();
s=inf.dwSize.X * lines;
FillConsoleOutputCharacter(h,tc,s,c,&dwL);
SetConsoleCursorPosition (h,c);
}
{
int s;
COORD c={0,0};
HANDLE h=GetStdHandle(STD_OUTPUT_HANDLE);
#include "stdio.h"
void main()
{
int a, b ;
a=10;
b=20;
a^=b ;
b^=a ;
a^=b ;
printf("a=%d,b=%d\n",a,b);
}
//c.X=c.Y=0;
DWORD dwL;
TCHAR tc=32;
CONSOLE_SCREEN_BUFFER_INFO inf;
GetConsoleScreenBufferInfo(h,&inf);
if (lines<0) lines=inf.dwSize.Y; else {
if (inf.dwSize.Y < lines) lines=inf.dwSize.Y;
}
int val1=512,val2=1024;
ostringstream format_message;
format_message<<"val1:"<<val1<<"\n"
<<"val2:"<<val2<<"\n";
istringstream input_istring(format_message.str());
string dump;
input_istring>>dump>>val1>>dump>>val2;
cout<<val1<<" "<<val2<<endl;
getch();
s=inf.dwSize.X * lines;
FillConsoleOutputCharacter(h,tc,s,c,&dwL);
SetConsoleCursorPosition (h,c);
}
2008-01-26
展开全部
建议用JAVA语言设计程序
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询