Different columns for alternating rows in gridview

T

tsedward

I am creating a databound gridview. The last cell of each row can,
and usually does, contain a lot of text. Is there any way that I
could drop this last cell down into the next line on the gridview?
This would mean that every other row would ignore the columns and
consist of one large column. Is this possible?
 
C

Cowboy \(Gregory A. Beamer\)

Yes, you can do this by intercepting the data binding event and writing a
second row when it binds that row.
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top