# I want to display a DataTable with column names in an Excel-like format in a StudioX legacy project

**URL:** <https://forum.uipath.com/t/studiox-excel/5759144>\
**Category:** フォーラム\
**Tags:** studiox\
**Created:** [July 7, 2026, 4:54am UTC](https://forum.uipath.com/t/studiox-excel/5759144 "2026-07-07T04:54:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gorby](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/gorby/32/543563_2.png) [@gorby](https://forum.uipath.com/u/gorby)\
**Post date:** [July 7, 2026, 4:54am UTC](https://forum.uipath.com/t/studiox-excel/5759144/1 "2026-07-07T04:54:03Z")

</div>

Hello  
I’m using StudioX 2024.10.14 LTS. This is a legacy project.

1. What I want to do

I would like to display a data table in an Excel-like format, including column names (the desired format is below).

```auto
TimeStamp info message
---------------------------------------
08:32:03.9802 Trace "good morning!"
08:32:16.9565 Trace "good afternoon!"
08:32:33.5805 Trace "good evening!"
08:32:46.5588 Trace "good night!"

```

I can output to the output panel using the WriteLine activity with:

`String.Join(",",Row.ItemArray)`

but the following does not work:

`String.Join(",", dt.Columns.Cast(Of DataColumn).Select(Function(c) c.ColumnName)) + vbNewLine + String.Join(vbNewLine, dt.AsEnumerable.Select(Function(r) String.Join(",", r.ItemArray)))`

If anyone has details, please let me know.

---

<div class="post-metadata">

**Author:** ![gorby](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/gorby/32/543563_2.png) [@gorby](https://forum.uipath.com/u/gorby)\
**Post date:** [July 7, 2026, 5:08am UTC](https://forum.uipath.com/t/studiox-excel/5759144/2 "2026-07-07T05:08:11Z")

</div>

I solved it myself.  
It looks like this configuration will work.

 ![Untitled](https://global.discourse-cdn.com/uipath/original/4X/6/0/7/6077208cf80c01ef0cb5603c3a799aacdb1f123d.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [July 10, 2026, 5:08am UTC](https://forum.uipath.com/t/studiox-excel/5759144/3 "2026-07-10T05:08:25Z")

</div>

Closed on July 10, 2026, 5:08am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
