473,378 Members | 1,122 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,378 software developers and data experts.

dynamic html vs dynamic formview/detailsView

hey all,
can someone please help me decide on which way to go. i get a single untyped
data table which can contain different fields and values at different times.
so i'm thinking i would dynamically generate the html table which would take
care of displaying the data.

but would it be better or the same to use a formview or detailsview
dynamically?

thanks,
rodchar
Oct 18 '07 #1
2 1849
rodchar,

Why not use the DataGrid class in ASP.NET? It will get you most of the
way there, I think. You just have to make sure that the AutoGenerateColumns
property is set to true, and then assign your data source.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:09**********************************@microsof t.com...
hey all,
can someone please help me decide on which way to go. i get a single
untyped
data table which can contain different fields and values at different
times.
so i'm thinking i would dynamically generate the html table which would
take
care of displaying the data.

but would it be better or the same to use a formview or detailsview
dynamically?

thanks,
rodchar

Oct 18 '07 #2
because this is a detail record.

"Nicholas Paldino [.NET/C# MVP]" wrote:
rodchar,

Why not use the DataGrid class in ASP.NET? It will get you most of the
way there, I think. You just have to make sure that the AutoGenerateColumns
property is set to true, and then assign your data source.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:09**********************************@microsof t.com...
hey all,
can someone please help me decide on which way to go. i get a single
untyped
data table which can contain different fields and values at different
times.
so i'm thinking i would dynamically generate the html table which would
take
care of displaying the data.

but would it be better or the same to use a formview or detailsview
dynamically?

thanks,
rodchar


Oct 18 '07 #3

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

Similar topics

0
by: Neil Young | last post by:
Hello group, I'm referring to a "rather old thread" (April 21st 2005). Because I also ran into problems with ASP.NET 2.0 formview and DBNull, but found a way around, I would like to share my...
1
by: Shawn Wildermuth | last post by:
I have a *single* SqlDataSource that loads up a single result set that I show in a GridView. In the GridView, i've added a "Select" button and handling the SelectedItem event. I also have a...
1
by: TdarTdar | last post by:
I wanted to add three columns up on the form and run some logic to fill in the third but not sure how to call the field names in the formview control. Dim Girth As Integer Elenght =...
3
by: sck10 | last post by:
Hello, I am creating a form for users to enter information about a lab and the members of the lab. I have one form (FormView) that they use to enter information about that lab. The keyvalue is...
0
by: Giorgio | last post by:
It seems that the ASP.NET Microsoft team didn't think about this!! The profilemanager class has the following methods: - DeleteInactiveProfiles. Enables you to delete all profiles older...
5
by: Jurgen Appelo | last post by:
I'm at a loss here... My FormView control automatically performs a databind at each postback on the server. But in some cases I don't want this to happen. Like when the business layer decides that...
1
by: R.A.M. | last post by:
Hi, I am learning .NET 2.0 and I would like to know what is the difference between DetailsView and FormView? When, IN PRACTICE, use each of these? Thank you! /RAM/
1
by: Uriah Piddle | last post by:
Hi, I have a FormView where nothing gets rendered past the opening <ItemTemplatetag. The FormView Header renders but nothing else. If I put garbage in an Eval statement, no errors are raised and...
2
by: Paulo | last post by:
What is DetailsView, FormView, DataList, Repeater components? Any differences? VS 2005 asp.net C#
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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...

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.