I have a gridview where I need to create a field. field should be like menu and sub-menu.
like 101
ex se tot
here 101 is header field. and ex,se and tot are sub-fields and in these three sub-fields, data should be retreived from database..
| Subject Code | Marks Awarded | Remarks | ||
| End Exam | Sessional | Total | ||
| 101 | 37 | 11 | 48 | * |
| 102 | 03 | 08 | 11 | F |
| 103 | 06 | 12 | 18 | F |
| 104 | 44 | 16 | 60 | * |
requirement is same as above marks awarded and end exam .....
I couldn't find what field should be used for this type of requirement.
please help me.
srinathPosted May 26, 2010, 1:58 AM
I tried the code which is given by Mr.Prasanta pradhan. I am getting problem when I use Edit Item Template for retreiving the data from database.
As in edit item template I need to bind the data from database with corresponding text property of the label in item template.
Please help me
CrishPosted May 25, 2010, 9:26 AM
In gridview's header make "Table" structure like
prasanta pradhanPosted May 25, 2010, 7:09 AM
There are various approach for u r requirement one of them
====================
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %>
================
Thank's
Pradhan Prasanta Kumar
http://globaltouch.in