# Asp.net/vb.net problem

**URL:** <https://forum.kirupa.com/t/asp-net-vb-net-problem/275706>\
**Category:** Uncategorized\
**Created:** [November 17, 2008, 7:27pm UTC](https://forum.kirupa.com/t/asp-net-vb-net-problem/275706 "2008-11-17T19:27:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didi32](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@Didi32](https://forum.kirupa.com/u/Didi32)\
**Post date:** [November 17, 2008, 7:27pm UTC](https://forum.kirupa.com/t/asp-net-vb-net-problem/275706/1 "2008-11-17T19:27:06Z")

</div>

Hi,

I am totally new to [asp.net/vb.net](http://asp.net/vb.net) and working on an existing website. I am not very familiar with data binding. I have a list of products, quantities and price displayed using a GridView control. But instead of using a gridview or something else displayed on the page, I would like to get the same data inside a [vb.net](http://vb.net) sub of the same page as a simple string to send it as an email body. The sub would be triggered on click and bind the data to a string at that moment only.  
I figured out how to send the email etc, but I can’t seem to grasp how to perform the same thing than “Gridview” but just to make simple variables and add them to a string ( +=).

Thanks for your help
