Quick way to add all BoundField's?

B

Bobby Edward

In my gridview control I want to UNCHECK "Auto-generate fields". My table
has like 30 fields. Do I have to MANUALLY add the BoundField's ONE at a
time??? Or is there an easier way?

Thanks...
 
J

Jonathan Wood

There is an easier way: don't UNCHECK "Auto-generate fields."

If you have a good reason for unchecking the option that you say you want,
perhaps you should explain yourself.
 
B

Bobby Edward

automatically, or do it manually...
What are you actually trying to achieve here...?

I want to add custom titles, some formatting, set some properties (ie width,
etc), convert a few to template fields, etc...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top