473,397 Members | 2,084 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,397 software developers and data experts.

Design and other stuff

NH
Hi,

I've built a few small apps in asp.net (vb.net). But I am not sure if I am
doing things according to best practice, even though the apps work well etc.

I have some questions which I hope some people have opinions on..

1: I have started using FlowLayout on the webforms so as to handle the
different screen sizes\resolutions. How do you layout the page, I am using
html tables which is cumbersome, is there a better way? How do you position
the controls around a page using FlowLayout without using HTML Tables?

2: I have a class which is used to return sqldatareaders, should I used
datasets or dataviews instead?

3: What do you use to keep a consistent look and feel on each of the many
webforms in the app. I know asp.net 2.0 has Master\Content pages which sounds
great but what do you currenty use? Usercontrols?

Thanks
N
Nov 19 '05 #1
3 919
NH,

Here are my thoughts:
1: I have started using FlowLayout on the webforms so as to handle the
different screen sizes\resolutions. How do you layout the page, I am using
html tables which is cumbersome, is there a better way? How do you
position
the controls around a page using FlowLayout without using HTML Tables?
I use html tables most of the time. (ASP.NET 2.0 is set to flow layout
by default). We're supposed to be using CSS to handle this. It works well,
but I have to support people who are on some older browsers so most of the
time I still use tables (for now).
2: I have a class which is used to return sqldatareaders, should I used
datasets or dataviews instead?
If all you need to do is get the data for display then a SqlDataReader
is the most efficient way to do that.
3: What do you use to keep a consistent look and feel on each of the many
webforms in the app. I know asp.net 2.0 has Master\Content pages which
sounds
great but what do you currenty use? Usercontrols?


My first experiment, which you may see at www.aboutfortunate.com, uses a
single page with user controls placed on the page dynamically. If I had it
to do over again I would have triggered each control load with a query
string instead of an ASP.NET button because google can't search the site. I
was about to implement a workaround but instead I'm using ASP.NET 2.0 to
rebuild instead.
--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
Nov 19 '05 #2
NH
Thanks for the reply, sounds like I am doing things pretty much the way you
are. Like yourself I am waiting for asp.net 2 which sounds like its going to
make things easier.

"S. Justin Gengo" wrote:
NH,

Here are my thoughts:
1: I have started using FlowLayout on the webforms so as to handle the
different screen sizes\resolutions. How do you layout the page, I am using
html tables which is cumbersome, is there a better way? How do you
position
the controls around a page using FlowLayout without using HTML Tables?


I use html tables most of the time. (ASP.NET 2.0 is set to flow layout
by default). We're supposed to be using CSS to handle this. It works well,
but I have to support people who are on some older browsers so most of the
time I still use tables (for now).
2: I have a class which is used to return sqldatareaders, should I used
datasets or dataviews instead?


If all you need to do is get the data for display then a SqlDataReader
is the most efficient way to do that.
3: What do you use to keep a consistent look and feel on each of the many
webforms in the app. I know asp.net 2.0 has Master\Content pages which
sounds
great but what do you currenty use? Usercontrols?


My first experiment, which you may see at www.aboutfortunate.com, uses a
single page with user controls placed on the page dynamically. If I had it
to do over again I would have triggered each control load with a query
string instead of an ASP.NET button because google can't search the site. I
was about to implement a workaround but instead I'm using ASP.NET 2.0 to
rebuild instead.
--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche

Nov 19 '05 #3
1. Html tables is fine.
2. If you need a simple read-only access, it is fine.
3. Copy, Paste and wait for better technology. Master pages should make it
less boring.

Eliyahu

"NH" <NH@discussions.microsoft.com> wrote in message
news:DF**********************************@microsof t.com...
Hi,

I've built a few small apps in asp.net (vb.net). But I am not sure if I am
doing things according to best practice, even though the apps work well etc.
I have some questions which I hope some people have opinions on..

1: I have started using FlowLayout on the webforms so as to handle the
different screen sizes\resolutions. How do you layout the page, I am using
html tables which is cumbersome, is there a better way? How do you position the controls around a page using FlowLayout without using HTML Tables?

2: I have a class which is used to return sqldatareaders, should I used
datasets or dataviews instead?

3: What do you use to keep a consistent look and feel on each of the many
webforms in the app. I know asp.net 2.0 has Master\Content pages which sounds great but what do you currenty use? Usercontrols?

Thanks
N

Nov 19 '05 #4

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

Similar topics

36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
98
by: Pamel | last post by:
I know this must have been asked elsewhere, but I cannot find it. There is a piece of text on my web page that I don't want browsers to resize. IE won't resize it if I specify the size in px, but...
1
by: R Reyes | last post by:
Hello All, I'm always looking for ways to improve my code. Most of the time (whenever I'm working on a project) I write a bunch of functions. Then after the project is finished, I put all the...
1
by: danielhardman | last post by:
I am implementing a component that helps a developer with som localization tasks at design-time, and provides some related feature at run-time. My problem is that in order to do the design-time...
13
by: John Kraft | last post by:
Friends, I'm working on some crud stuff, and I was looking for opinions on the subject. Below, I have pasted some VERY simple sample code. Class2 is a "traditional" crud type object. In a...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.