The problem in this is GridView is not showing in runtime. But showing in design time.
My task is to Enter Name, te mark, ce mark, pe mark.
each time when i enter a mark, it has to be manipulated in the total column.
Please send me the code to this function.
I did the html code to Crete the controls inside the GridView.
Here how my gridView Looks like:-
The html code to this GridView is :-
ForeColor="Black" GridLines="Vertical" AutoGenerateColumns="False"
onselectedindexchanged="dgvMarkEntry_SelectedIndexChanged">

Iftikar HussainPosted Aug 25, 2013, 11:38 PM
You need to bind your girdview always, but if there is no record then you can display "No Records Found" in gridview like below
BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3"
ForeColor="Black" GridLines="Vertical" AutoGenerateColumns="False"
onselectedindexchanged="dgvMarkEntry_SelectedIndexChanged"
ShowHeaderWhenEmpty="True" EmptyDataText="No records Found">
Regards,
Iftikar
Bineesh ViswanathPosted Aug 25, 2013, 11:25 PM
Nitesh KejriwalPosted Aug 25, 2013, 7:49 PM
Seeing your code, the textboxes will appear in the grid when you click the "Edit" button beside the row and the rows will appear only when data is assigned to the gridview and bound.