472,805 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 software developers and data experts.

How to put spacer column between 2 columns in datalist

using vb.net I have a datalist where the Repeat layout has:
Columns 2
Direction Horizontal
Layout Table

I want to put a spacer column inbetween the 2 columns for better control of
the distance between these 2 columns. Is this possible? And by the way, I
find it a little difficult to control the spacing and alignment of template
items (cells). For examle the right cell/column is a little lower than the
left one.

--
mo*******@nospam.com
Nov 18 '05 #1
2 5531
Thanks!

--
mo*******@nospam.com
"Bill Borg" <an*******@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Not sure if this is the *best* way to do this, but presuming this is your same example with name/address, etc., I'd wrap that whole block within a
table, and use cellpadding/cellspacing to create the extra space, and that
will probably clean up your other alignment issue. For your own sanity
someday, you might also consider creating a user control for that block, to
clean up the syntax in the template and make it easier to modify later.
----- moondaddy wrote: -----

using vb.net I have a datalist where the Repeat layout has:
Columns 2
Direction Horizontal
Layout Table

I want to put a spacer column inbetween the 2 columns for better control of the distance between these 2 columns. Is this possible? And by the way, I find it a little difficult to control the spacing and alignment of template items (cells). For examle the right cell/column is a little lower than the left one.

--
mo*******@nospam.com

Nov 18 '05 #2
Thanks!

--
mo*******@nospam.com
"Bill Borg" <an*******@discussions.microsoft.com> wrote in message
news:86**********************************@microsof t.com...
Not sure if this is the *best* way to do this, but presuming this is your same example with name/address, etc., I'd wrap that whole block within a
table, and use cellpadding/cellspacing to create the extra space, and that
will probably clean up your other alignment issue. For your own sanity
someday, you might also consider creating a user control for that block, to
clean up the syntax in the template and make it easier to modify later.
----- moondaddy wrote: -----

using vb.net I have a datalist where the Repeat layout has:
Columns 2
Direction Horizontal
Layout Table

I want to put a spacer column inbetween the 2 columns for better control of the distance between these 2 columns. Is this possible? And by the way, I find it a little difficult to control the spacing and alignment of template items (cells). For examle the right cell/column is a little lower than the left one.

--
mo*******@nospam.com

Nov 18 '05 #3

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

Similar topics

0
by: moondaddy | last post by:
using vb.net I have a datalist where the Repeat layout has: Columns 2 Direction Horizontal Layout Table I want to put a spacer column inbetween the 2 columns for better control of...
1
by: Bigtoga | last post by:
Okay - I'm going crazy here trying to figure out how to do this - here goes: I have a DataList populated by a DataReader. In the DataReader, a column is present called "IsInCategory". I want to...
0
by: Joe Van Meer | last post by:
Hi, I have a datalist that is bound to a dataset that contains 3 tables and relations are created between these tables. My question is how to reference data from columns in the second table in...
1
by: Eirik Eldorsen | last post by:
I'm trying to set alternating bgcolor for a datalist with 2 columns. My problem is that its the alternating cell that get the bgcolor, not the row. Is it possible to set alternating color of rows?...
1
by: Rachel Devons | last post by:
All, I have a table with three rows, and within each row I have a DataList that is set to use 3 columns. The problem I'm having is that each DataList sets it's columns to be different widths so...
5
by: Ben Fidge | last post by:
I'm using DataList to present tabular data but am often having problems with some rows column alignment being out of synch with the rest of the rows. My DataList looks similar to this...: ...
3
by: Aaron | last post by:
How do you get this datalist more like a grided table of 3 columns? Here is what I have but it is not in true columns. <asp:DataList ID="DataList1" runat="server" BorderColor="#006699"...
3
by: trvlDev | last post by:
I am using ASP 2.0 connecting to a SQL database. I retrieve one field of data from one of the tables and return the results to the screen - currently into a DataList. Well, the column is now too...
3
by: Nathan Sokalski | last post by:
I am looking to create a multi-column list that is scrollable, kind of like a ListBox control, only I need a way to align the columns of text that I will have (I would use spaces, but because the...
0
by: =?Utf-8?B?UGF1bCBT?= | last post by:
Hi I want to make a 2-column list of historical data grouped by date. Each group of data must have a separator that spans over both columns. I have tried to do it with a datalist but the separator...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.