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

Different DataGrid

Please have a look at this URL (it won't take even 5 seconds to
download):

http://rn5a.brinkster.net/Page1.html

I want a DataGrid to render itself like the HTML table shown in the
above URL. How do I do it?

Note that the text under the second column are actually retrieved from
a MS-Access database table.

Apr 14 '07 #1
4 1172
On Apr 13, 8:27 pm, r...@rediffmail.com wrote:
Please have a look at this URL (it won't take even 5 seconds to
download):

http://rn5a.brinkster.net/Page1.html

I want a DataGrid to render itself like the HTML table shown in the
above URL. How do I do it?

Note that the text under the second column are actually retrieved from
a MS-Access database table.
I believe that this is a detailsview, not a gridview.

Apr 14 '07 #2
On Apr 14, 9:13 am, "wmain" <mainmeis...@gmail.comwrote:
On Apr 13, 8:27 pm, r...@rediffmail.com wrote:
Please have a look at this URL (it won't take even 5 seconds to
download):
http://rn5a.brinkster.net/Page1.html
I want a DataGrid to render itself like the HTML table shown in the
above URL. How do I do it?
Note that the text under the second column are actually retrieved from
a MS-Access database table.

I believe that this is a detailsview, not a gridview.
Do you mean to say it can be done only with a DetailsView & not with a
DataGrid or GridView?

Apr 14 '07 #3
On Apr 14, 1:21 am, r...@rediffmail.com wrote:
On Apr 14, 9:13 am, "wmain" <mainmeis...@gmail.comwrote:
On Apr 13, 8:27 pm, r...@rediffmail.com wrote:
Please have a look at this URL (it won't take even 5 seconds to
download):
>http://rn5a.brinkster.net/Page1.html
I want a DataGrid to render itself like the HTML table shown in the
above URL. How do I do it?
Note that the text under the second column are actually retrieved from
a MS-Access database table.
I believe that this is a detailsview, not a gridview.

Do you mean to say it can be done only with a DetailsView & not with a
DataGrid or GridView?
Yes, the layout of the gridview is column based while the detailsview
is row based.

Apr 15 '07 #4
On Apr 15, 9:15 am, "wmain" <mainmeis...@gmail.comwrote:
On Apr 14, 1:21 am, r...@rediffmail.com wrote:


On Apr 14, 9:13 am, "wmain" <mainmeis...@gmail.comwrote:
On Apr 13, 8:27 pm, r...@rediffmail.com wrote:
Please have a look at this URL (it won't take even 5 seconds to
download):
http://rn5a.brinkster.net/Page1.html
I want a DataGrid to render itself like the HTML table shown in the
above URL. How do I do it?
Note that the text under the second column are actually retrieved from
a MS-Access database table.
I believe that this is a detailsview, not a gridview.
Do you mean to say it can be done only with a DetailsView & not with a
DataGrid or GridView?

Yes, the layout of the gridview is column based while the detailsview
is row based.- Hide quoted text -

- Show quoted text -
Thanks a lot for the suggestion wmain. It does serve my purpose but
there's a petty issue which is driving me crazy since last couple of
days. The problem is with the bordercolor & the borderwidth of the
rows under the 2nd column in the DetailsView. I could successfully
change the bordercolor & borderwidth of the 1st column using
FieldHeaderStyle-BorderColor & FieldHeaderStyle-BorderWidth
respectively but irrespective of what I use (like RowStyle,
AlternatingRowStyle, CommandRowStyle, EditRowStyle, FooterStyle,
HeaderStyle, PagerStyle etc.), the bordercolor & the borderwidth of
the rows under the 2nd column in the DetailsView simply refuse to
change. I even tried using the CssClass property of the DetailsView
but in vain.

Any idea how do I overcome this irritating problem?

Apr 16 '07 #5

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

Similar topics

1
by: Kulgan | last post by:
Hi, I have a dataset object that is binded to a datagrid in my main thread. Now, when I add a row to the dataset object in a another thread (since it may take awhile to complete), sometimes my...
2
by: magister | last post by:
Hello, I have xml like this.... <test> <question>sdfsa</question> <section><question>43ga</question> <question>asdf</question> </test>
1
by: Stephen | last post by:
I have two datagrids on a page and each of them allow the user to add rows. On each datagrid I have validation (required field, reg expressions etc) and my problem is that I only want the...
3
by: Alpha | last post by:
I've looked through all the event members of a datagrid but I can't find one that's for when user selects a different row in the datagrid. How does one catch this type of event? Thanks, Alpha
1
by: Machi | last post by:
Can anyone provide any advice or article on creating DataGrid and bind it with data but for every column of data, there may be different Server Controls. To make it clear, let say i want bind 1 field...
0
by: John | last post by:
Hi! Guys I think some of you can help me here. Here is the situation...... I have a following columns from different tables and get a Dataset to Bind with a data grid. 1)ItemId int...
2
by: news | last post by:
hi im new in the .net environnement i have a work to do in school im able to display a datagrid using a database in access and im also able to display a datagrid using a database in foxpro 8.0...
1
by: suresh_C# | last post by:
Hi All, I want to bind datagrid with 3 different datatables. Please tell me what is a right way of doing that. Any help will be appreciated. Thanks, Mahesh
2
by: Alex Smith | last post by:
Hi friends Can anybody tell me where to use datagrid and where to use datalist. Or explain Different between DataGrid and DataList. Regards, Alex
2
by: Thomas Beyerlein | last post by:
Is it possible to have different columns of a datagrid bound to different datatables? I am working on a project and the specks have suddenly changed. Now a item can have multiple reports/...
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...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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.