J
Jim in Arizona
I built a webpage using vb.net (.net 2.0) that creates a form letter. This
letter pulls data from a database. Although I populate the address with the
person's full name, which comes from the name column of a customer table, I
need to just get the first name for the Dear part of the letter (ie: Dear
John instead of Dear John Smith). It would be easy if the name was in two
parts in the table (First name and Last name column) but, that isn't the
case.
I've been using a datalist to pull data out of the database and populate it
to the webpage. How could I just get the first name instead of the whole
name?
TIA,
Jim
letter pulls data from a database. Although I populate the address with the
person's full name, which comes from the name column of a customer table, I
need to just get the first name for the Dear part of the letter (ie: Dear
John instead of Dear John Smith). It would be easy if the name was in two
parts in the table (First name and Last name column) but, that isn't the
case.
I've been using a datalist to pull data out of the database and populate it
to the webpage. How could I just get the first name instead of the whole
name?
TIA,
Jim