Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 31st, 2006, 05:14 AM
Friend of Wrox
 
Join Date: May 2005
Location: , , .
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Default datagrid add table cells problem

Hi,
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?
thanks
  #2 (permalink)  
Old July 31st, 2006, 09:13 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

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:

http://aspnet.4guysfromrolla.com/art...52103-1.2.aspx

"The one language all programmers understand is profanity."
  #3 (permalink)  
Old August 9th, 2006, 11:55 PM
Registered User
 
Join Date: Nov 2005
Location: ban, kar, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

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..

Regards
bhar

Books for programmers
http://www.vkinfotek.com
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:42 AM.


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