李万宝
欢迎光临李万宝的个人blog
posts - 143,comments - 458,trackbacks - 93

我的评论

共4页: 1 2 3 4 下一页 
微软机器对联,输入后,可以自动生成下联 ^_^
http://duilian.msra.cn/app/couplet.aspx
这两天有一个朋友说做交友网站,所以暂时停下了,我先花2周做好交友网,才做那个吃喝玩乐吧 地址为 http://www.021friend.net,年关比较忙,也没有多少时间维护
不一定要装2003,即使不装.NET1.1也是可以的,但是必须安装IIS。
因为VS2005默认使用内置的WEB服务器,但是该starter kit使用的是IIS服务器,如果你没有安装IIS,那么安装到最后一步系统无法配置IIS,就会发生错误。
如果你装了IIS,仍然发生错误,可能是现在的代码有问题,在从希望出版社下载代码时,使用迅雷,flashget等断点工具下载,经常无法使用,所以你可以直接“右键另存放”这种方式下载,建议到微软网站下载
地址为
http://www.asp.net/downloads/archived/

(微软已经不再提供Time Tracerk Starter kit V1.1版本下载了)
re: 仙剑奇侠传4序列号[未登录] 天天 2007-09-05 14:23  
谁有激活码送我一个吖`有的加Q100023948
@希望
不知是哪位?感觉我们相识
有个问题请教一下:
我在用SQL SERVER 2000分析管理中的FoodMart2000時,点击Cubes中的Sales时,右边显示:Getting Started, Meta Data, Data,但是点击“Data”时报“无法指出的错误“,查了一下,有的说要装SP,我装的是SP3,但是还报这个错。
我用的是Windows XP, SQL2000
Email: summerlove521521@163.com
谢谢!
re: OLAP项目的一般过程[未登录] 天天 2007-08-24 11:36  
我遇到的问题,请帮忙分析一下:
我在用SQL SERVER 2000分析管理中的FoodMart2000時,点击Cubes中的Sales时,右边显示:Getting Started, Meta Data, Data,但是点击“Data”时报“无法指出的错误“,查了一下,有的说要装SP,我装的是SP3,但是还报这个错。
我用的是Windows XP, SQL2000
在ASP里(当然在ASP.NET完全适用),为了判断用户是否登录一般是这样做的:
1)在Login里用Session存储用户的UserId
如果
public void Login()
{
if(UserId and Password is correct)
Session["userId"]=Username;
}

2)然后在需要验证的任意页面加入类似如下代码

if(Session["userid"]==null)
//认为用户未登录,然后转向Login.aspx
Response.Redirect("login.aspx");
else
{
//开始处理
}

然而在ASP.NET里,只要在web.config里加入
<deny user="*"/>
就可以了,上面代码全部就不用写了,如果你没有登录,系统自动转向登录页面
有多少DBA
re: 补贴接吻鱼照片[未登录] 天天 2007-08-13 10:32  
多一点嘛!
一般使用下面的方法(aspx页面的html代码里)

function ActiveTabChanged(sender, e) {
var CurrentTab = $get('< % =CurrentTab.ClientID % >');
CurrentTab.innerHTML = sender.get_activeTab().get_headerText();
Highlight(CurrentTab);
};

也就是在使用控件的类似的 < % =CurrentTab.ClientID % > 获取控件的客户端ID
直接在VS里运行一下不就知道了,汗
re: Ajax.net-Javascript 天天 2007-07-18 09:54  
楼主推荐 的Js The Definitive Guid 5th 没有找到呀。我现在的困惑应该和你开始一样。javascript一看就懂,一学就会,一用就不会用。
看asp.net ajax里的代码,和一般javascript的教程差距太大了。
这就对啦
是客户端的,因为Dreamweaver主要就是界面的问题,但是可以和VS结合起来用,就比较好了
没,没用objectdataobject好多年了 :(
出版社也没有给我发,现在我也没有源代码
1)确保用的是.net1.1而不是2.0
2)查看Page指令的autoWireup设置为true
如果还不行,是不是输入的有问题,你可以暂时删除验证控件。
另外,查看是不是有多个form
怎么在blogs里上传图片并直接显示
"最近把主站升级到CS2007,发现只要在后台设置一下,图片附件是可以直接在帖子里显示的"在哪里设置?
刚才建立了CS,真的太慢了,慢死了,要不是要他的blog,我才吧用他的系统
www.aspx-net.com/cs
这个,我也不清除,sorry
由于目前该系统和内网集成,所以暂停下载,请等待一段时间
非常同意上面的观点,程序臃肿且速度奇慢,再加一个,如果使用虚拟主机,需要的配置也非常复杂
我前天大致看了一下代码,其实和Community StarterKit的理念很类似的.
其实这个冬冬应该叫做"内容管理系统"(CMS Content Manage System
),但是你可能也注意到了,这个是放在cnmaster.net上面的,许多人在搜索类似开源的时候,一般会搜索"新闻"系统而不会以"CMS"作为关键字进行搜索,所以我就该了它叫新闻吧,这样更容易背搜中 ^_^
如果想进一步开发communityserver 可以到如下查看:
http://www.codeplex.com/CASK 下载

在线演示:http://www.global-webnet.net/cask/
这个版本使用了ASP.NET C#2.0 + AJAX技术


请更改数据库语言为English,或者在选择数据库是,使用远程服务器.该书序言里有详细介绍的呀
re: 软件工程心得体会[未登录] 天天 2007-03-30 08:28  
写的很好..顶一下
以后会发布使用SQL2000的脚本,但是现在不能够使用SQL2000,只能够使用2005
在Reports_LoadData.sql, 和 Reports_GrantPermissions_ForRemote.sql的最开始加入如下一句SQL语句

use Reports
go
这是数据库设计造成的,因为它涉及到数据库的完整性。 例如有一个学生表为
Students表 ,它包含“学号”,“姓名”和“选择课程名称",如
Id, Username, CourseName
而课程名称CourseName来自Course课程表,

Course设计为
Id,CourseName
根据实际需要,你可以想象一个学生学习的课程应该来自Course这个表,否则就脱离了实际的意义。
因此在输入数据时,你只能够先往Course里输入数据,例如Course数据为
1 物理
2 化学
那么学生的CourseName就只能够选择 物理或者化学,如果你随便输入例如 地理,那么系统将禁止你输入,因为这个名称没有在Course里。

你遇到的就是这个问题,它的输入确实很麻烦,你可以试着运行脚本里 LoadData.sql 脚本让系统自动加载其原始数据
你可能需要再数据库里输入数据,因为如果没有数据填充则无法显示运行效果
如果你不指定数据库,系统将使用master作为脚本运行使用的数据库,所以你可以到master数据库里查看建立的表
连接一般如下

"server==(local); user id=sa; password=;database=Reports"
或者
"server=(local); trusted_connection=yes; database=Reports"

而不能够同时使用trusted_connection和uid。
另外,参考下面天天写的内容对你有帮助的
http://bbs.aspcool.com/ShowThread.aspx?PostID=17093
不管是重希望出版社提供下载的还是微软网站提供下载的都是一样的。源文件完全一样,没有任何更改(因为他们都是*.msi安装文件 )
VB VS表示用Visual Stduio.NET2003开发的Time Tracker (VS是Visual Stduio的简称),而 VB SDK表示用WebMartix开发的Time Tracker。 由于WebMartix已经被淘汰(微软不再使用它),所以你下载Time Tracker Starter Kit (VB VS) 即可,
如果是C# VS表示是用C#语言用和Visual Stduio.NET2003开发的TimeTracker

Issue Tracker Starter Kit和Time Tracker Starter Kit 功能上基本上一样,所以没有介绍
请到微软网站上下载:
http://www.asp.net/downloads/default11.aspx?tabid=62
具体是下面几个下载
你那里出现错误可能是因为使用类似flashget软件的软件,直接另存为才可以,它不支持断点下载

欢迎访问 http://www.cnmaster.net
请到微软网站上下载:
http://www.asp.net/downloads/default11.aspx?tabid=62
具体是下面几个下载
你那里出现错误可能是因为使用类似flashget软件的软件,直接另存为才可以,它不支持断点下载
1)在Web开发中,数据的读取比数据的修改多,因此使用TableAdapter在读取数据方面比自定义数据层代码方便,但是在数据修改方面却有些不方便。
2)性能方面,TableAdapter只提供了基本的读写功能,但是使用自定义的封装数据访问类可以进行更好的控件,例如微软的 Data Access Application Block就使用了大量的缓存功能,在访问量大的网站中,即使缓存1分钟,也会给系统性能带来极大的提高,而TableAdapter好像没有这个功能。
3)TableAdapter可读性很差,但是自定义数据访问类则可以由自己完全控制。
4)TableAdapter的本质和自定义访问类是一样的,也就是Connection,Command等
5)在微软给的很多例子里,例如微软引以为豪的Petshop里仍然使用数据层代码而不是TableAdapter,所以微软提供TableAdapter只是为了方便用户使用,并没有说TableAdapter比数据层代码好,也更不是让TableAdapter代替数据层代码。

其实,TableAdapter并不是新的东西,早在ASP.NET1.0版本时,就已经提供了这个功能,在天天的薄客曾经介绍过
http://www.cnblogs.com/mqingqing123/archive/2005/10/11/252410.html
它本质是用
xsd /d TestCfg.xsd
命令便于XSD文件。
可能第二种情况是比较好的。
TO Tony.Gong :
使用内置的好处是,有许多功能比较方便,例如锁定帐户,用户最后访问日期等都可以通过函数得到,所以用还是好用的。
我目前遇到的问题是内置的功能不够用,例如我获取角色描述信息,以及角色所在的组,竟然没有类似的函数,自定义模型又很麻烦。 这的是鸡肋----要么很简单,要么很困难
web.config必须添加如下配置:
-----------------------------------


<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>

<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
</pages>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false">
<assemblies>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</assemblies>
</compilation>

<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
</httpHandlers>

<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
</system.web>

<system.web.extensions>
<scripting>
<webServices>
<!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
<!--
<jsonSerialization maxJsonLength="500">
<converters>
<add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
</converters>
</jsonSerialization>
-->
<!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
<!--
<authenticationService enabled="true" requireSSL = "true|false"/>
-->

<!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
writeAccessProperties attributes. -->
<!--
<profileService enabled="true"
readAccessProperties="propertyname1,propertyname2"
writeAccessProperties="propertyname1,propertyname2" />
-->
</webServices>
<!--
<scriptResourceHandler enableCompression="true" enableCaching="true" />
-->
</scripting>
</system.web.extensions>

<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
</system.webServer>
</configuration>



-----------------------------------

这些配置是必须的,如果你有自己的配置,例如将控件注册为Du2,为

<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<add tagPrefix="Du2" .../> --这个是你自己的注册
</controls>
</pages>
re: 挺郁闷的一件事情 天天 2007-03-02 07:48  
不是的,ASP.NET AJAX是不需要服务商安装的,你到www.asp.net下载AJAX下载后,解压其实就是一个DLL文件,拷贝到你的项目里并且在web.config里配置一下就可以了。 我以前也和你一样认为需要额外安装,其实完全不必的 :)
@杨胜光
你把防火墙关了试试。
动网的附件虽然是UBB标签,但是当你上传但是那是系统自动填加的,最不可适宜的是,CS上穿的图片依然是福建,不能够直接显示
共4页: 1 2 3 4 下一页