title: get values of a row of asp.net gridview onclick and send email
body: <p>as u can see from below aspx code i need values of row of the gridview</p>
  
  <p>1)My gridview last column contains dropdownlist.it contains two values (qualified/disqualifed).on selecting qualified or disqaulified i need to get all the values of the row of gridview....</p>
  
  <p>2)after getting all the values i need to send those values to email...the email should be send to the particular email id of email column,</p>
  
  <p>For eg-if i select 1st row from gridview.and in that 1st row if i select ist  dropdownlist(either qualified/disqualified).after selecting qualified/disqualified from dropdownlist i need to get all the values of the first row..and i need to send all the values of the first row  of gridviews through email to the emai id of first row.....</p>
  
  <pre><code>&lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
         BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" BorderWidth="3px"
         CellPadding="4" CellSpacing="2" ForeColor="Black" Height="122px"
         Width="495px" onrowdatabound="GridView1_RowDataBound"&gt;
         &lt;FooterStyle BackColor="#CCCCCC" /&gt;
         &lt;RowStyle BackColor="White" /&gt;
         &lt;Columns&gt;
             &lt;asp:BoundField HeaderText="Application No" DataField="appno" /&gt;
             &lt;asp:BoundField HeaderText="Name" DataField="appname" /&gt;
             &lt;asp:BoundField HeaderText="Company Name" DataField="cname" /&gt;
             &lt;asp:BoundField HeaderText="Post Name" DataField="pname" /&gt;
             &lt;asp:BoundField HeaderText="Email" DataField="email" /&gt;
             &lt;asp:BoundField HeaderText="Mobile No" DataField="mobile" /&gt;
             &lt;asp:BoundField DataField="mksobtain" HeaderText="Marks Obtain" /&gt;
             &lt;asp:BoundField DataField="mkstot" HeaderText="Total Marks" /&gt;
             &lt;asp:BoundField DataField="hrname" HeaderText="HR Name" /&gt;
             &lt;asp:BoundField DataField="hrno" HeaderText="HR No" /&gt;
             &lt;asp:TemplateField HeaderText="Qualification Process"&gt;
                 &lt;EditItemTemplate&gt;
                     &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
                 &lt;/EditItemTemplate&gt;
                 &lt;ItemTemplate&gt;
                     &lt;asp:Label ID="Label1" runat="server"&gt;&lt;/asp:Label&gt;
                     &lt;asp:DropDownList ID="DropDownList1" runat="server" 
                AutoPostBack="True" &gt;
                     &lt;/asp:DropDownList&gt;
                 &lt;/ItemTemplate&gt;
             &lt;/asp:TemplateField&gt;
         &lt;/Columns&gt;
         &lt;PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" /&gt;
         &lt;SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" /&gt;
         &lt;HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" /&gt;
     &lt;/asp:GridView&gt;
  </code></pre>