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

Two object on the same datagrid row

Good Morning,
I've used a datagrid to show some web template images that you can see
at the address

http://www.etantonio.it/IT/Web/TemplateSiti/index.aspx

my idea is to put two photo on the same row, I know this is possible
with the datalist but how I can achieve the same using a datagrid ???

Many Thanks ..

Engineer Antonio D'Ottavio
Nov 16 '05 #1
1 938
Il datagrid non e' cosi' flessibile come un datalist.
Prima devi creare una DataColumn che definisce il layout di quella colonna
(nel tuo caso un'immagine + links), e quindi creare un datagrid con due
DataColumn di questo tipo.
Inoltre anche il datasource i dati devono essere nella stessa riga. Se come
penso, usi una bancadati, il tutto non e' molto divertente, dovresti fare un
select dei dati per poi "mischiarli" in modo da mettere 2 oggetti in una
sola riga.

Nel datagrid dovresti riuscire a riempire le 2 colonne di un dataset, oltre
a definire una DataColumn particolare per l'immagine + links.
Usare un datalist in questi casi e' molto meglio.

"Antonio" <et*******@libero.it> schrieb im Newsbeitrag
news:ba*************************@posting.google.co m...
Good Morning,
I've used a datagrid to show some web template images that you can see
at the address

http://www.etantonio.it/IT/Web/TemplateSiti/index.aspx

my idea is to put two photo on the same row, I know this is possible
with the datalist but how I can achieve the same using a datagrid ???

Many Thanks ..

Engineer Antonio D'Ottavio

Nov 16 '05 #2

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

Similar topics

0
by: Roman | last post by:
I'm trying to create the form which would allow data entry to the Client table, as well as modification and deletion of existing data rows. For some reason the DataGrid part of functionality stops...
2
by: tshad | last post by:
I have multiple Grid objects that are editable on my page. The following is an example of the onEditCommand method. In this case D1 (the Grid object) is known. ...
1
by: Angelos Karantzalis | last post by:
Hi guys, I've an Enumerator of object arrays that I need to display on a DataGrid. Unfortunately, after I set the DataSource to the Enumerator, and call DataBind(), the DataGrid picks up &...
8
by: ST | last post by:
Hello everyone, Can anyone help me with this error above when I debug my web app project in vstudio.net?? I can't figure it out! It was working fine for months, and now all of a sudden it's not!!...
4
by: rn5a | last post by:
Consider the following code: <script runat="server"> Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) Dim dInfo As DirectoryInfo dInfo = New DirectoryInfo(Server.MapPath("/Folder1"))...
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: 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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...

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.