I would like to be able to display multiple fields per record over two rows using the vb.net datagrid as follows
Name | Address | Phone
| Comments |
(ie comments on the second row but within the same record.)
Is this posible?
How can you do this? Any pointers or suggestions would be greatly apprieciated.
Thanks in Advance,
Phil. 1 1677
Here is something to try. Access the event thrown when .net is binding data
, then add some html to the item property (where the item is "phone"), like
</TD></TR><TR>. This should get you to the next rowMaybe there is a better
way to do it, but this is the best path.
Info on the itemdatabound event: http://msdn.microsoft.com/library/de...boundtopic.asp
hth
attila
"Phil" <Ph**@discussio ns.microsoft.co m> wrote in message
news:10******** *************** ***********@mic rosoft.com... I would like to be able to display multiple fields per record over two
rows using the vb.net datagrid as follows Name | Address | Phone | Comments | (ie comments on the second row but within the same record.)
Is this posible?
How can you do this? Any pointers or suggestions would be greatly
apprieciated. Thanks in Advance, Phil. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Serious_Practitioner |
last post by:
Good day, and thank you in advance for any assistance you can provide.
I have a table in an Access 2000 .mdb file, and I've run into something odd
and insolvable, at least for me. The database is for membership information.
This particular table, called tblMembershipInfo, has fields/columns as
follows -
fldMemNum - Member Number
fldActionDate - The date when the entry was made in that row - Data type is
Date/Time, no format specified
|
by: Mike L |
last post by:
I'm open for any suggestions on how to better program this. I want the user
to select a license from a combo box, cboPrivilege and then the user will
click the add button, then a record will be added to the data grid.
My current code is coming up with errors, dt and drv are unknown in the else
part of the if statement.
if (this.dgPrivileges.DataSource == null)
{
|
by: Questman |
last post by:
Good afternoon,
Does anyone have any code that implements, or approaches implementing, a
cross-browser DHTML/JS solution to provide an Excel-like Grid on a web
page - I'm trying to convert an old Java client/server data maintenance
program to the web - the main display is in a grid format, which allows
the user to select multiple rows and edit them in a new grid, which
processes each grid line individually and validates and saves the...
|
by: phil-news-nospam |
last post by:
Is there really any advantage to using DIV elements with float style
properies, vs. the old method of TABLE and TR and TD?
I'm finding that by using DIV, it still involves the same number of
elements in the HTML to get everything just right. When you consider
the class attribute on the DIV elements, there's not much size savings
anymore for using DIV.
There are other disadvantages to not using TABLE/TR/TD, such as the
lack of ability...
|
by: Chu |
last post by:
Ok, my title may sound odd - let me explain what it means -
It's easy to setup a grid to display 1 row of information per database
record. Let's say this for example I have a grid display some customer
information such as First Name, Last name and Customer ID on one row.
But, what if there's a large comment for that customer, I could display
it in a 4th column, but if it's large enough it's going to cause some
undesired scrolling. Would...
| |
by: simon |
last post by:
hello,
relatively new to .net, i'm using vb.net and the 2.0 .net platform
I'm trying to display a grid that has a text box on the left in one
cell (with a hidden ID), which will be associated to multiple rows
(events) on the right. each row on the right will also have a text
box
-------------------------------------------------------
event 1
|
by: Gina_Marano |
last post by:
Hey All,
Working with the .Net data has been the hardest part of my
transition. It just doesn't seem very intuitive.
I want to have a master/detail relationship between 2 grids. When the
user navigates grid 1, only the details for that record appear in grid
2. How?
I created a datasource and added the 2 tables. The relationship
|
by: patogenic |
last post by:
I want to use the grid for record insertion. Everything works fine except after saving the new record;
all controls for record insertion are still visible besides the "Add New" button.
I think there is a viewstate issue here, but i could not find out where to update the state of the insertion controls.
I don't want to set visibility for the insertion controls declaratively. I am not open to other solutions than what i am trying to do...
|
by: kurtzky |
last post by:
i created a form that should function as follows:
i will enter a number in a textbox..then it should query from the database all the records which has that number..these records will have a different item no in it..then, these records will be saved in a temporary datatable (which i made in a separate class, the name is WBASKET)...The item nos of these records will be displayed in a combobox, say item1, item2, etc..
then,i have a datagrid...
|
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...
|
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,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
|
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...
|
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...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |