Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 31st, 2006, 05:14 AM
Friend of Wrox
Join Date: May 2005
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Default datagrid add table cells problem

I know that datalist has RepeatColumns and repeatDirection property
to specify table cells and number of columns
But I want to have these functionalities in my datagrid?
how is that?
any idea?
Old July 31st, 2006, 09:13 AM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

The fact of the matter is, these properties don't exist for the datagrid. (As you, no doubt, have found out.) If you use the AutoGenerate property of the datagrid, the grid will have exactly the same amount of rows and columns as the datasource your binding to.

Even if you set AutoGenerate to false and manual setup your grid (using columns and ItemTemplates) you can not have any more columns then are returned by your datasource. Reference material for this can be found here:


"The one language all programmers understand is profanity."
Old August 9th, 2006, 11:55 PM
Registered User
Join Date: Nov 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


The book Titled:"Develop your own Web Accounting Application using ASP.Net". This book dealt with Datagrid.

How to add data through footer, edit, delete and saving data into the database etc..


Books for programmers

Similar Threads
Thread Thread Starter Forum Replies Last Post
Datagrid-Merging Cells p330418 ASP.NET 2.0 Professional 0 February 29th, 2008 12:06 AM
Datagrid Cells Abbas C# 2005 1 October 12th, 2007 09:35 AM
how to add from text values into excel cells kotaiah Excel VBA 2 September 12th, 2006 10:55 AM
Datagrid and cells haroon .NET Framework 2.0 1 October 11th, 2004 10:46 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.