473,854 Members | 1,401 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1188
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...@gm ail.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...@gm ail.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...@gm ail.comwrote:
On Apr 14, 1:21 am, r...@rediffmail .com wrote:


On Apr 14, 9:13 am, "wmain" <mainmeis...@gm ail.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
FieldHeaderStyl e-BorderColor & FieldHeaderStyl e-BorderWidth
respectively but irrespective of what I use (like RowStyle,
AlternatingRowS tyle, 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
1290
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 application will crash. I suspect this is because the ListChanged event is raised on a different thread to the thread that my dataset object was bound to the datagrid. My question is, how do I get around this problem? I would think this would be a...
2
3276
by: magister | last post by:
Hello, I have xml like this.... <test> <question>sdfsa</question> <section><question>43ga</question> <question>asdf</question> </test>
1
1187
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 validation to work on the datagrid which I click add in. At the moment if I click add in one datagrid and haven;t filled out anything on the other datagrid then the validation comes up. Does any one know what I can do to combat this?
3
1352
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
1133
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 in one DataGrid, but for the only field i want to bind, i may have Label control from rows 1 - 5 and , i want to bind checkboxes to rows from row 6 - 8 and i want to bind again the label controls from row 9 - 11. Can i do that in DAtagrid in ASP.NET...
0
1018
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)FeatureId smallint 3)ItemName nvarchar(255)
2
2848
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 but i want to display in my browser the both datagrid in the same page, one using access db and the other with foxpro db. how can i integrated the both in the same program?
1
1284
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
1460
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
1353
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/ versions assigned to it. But they like the look of the datagrid and want to keep it. So now I have one column that can have more than one row. If anyone has any suggestion it would be very helpful. Thanks
0
9901
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9751
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10756
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10371
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9513
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7914
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5741
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
4159
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3186
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.