Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Trying to send an email with multiple datagrids - each datagrid is stacking on top of each other in the email, and I want all the datagrids to be on one row in the email

Posted on 2009-05-05
2
Medium Priority
?
161 Views
Last Modified: 2013-11-26
I am trying to send an email with datagrids. I do not want the datagrids to stack on top of each other in the email. How do I get the datagrids to be next to each other horizontally?
If pnlFixedSS.Visible = True Then
                    mBody.Append(getHTML(dgFixedSS))
                End If
                If pnlFixedWSSS.Visible = True Then
                    mBody.Append(getHTML(dgFixedWSSS))
                End If
                If pnlFixedPTSS.Visible = True Then
                    mBody.Append(getHTML(dgFixedPTSS))
                End If
                If Me.pnlMCPEBundledSS.Visible = True Then
                    mBody.Append(getHTML(Me.dgMCPEBundledSS))
                End If
                If Me.pnlMCPEUnbundledSS.Visible = True Then
                    mBody.Append(getHTML(Me.dgMCPEUnbundledSS))
                End If
 
                If Me.pnlSplitBundledSS.Visible = True Then
                    mBody.Append(getHTML(Me.dgSplitBundledSS))
                End If
                If Me.pnlSplitUnbundledSS.Visible = True Then
                    mBody.Append(getHTML(Me.dgSplitUnbundledSS))
                End If
 
 
                If Me.pnlOnOffBundledSS.Visible = True Then
                    mBody.Append(getHTML(Me.dgOnOffBundledSS))
                End If
                If Me.pnlOnOffUnbundledSS.Visible = True Then
                    mBody.Append(getHTML(Me.dgOnOffUnbundledSS))
                End If
 
                If Me.pnlWSHRBundledSS.Visible = True Then
                    mBody.Append(getHTML(Me.dgWSHRBundledSS))
                End If
                If Me.pnlWSHRUnbundledSS.Visible = True Then
                    mBody.Append(getHTML(Me.dgWSHRUnbundledSS))
                End If
 
                If Me.pnlRetailHRSS.Visible = True Then
                    mBody.Append(getHTML(Me.dgRetailHRSS))
                End If

Open in new window

0
Comment
Question by:utlonghornjulie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 total points
ID: 24310510
do you have the same rows in each grids? are the grids related or is is just different grids that you want side-by-side?

if it is only grids that you want side-by-side, you could embed HTML tables into table cells. Something like:

mBody.Append("<table>")
mBody.Append("<tr>")
If pnlFixedSS.Visible = True Then
   mBody.Append("<td>")
   mBody.Append(getHTML(dgFixedSS))
   mBody.Append("</td>")
End If
If pnlFixedWSSS.Visible = True Then
   mBody.Append("<td>")
   mBody.Append(getHTML(dgFixedWSSS))
   mBody.Append("</td>")
End If
....
mBody.Append("</tr>")
mBody.Append("</table>")
0
 
LVL 3

Author Comment

by:utlonghornjulie
ID: 24315419
That worked. Thanks!
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

671 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question