Hi All,
I have a grid view
based on checkbox value i want to create grid view columns.
my gridview contains 6 columns they are RowNumber,ProductName,Description,Qty,Unit-Price,Amount
and i have a checkbox is used to handle gridview qty column.
if it is checked i want qty column in gridview
if it is unchecked i dont want qty column in gridview
so i am using below code
aspx code
<div class="row container">
<asp:CheckBox ID="chkIsQtyColumn" Text="Include Qty Column" AutoPostBack="true"
Checked runat="server" oncheckedchanged="chkIsQtyColumn_CheckedChanged" />
</div>
<div class="row">
...
Go to the complete details ...