Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8373457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:40:50+00:00 2026-06-09T14:40:50+00:00

I am loading the dataset table values into a .xml table. I then email

  • 0

I am loading the dataset table values into a .xml table. I then email this table if there are results. How can I load null columns into the .xml table below? FOr example _New_Invoice_Number will occasionally be Null because it is a nullable value.

 Dim void = _
            <html>
                <body>
                    <table border="1">
                        <tr><th>Store #</th><th>Invoice Date</th><th>Invoice #</th><th>Vehicle Tag</th><th>Void Reason</th><th>Invoice Total</th><th>New Invoice #</th><th>Vehicle Tag</th><th>New Invoice Total</th><th>Re-Tendered?</th><th>User Name</th></tr>
                        <%= From vtest In Me.DataDeliveryServiceDataSet.datatable.AsEnumerable _
                            Select <tr><td><%= vtest.Store_Number %></td>
                                       <td><%= Convert.ToDateTime(vtest.Invoice_Date).ToString("M/d/yy") %></td>
                                       <td><%= vtest.Invoice_Number %></td>
                                       <td><%= vtest.Vehicle_Tag %></td>
                                       <td><%= vtes.Void_Reason %></td>
                                       <td><%= vtest.Invoice_Total %></td>
                                       <td><%= vtest._New_Invoice__ %></td>
                                       <td><%= vtest._Vehicle_Tag %></td>
                                       <td><%= vtest.New_Invoice_Total %></td>
                                       <td><%= vtest._Re_tendered_ %></td>
                                       <td><%= vtest.User_Name %></td></tr> %>
                    </table>
                </body>
            </html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:40:51+00:00Added an answer on June 9, 2026 at 2:40 pm

    Here is an example:

    Sub Main()
        Dim a As Nullable(Of Integer)
        Dim b As String
    
        Dim c = IIf(IsNothing(a), "", a.ToString())
        Dim d = IIf(IsNothing(b), "", b)
    End Sub
    
    <td><%= IIf(IsNothing(vtest.Vehicle_Tag), "", vtest.Vehicle_Tag) %></td>
    <td><%= IIf(IsNothing(vtest.Invoice_Number), "", vtest.Invoice_Number.ToString()) %></td>
    

    Another option is to handle Null’s on the SQL side:

    select coalesce(Vehicle_Tag, '') from myTable
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm loading data into a DataSet from an XML file using the ReadXml method.
After loading a PHP template (using jQuery's load function), this simple script won't make
We are loading a Fixed width text file into a SAS dataset. The character
My goal is to load an embedded xsd with imports into a DataSet and
Within a webpage, upon loading, I fill a dataset with two table with a
I am loading a visual fox pro database table into a data grid view
I am loading three dataset from the database which has Dataset 1 > Table
Loading images into Flex (size < 100kb) causes IE7 memory increase by a megabyte
while loading getfptex(got it from CTAN) batch file ,when i'm extracting this batch file
How can I apply paging to a dataset? I have a method in which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.