samsmithnz Posted June 14, 2004 Posted June 14, 2004 I was wondering if there was a way to use multiple rows on the same line in a datagrid. In my example I have a very small datagrid, that has only two columns, a name and picture. Currently my results scroll down the page like this: [name1 picture1] [name2 picture2] [name3 picture3] [name4 picture4] [name5 picture5] [name6 picture6] But I'd like to arrange them into columns like this: [name1 picture1] [name2 picture2] [name3 picture3] [name4 picture4] [name5 picture5] [name6 picture6] Is there anyway do to this??? Any insight is appreciated. Quote Thanks Sam http://www.samsmith.co.nz
Administrators PlausiblyDamp Posted June 14, 2004 Administrators Posted June 14, 2004 Probably better looking at the DataList control, you would have to define your own ItemTemplate (Label and an Image) but it would then allow you to repeat these in several columns. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
samsmithnz Posted June 14, 2004 Author Posted June 14, 2004 I'm using itemtemplates anyway, so maybe it won't be so bad. I guess my other alternative is a repeater, but I was just trying to see if there was a simple property that I could select... Quote Thanks Sam http://www.samsmith.co.nz
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.