Hi David,
Thanks for responding.
You actually clarified a lot for me and I think I'm on the right path. For clarification sake, here is what I am doing:
1. Populating a table adapter by a stored procedure with 5 session parameters.
2. Displaying a gridview based on the table adapter
3. **this is where I'm at** Click a link button which allows the user to Email All the contacts displayed in the gridview
--
Right now I have 3 questions:
1) How can I count the amount of rows in a table adapter?
2) How can I check if contacts is actually filing itself?
contacts = contactsAdapter.GetDataSummaryViewContact(Session("sInstCode"), Session("sOfficer"), Session("sCategory"), Session("sInstName"), Session("sLastName"))
3) I'm trying to iterate through the table adapter's rows like this:
Dim i As Integer
For i = 0 To contacts.Rows.Count - 1
contactRow = contacts.Rows(i)
Label1.Text = contactRow.Email.ToString
Next
I'll continue to search for an answer but any help you could provide will surely help.
Thanks again,
Éric