473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Should I use web controls or the old ASP way?

jm
I am behind. I am coming from the world of ASP and still debating if
I really want to convert all those ASP ADO pages to ASP .NET when they
work perfectly fine on my Windows 2003 server as .asp files. I have
experiemented and gotten working one of my ADO pages as an ASP .NET
ADO page, if that is the right way to say it. I used web controls. I
also built a version which very much looked like the old ASP way where
the html was in the response.write() and rendered on the page as
opposed to the way the web control does it.

I hope this makes sense. Let me show you:

I found I could use ASP .NET this way with ADO:

dim OdbcCommand as new OdbcCommand(sqlString, dbconn)
dbconn.open()
dbrecs = OdbcCommand.ExecuteReader()

'without web control
While dbrecs.Read()
Response.Write ("<table border=1><td>" & dbrecs("name") + ", "
+ dbrecs.GetString(1) & "</td></table>")
End While
But this seemed backward to me and of no benefit to me as ASP already
does this. My question is should I use web controls? Are they any
faster? And that last question is really key. I know I can learn to
use .NET because that is the Microsoft standard, but I need to know if
there is a speed benefit to it. Supposedly from the Why .NET?
Microsoft websites .aspx pages are three times faster than good old
..asp pages. Is this true? Is this based upon a total reliance on web
controls (datagrid and the other database controls)?

Thank you for taking time to read this and responding.
Nov 17 '05 #1
0 935

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Derrick | last post by:
I've created a suite of custom controls/components. I have 3 assemblies, as follows: - Definitions.dll: This contains classes and interfaces that are common to the other 2 assemblies. There...
8
by: Chris Mayers | last post by:
I am trying to track a suspected memory leak in an application I'm writing and through repeated simplification of my project, I have found the following which is quite easily replicated should you...
12
by: Phill | last post by:
I'd like to have textboxes that only allow certain types of data. Like only integers, decimals, etc. Is it better to subclass TextBox for each type or to create only one new TextBox class that...
21
by: TAM | last post by:
Hi, I read that ASP.NET uses VB.NET instead of VBScript. I also read that ASP.NET is a subset of VB.NET. So if I learn VB.NET first then do I have the knowledge for programming ASP.NET...
9
by: ani | last post by:
I have been posting this question for the past 2 weeks and there wasn't any response. I really don't understand why I am not getting any responses. Does my question sound very stupid? Anyway, here...
3
by: AFN | last post by:
I need to manually create the data to be shown in a datagrid (or some data table object). Should I create an array and bind the array to the datagrid OR should I create a temporary dataset and...
3
by: D. Shane Fowlkes | last post by:
Sorry for the length of this post. I have created a rather complex form which has a header/line item (parent and child records) structure. It's for an intranet. A screenshot can be seen here: ...
10
by: sagar | last post by:
hi everyone, i m having a problem with mouse events. any help related is apreciated. i m having a form in which i m having 2 buttons. and i m moving(draging) these buttons on run time using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.