?
Solved

Gridview template

Posted on 2007-03-26
4
Medium Priority
?
333 Views
Last Modified: 2010-04-16
Ok I need to do the following but I have no idea where to start...

col head 1 | col head 2 | col head 3 |col head 4|
DDL 1        |Textbox 1   |Textbox 2  | button      |
data          |data            |data           | data         |
data          |data            |data           | data         |
data          |data            |data           | data         |
data          |data            |data           | data         |
data          |data            |data           | data         |

Thanks I hope you understand what I'm getting at... the button will add data to the gridview... if you understand

Thanks,

Stelly
0
Comment
Question by:stellyuk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 10

Expert Comment

by:SystemExpert
ID: 18805743
Hi,
I understood from your design that you want

Dropdownlist in 1st col heading
Textbox in 2nd column
Textbox in 3rd column
Button in 4th column

you just edit your header section through custom edit

by clicking on right click on your grid
and you will be able to do what you want
Thanks & Regards
0
 

Author Comment

by:stellyuk
ID: 18808789
yer but what if I want headers in the first row and then Dropdownlist in the second??

Stelly
0
 
LVL 10

Accepted Solution

by:
SystemExpert earned 1500 total points
ID: 19126118
check during

if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)

and if it's first row than add your stuff

Thanks & Regards
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question