上一页 1 ··· 7 8 9 10 11 12 13 14 下一页
  2011年4月25日
摘要: 代码主要大部分是来源于jqueryUI示例里面的,只是进行了稍微修改为aspx文件而已。手风琴实现<%@PageLanguage="C#"AutoEventWireup="true"CodeBehind="accordion.aspx.cs"Inherits="JqueryUI.accordion"%><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1 阅读全文
posted @ 2011-04-25 18:32 jackdesk 阅读(921) 评论(0) 推荐(0) 编辑
  2011年4月21日
摘要: 方法1: C# Label1.Text = Request.Form["txtName"].ToString(); vb.net Request.Form("txtName").ToString() 方法2: C# System.Collections.Specialized.NameValueCollection nc = new System.Collections.Specialized.NameValueCollection(Request.Form);Label1.Text = nc.GetValues("txtName") 阅读全文
posted @ 2011-04-21 16:54 jackdesk 阅读(3602) 评论(0) 推荐(0) 编辑
  2011年4月20日
摘要: 转载动软项目DALFactory无法反射创建类实例的常见错误2009-07-11 11:44动软项目DALFactory无法反射创建类实例的常见错误提供的基于接口和工厂模式的三层架构示例项目代码时,经常会在DALFactory类厂部分出现无法反射创建类示例的错误。就网友来信询问最多的情况,在此作一个统一说明,如果你也遇到了同样的问题,请参考。DALFactory源码:string path = System.Configuration.ConfigurationSettings.AppSettings["DAL"];//从web.config里获得数据层的程序集名strin 阅读全文
posted @ 2011-04-20 09:52 jackdesk 阅读(430) 评论(0) 推荐(0) 编辑
  2011年4月6日
摘要: Asp.net如何生成html静态页面(2009-11-28 11:34:36)转载此功能适用于后台数据库功能不强的web站点,即大部分文本不是存放在数据库的记录中,而是放在html文件或者xml文件中,仅仅把索引放到数据库中,如文章标题、类别、查询关键字等。这样适合于后台没有诸如MS Sql Server这样的数据库支持的Web站点。适用于新闻发布系统,比如sina、163等都是采用动态生成html页面的。适用于需动态定制页面的程序。比如论坛、聊天室等。可以加载定制好的html页面,来加强美观。思路1. 利用如Dw这样的工具生成html格式的模板,在需要添加格式的地方加入特殊标记(如$htm 阅读全文
posted @ 2011-04-06 16:07 jackdesk 阅读(6895) 评论(1) 推荐(1) 编辑
  2011年4月1日
摘要: #include<osgViewer/Viewer>#include<osg/Node>#include<osg/Geometry>#include<osg/Geode>#include<osg/Group>#include<osg/Texture2D>#include<osg/TexEnv>#include<osg/TexGen>#include<osgDB/ReadFile>#include<osgDB/WriteFile>#include<osgUtil/Opti 阅读全文
posted @ 2011-04-01 15:05 jackdesk 阅读(3353) 评论(0) 推荐(0) 编辑
  2011年3月28日
摘要: #include<osgViewer/Viewer>#include<osg/Node>#include<osg/Geometry>#include<osg/Geode>#include<osg/Group>#include<osg/AutoTransform>#include<osgDB/ReadFile>#include<osgDB/WriteFile>#include<osgText/Text>#include<osgUtil/Optimizer>#include< 阅读全文
posted @ 2011-03-28 15:04 jackdesk 阅读(1139) 评论(0) 推荐(0) 编辑
  2011年3月22日
摘要: _itoa_s 函数原型如下:errno_t _itoa_s( int value, char *buffer, size_t sizeInCharacters, //存放结果的字符数组长度 int radix);使用如下char buffer[2]=""; for (int i=0;i<10;i++) { _itoa_s(i,buffer,2,10);//10表示10进制2表示字符长度buffer表示存放结果 std::string file=buffer; imageSquence->addImage(osgDB::readImageFile("D 阅读全文
posted @ 2011-03-22 17:05 jackdesk 阅读(36525) 评论(2) 推荐(2) 编辑
摘要: #include<osg/ImageSequence>#include<osg/Texture2D>#include<osg/Geometry>#include<osg/Geode>#include<osgDB/ReadFile>#include<osgViewer/Viewer>voidcreateTexture2D(osg::StateSet&ss,osg::Image*image){osg::ref_ptr<osg::Texture2D>texture=newosg::Texture2D;text 阅读全文
posted @ 2011-03-22 16:52 jackdesk 阅读(4040) 评论(0) 推荐(1) 编辑
摘要: #include<osg/BlendFunc>#include<osg/Geode>#include<osg/ShapeDrawable>#include<osgAnimation/EaseMotion>#include<osgDB/ReadFile>#include<osgViewer/Viewer>classFadeCallback:publicosg::NodeCallback{public:FadeCallback(){_motion=newosgAnimation::InOutCubicMotion;}virtu 阅读全文
posted @ 2011-03-22 16:19 jackdesk 阅读(1738) 评论(0) 推荐(0) 编辑
  2011年3月16日
摘要: <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>网页js特效,css群:109920294,网站重构设计,网聚中国</title><metahttp-equiv="conte 阅读全文
posted @ 2011-03-16 14:40 jackdesk 阅读(293) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 下一页