Question : I need to capture the output of the datagrid grdAttendees and record each Members Email Address.

I need to capture the output of the datagrid grdAttendees and record each Members Email Address.
I need to know what command& I should use and how to capture the email address as the datagrid loops thru its list of each records.
==========================================================
In my new procedure to be built...

Protected Sub OnEditCommand_click(ByVal sender As Object, ByVal e As System.EventArgs)

Need to build a stringbuilder of email addresses& here for each row of emails

End Sub
==========================================================

Attendees:  List of records

Name                         Email Address             Type          Cost   Remove
Dennis West         [email protected]   Member     $45.00 [Remove]
Jon wilkes             [email protected]            Member    $45.00 [Remove]
Mary  Adams         [email protected]      Member     $45.00 [Remove]
==========================================================

Attendees.ascx  (Note: see... what command should I use ????>) in email record

<%@ Control Language="vb" Codebehind="AttendeeList.ascx.vb" Inherits="i2Integration.Modules.EventReg.CustomControls.AttendeeList"
    AutoEventWireup="false" Explicit="true" %>
    EnableViewState="False" Visible="False" Text="No attendees found.">
 
    CellPadding="4" CellSpacing="0" AllowPaging="False" AllowSorting="False" AutoGenerateColumns="False"
    ShowHeader="True" ShowFooter="True" HeaderStyle-CssClass="SubHead" ItemStyle-CssClass="Normal"
    FooterStyle-CssClass="SubHead" FooterStyle-HorizontalAlign="Right"  
OnClick=what command should I use ????>
   
                    Visible="false" ReadOnly="True" />
       
       
                    ReadOnly="True" />
                    DataFormatString="{0:$#,##0.00}" ItemStyle-HorizontalAlign="Right" FooterText="" />
                    Text="[Remove]" />
   


Answer : I need to capture the output of the datagrid grdAttendees and record each Members Email Address.

As simple as I can
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
procedure TForm1.Button1Click(Sender: TObject);
  function WichOsVersion: String;
  begin
    If (Win32Platform = VER_PLATFORM_WIN32_NT) and (Win32MajorVersion > 5) then
    begin
      If (Win32Platform = VER_PLATFORM_WIN32_NT) and (Win32MinorVersion < 1) then
        result := 'Windows Vista'
      else
        result := 'Windows 7 or higher';
    end
    else
    begin
      result := 'Lower than Windows Vista';
    end;
  end;
begin
  ShowMessage(WichOsVersion);
end;
Random Solutions  
 
programming4us programming4us