473,394 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

how to create gridview inside a gridview in c#.net?

How to create Gridview inside a Gridview in c#.net?
Please give the answer for my question.
Sep 6 '10 #1
3 4029
Frinavale
9,735 Expert Mod 8TB
You can do this using a TemplateField.

-Frinny
Sep 7 '10 #2
mzmishra
390 Expert 256MB
there is one good example also you can follow
http://www.codeproject.com/KB/webfor...eGridView.aspx
Sep 7 '10 #3
U can put subgrid in MainGrid TemplateField.
and bind subgrid on maingrid row databound event..
Sep 10 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Carlos Albert | last post by:
Hi everyone I'm working with some nested gridviews. The problem I have is that the 'child' gridview is populated by a select... that depends of the content of a session(). So far, no luck in...
0
by: David | last post by:
How would I go about having a GridView in another GridView and have it display only data for the selected Row? I have a GridView of contact names, title, etc. at a company and would like to have a...
7
by: =?Utf-8?B?cGF0cmlja2RyZA==?= | last post by:
Hi all! I have a gridview inside a datagrid (nested) for which (gridview) the rowcommand is not raised in order to delete a row from the grid! I also tried OnRowCommand="method", didn't work...
0
by: mutt1170 | last post by:
I have a checkbox list nested inside a gridview. The gridview pulls its data from an objectdatasource and lists countries. The nested checkbox list is databound to another object datasource and...
0
by: David C | last post by:
I have a GridView that displays a list of contact names, email address, etc. Inside of it, I have another GridView that shows the 1 or more phone numbers for that contact and I set it to...
0
by: Eraser | last post by:
Hi to all .NET guru guys... I have a problem in my delete button inside gridview. How to avoid postback on when i select cancel on confirmation message? But postback is okay on Ok confirmation....
0
by: baburk | last post by:
I am having dropdownlist inside gridview. When the dropdownlist selectedindex change an event should fire. What is the event for his. I also want to get the dropdownlist event fired row...
0
by: hetalupadhyay | last post by:
hi i take one update panel nd put inside gridview when i click print button no operation perform and when i remove update panel then it work perfectly so wht i do?.................to solve this ...
1
by: gopim | last post by:
gridview inside another gridview using Asp.net C#
4
by: foolmelon | last post by:
Before AJAX, we were able to focus a cell in a gridview during a fullpage postback. After putting the gridview inside an UpdatePanel, we cannot focus a cell in this gridview anymore. Does anybody...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.