n******n 发帖数: 602 | 1 【 以下文字转载自 Programming 讨论区 】
【 原文由 nicolson 所发表 】
这个ASP会打出数据库所有内容。但是弟一次访问 ADO database可以,
马上refresh 就会报错, 停在conn.open "db" 上,请高手畅言!
<%
sub showItemTracking(rs,detail)
do until rs.EOF
Response.Write("")
for each x in rs.Fields
Response.Write("" & x.value & " | ")
next
Response.Write(" ")
rs.MoveNext
loop
end sub
%>
|
|
i*******l 发帖数: 6 | 2 大侠救命,我在我的local machine 上运行IIS和ASP想连接远程的ORACLE数据库,请问怎么
建立连接啊? 谢谢 |
|
y*******l 发帖数: 73 | 3 想建一个ASP文件,让程序自动从ACCESS文件中读出数据,然后发邮件到SERVER上订阅NEWSL
ETTER.有什么模版可以参考吗?谢谢!!!! |
|
|
c*********e 发帖数: 16335 | 5 【 以下文字转载自 DotNet 讨论区 】
发信人: convergence (Rex), 信区: DotNet
标 题: UNIDATA怎么连接进asp.net c#?
发信站: BBS 未名空间站 (Fri Oct 5 07:13:18 2012, 美东)
unidata是ibm的一个非常老的database.公司里有好几个database: UNIDATA,MS SQL,
ACCESS等。要用c#写一个website,把这几个database里的table 通过union等方式把数
据提取出来,做成一个dashboard给经理级别的人看report.
给it经理建议到ibm下载一个unidata的driver,然后在visual studio里面连接。但是,
他说以前这么做过,但是不能提取出所有的unidata里面的数据。所以現在要用data
warehouse和bi.
没学过data warehouse和bi,这玩艺挺新的。
有必要用data warehouse,bi来解决这个问题吗?
本来挺简单一个project,没想到复杂到要用data warehouse,bi来解决... 阅读全帖 |
|
|
l*********r 发帖数: 80 | 7 also please rcommand asp.net and C# books.
digital version is better. (I am poor).
高手指点一下吧,不要叫我直接去看msdn |
|
L*******r 发帖数: 1011 | 8 如果你有Java和C++背景,找个syntax和grammer compare的站点。语言就差不多了。
Visual Studio.Net有walkthrough book,教给你一些简单的应用。你就可以写简单应用了
。
不过结构不太好。
因为MS是data driven的开发模式。你最好先弄清楚ADO.Net. 搞清楚disconnected 模式
和
direct connect 模式。ASP.Net表面上和开发传统GUI差别不大(这也是MS的目标),弄清
楚delegate就行了。
我建议你找些短的tutorial来看。然后边写边学。 |
|
l*********r 发帖数: 80 | 9 请大虾们发言,my asp is a entry level.
关于C#,好像大家都建议买mastering C#,对吗?俺的java and c++也很烂的说。 |
|
L*******r 发帖数: 1011 | 10 language is the first step. So go ahead for C# books. Typically those books
will also talk about ASP.Net. You can use those chapter as tutorial. Then you
can read MSDN. :) |
|
b*e 发帖数: 3845 | 11 It's an ASP.NET application on IIS6 of Windows 2003 Server,
the backend database is MySQL. There are a bunch of datagrid in
the front end. Some queries in the application is complicated,
so that it definitely consume much CPU and memory.
Here is the problem. After the system runs a while say 2-3 days
or one week, the system suddenly hang up. Here is the error
message I got from the system event log.
A process serving application pool 'XXX Pool' exceeded time limits
during shut down. The process |
|
b****t 发帖数: 17 | 12 如何把本地机器上用ASP.NET做的web放到host 主机上?有什么好工具?
过去都是把所有东西全部ftp上去,现在不想把.vb文件也放上去 |
|
b*e 发帖数: 3845 | 13 create a ASP.NET setup project. |
|
st 发帖数: 1685 | 14 well, many sites are using it, maybe some website will show higher
percentage websites using php than asp, simply because industry machines
will use other stuff but hidden by load balance, when personal user
more like to use php or other free stuff... also web traffic is impossible
to be counted by those websites.... |
|
p***n 发帖数: 635 | 15 a somewhat biased review from M$FT:
http://www.msdnaa.net/Resources/display.aspx?ResID=2315
a review from some guy using both:
http://www.sitepoint.com/article/871
but if you guys have invested heavily in terms of resources into PHP,
probably your boss won't make the effort to do it due to extra costs
involved. if there are new feature/requirement coming, a compromise
like mixing the old and the new seems more plausible to me.
hehe, in case your boss gets convinced:
0) Migrating from PHP to ASP. |
|
L*******r 发帖数: 1011 | 16 我本来也没想去做这个的,就是想着简单地把Python的blog, wiki,还有什么email
server什么的搞到我的ASP .Net solution里面去。.Net写得再快也没有直接拿过来快啊
可是那些Python
solution对Apache依赖得很,没办法,那些IIS的Solution不是慢(CGI),就是什么内存泄
漏。没办法,自己搞一个了。:)
engine实际上是C的engine.所以要实现IDisposable去释 |
|
C****n 发帖数: 2324 | 17 URL test is easy.
There's no way to test ASP.NET pages with form in it.
You can try ASPUNIT though. Too much hassle. You can found it in
sourceforge.net
I remember there's a different approach. There's a system which can record
your input and replay it. I can not remember the name the software. |
|
c*o 发帖数: 70 | 18 how to pass parameters from Javascript to .net such as C# code behind? For
example, there is a dynamic mouse move on and pop up menu implemented in
Javascript, once a menu item is selected, how to pass this menu item's value
to the C# code running on server? I only know this can be solved by using
embedded ASP tags <% ... %>.
Similar question, once we want to let the user upload file to the server, we
can use the HTML control to let users select a file name to
upload. How can we pas |
|
L*******r 发帖数: 1011 | 19 "Hidden" + post. use javascript to change the value of the hidden field and
then post it to server.
ASP .Net is based on that. so you can implement your own web controler to
handle these things.
using |
|
k****i 发帖数: 1072 | 20 Actually ASP.NET Unleashed seems not bad but it's in VB.Net |
|
E*******s 发帖数: 42 | 21 mastering ASP.NET
从简单到深入, 我觉得写得挺好的. 同一作者写了两本, 一本in C#
一本VB. |
|
k****i 发帖数: 1072 | 22 I am sorry,I mean I used wrox's Professional series【 在 kongzi (鸡龟骨滚羹)
的大作中提到: 】
都
们
者
爱用纯文本编辑器来写code,所以尽管题目是ASP.NET,诠释的是.NET技术,可惜VS.NET
是 |
|
k****i 发帖数: 1072 | 23
以
者
place to place state(cache,application,viewstate,form post/query
string,session,context,config file,cookie),Page object model,iis and asp.net
security architect,authentication and authorization(IPrinciple),HttpModule and
HttpHandler,etc.This is exactly what I need.Implementation detail is just
trivial for programmers now,we need to know how the whole things work
together.
got many good articles from msdn talking about these things. But if there is a
book talking about the things I want,I wi |
|
|
s***y 发帖数: 352 | 25 Jessie Liberty 的 programming C# 和 programming asp.net怎么样啊?
前者后半部分感觉不是很好,后面一本呢?
xml什么书比较好?wrox的? |
|
m*******n 发帖数: 154 | 26 Anyone knows where provide spaces for publishing my ASP.NET pages? better to
be free or cheap. many thanks |
|
st 发帖数: 1685 | 27 good one, we have serious problem for some components when accessing from
asp.net pages... it's just unstable, and usually part of operation will
fail due to lack of credential, so far some one here just wrote some
wrapper to call those components through a hosted environment, with
credential which can be set for the hosted wrapper in component service.. hehe |
|
t*****r 发帖数: 47 | 28 the problem is that it doesn't take fully advantage of ASP.NET. |
|
st 发帖数: 1685 | 29 there's no "full advantage" of asp.net any way. glad it works. :D |
|
|
m**********e 发帖数: 19 | 31 Check Web.Config
There must be something like this:
timeout="1440"/>
...
This is ASP.NET's form authentication. It will redirect you to the login page
when you try to access protected pages without login. |
|
p*p 发帖数: 75 | 32 看到几个有趣的问题,如果不看ASP.NET source code, 几乎就无法解决。
private void Page_Load(object sender, System.EventArgs e)
{
DropDownList ddlDynamic = new DropDownList();
ddlDynamic.ID = "ddlDynamic";
HtmlForm form1 = (HtmlForm)this.FindControl("Form1");
if (!IsPostBack)
{
ddlDynamic.Items.Add("Before");
}
form1.Controls.Add(ddlDynamic);
if (!IsPostBack)
{
ddlDynamic.Items.Add("After");
}
}
在Page上扔个Button, |
|
k****i 发帖数: 1072 | 33 exactly.
We might need not to know the implementation detail of asp.net but we
definitely need to know the event sequence which is well documented.
没有
hierachy
因为
called.
上一
DropdownList |
|
k****i 发帖数: 1072 | 34
similar one would be Building ASP.NET Server Controls
还
。
在 |
|
w******n 发帖数: 692 | 35 就是能在laptop上搭一个ASP.NET网站(IIS, SQL Server),
能用Vision Studio.net debug code. 当然不指望有desktop
那么快, 只要跑起来还说的过去就可以了. 哪位有经验? 什么
牌子和CPU, memory之类有什么要求.
|
|
l********t 发帖数: 115 | 36 【 以下文字转载自 BuildingWeb 讨论区,原文如下 】
发信人: lindaghost (^_^), 信区: BuildingWeb
标 题: firefox problem with ASP.NET
发信站: Unknown Space - 未名空间 (Mon Mar 28 14:25:26 2005) WWW-POST
Table1.Rows[0].Cells[i].BorderColor=System.Drawing.Color.FromArgb(210,201,171)
;
Table1.Rows[0].Cells[i].BorderWidth=1;
firefox doesn't support the above code? it works fine with IE. |
|
r****y 发帖数: 26819 | 37 I'm using a normal user account in win2003.
When I create new project by choosing File/New Project/ASP.Net Web Application
and click OK button, I receive 2 errors below:
1. "The Web was created successfully, but an error occured when trying to
configure the application root this Web. Web projects may not operate correctly
without an application root. The return error was:
A possible cause of this error is insufficient access rights to perform the
operation. You can manually configure root using |
|
p*p 发帖数: 75 | 38
folder
IIS
It had to create the virtual dir in IIS manually. Normally we don't want to
put the source code in inetpub\wwwroot, so you need to create the virtual dir
first, then create the Web Project in VS.NET
user
Create a Application Pool in IIS, logging with your own user/pass. Assign the
Applicatin Pool to the ASP.NEt web application in IIS. this allows you to
debug it with non-adminiatrator account.
My best practice: forget about "Web Project" concept in VS.NET compleletly.
1. Use Cassini |
|
r****y 发帖数: 26819 | 39 Thanks for reply first.
The problem was caused by a series of changes to my win2003 system -- I just
could not make clear about it. I installed vs.net2005beta and restored system
security policy maybe...
I must say, I was able to login as a user and could automatically new an
asp.net project and let vs.net 2003 create the appl root for me. Of course
I did some setting on the user groups, folder permissions...
But now I could not, although I tried everything I know.
I googled and found someone fa |
|
d*r 发帖数: 238 | 40 Yes, 2005 is going to mess up the asp.net of 2003. I had such experience
and after I uninstall 2005, everything turns good. |
|
r****y 发帖数: 26819 | 41 I'll try starting from a simpler and old question:
I'm using win2003 admin account, IIS started. I created a default.htm in
wwwroot, and type in IE: http://localhost/, default.htm can be browsed.
But the http://localhost/iisstart.htm cannot be browsed:
"Under Construction
The site you are trying to view does not currently have a default page. It
may be in the process of being upgraded and configured. "
I have registered ASP.NET and enabled all Web Service Extensions but no use.
Thanks!
BTW, I fo |
|
p*p 发帖数: 75 | 42 I like using Debug.Assert to harden the code. But it only works well in
Windows Forms, but no on ASP.NET. any idea? |
|
d*r 发帖数: 238 | 43 there is a way to run asp.net on tomcat |
|
b***y 发帖数: 740 | 44 XP Pro上的那个简单的IIS能不能跑ASP.net?我试过一下,好像没法建project |
|
w*******w 发帖数: 18 | 45 刚接触asp.net,想自己做点小程序,安装了IIS,dreamweaver MX,是不是足以在自己的机
器上运行了?还有什么需要设置的?谢谢! |
|
l*******r 发帖数: 713 | 46 在做一个ASP .NET web application, 用到SqlDataAdapter的Fill() method, 编译可以
通过,但是运行时报措说
System.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\
NETWORK SERVICE'.
这里的SqlConnection用的是windows authentication, 而且我是用administrator登录的
,不知道这个user 'NT AUTHORITY\NETWORK SERVICE'是怎么来得。 |
|
g***y 发帖数: 764 | 47 是不是J2EE技术上更成熟一些 先进一些
毕竟比ASP.NET早出来好几年 |
|
a*******t 发帖数: 891 | 48 I don't know much improvements J2EE has made in last few years. But ASP.NET
has had, and still having A LOT of changes. With Windows Vista coming out, new
programming tools, WPF (?) (windows presentation fundation?) is bringing in
new layer on top of .NET.
I would say J2EE is more stable in terms of the envirnment changing |
|
p***u 发帖数: 22 | 49 我们现在有一个asp.net 的web application, 用户可以自己upload写好的crystal rep
ort template, 因为store procedure已经绑定好了在crystal report里,我们不知道会
返回什么样的dataset, 每次页面post back, crystal report 都会从新执行query,效率
比较低, 有没有办法实现类识cache一样的功能?
多谢 |
|
h*******t 发帖数: 1 | 50 在ASP.NET 中用ADO.NET 打开 ACCESS 数据库(用OLEDB), 出现如下错误:
The Microsoft Jet database engine cannot open the file
It is already opened exclusively by another user, or you need permission to
view its data.
把数据库所在的目录改成IUSER_COMPUTERNAME 可读写,还是出现这个错误.
请指点. |
|