[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Gridview template

Posted on 2007-03-26
4
Medium Priority
?
334 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

650 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