Author: kldeutsch | Posted on: 2/17/2009 1:08:53 PM | Views : 328

I made a datagrid with a delete command arguement.  I put in code in my code behind but what I did not realize is that it currently deletes everything from the db.  How can I get just the field I am selecting to delete just that data.

 <asp:datagrid id="myDataGrid" runat="server" BorderWidth="1px" CellPadding="6" BorderColor="#404040"
Font-Size="12px" Font-Names="Verdana,Arial,sans-serif" AutoGenerateColumns="False" HeaderStyle-HorizontalAlign="Center"
ItemStyle-HorizontalAlign="Center"><AlternatingItemStyle BackColor="LightSteelBlue"></AlternatingItemStyle>
<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="White" BackColor="SteelBlue"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="strFullName" HeaderText="Full Na ...

Go to the complete details ...