Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Datagrid in VS 2005

Question posted by: godhulirbalaka (Newbie) on July 4th, 2008 06:22 AM
Hello sir,

I have a datagrid which is getting data from a Access datatable.

my data table has 4 field and datagrid is showing 4 column according.

now i want to add a new column means column number 5. along with other 4 column.

when my form is loading that time I need five column(4 from database and 1 is manually added=5 column).

how can i do this
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
wgale025's Avatar
wgale025
Newbie
17 Posts
July 4th, 2008
09:17 AM
#2

Re: Datagrid in VS 2005
you can add a new DataColumn in you dataTable.
wgale025

Reply
Frinavale's Avatar
Frinavale
Forum Leader
2,143 Posts
July 4th, 2008
01:14 PM
#3

Re: Datagrid in VS 2005
Are you dynamically creating the data source for the DataGrid?
Or are you declaratively creating the data source through ASP?

Reply
Reply
Not the answer you were looking for? Post your question . . .
184,039 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top .NET Forum Contributors