| | |
Datagrid for typed dataset
Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Jul 2006
Posts: 5
Reputation:
Solved Threads: 0
Hi,
Iam a new comer.Joined today.Would like to clear one of my doubts.
I have a doubt regarding the columns in datagrid.
Iam using vb.net2005 (win application)
I have a typed dataset, with the column names as that of the database(sql) table fields.i had set a datagrid's datasource to this particular typeddataset.
I have added my own column names to the datagrid and i have set the database field property to the corresponding fields in Database tables.
But while it displays, the grid gives me the columns that i have added as well as columns as that of the typed dataset's filed names.and the first set of columns(added ones) are empty and the the columns which bear the typeddataset's column names have values.
What should be done?
Where i went wrong?
I actually need a datagrid which shows the values in the typeddataset with my own column names and not that of the typed dataset's.
Hope iam clear in expressing my doubt.
Anybody knows where i went wrong, please reply as early as possible.It's very urgent.
Iam a new comer.Joined today.Would like to clear one of my doubts.
I have a doubt regarding the columns in datagrid.
Iam using vb.net2005 (win application)
I have a typed dataset, with the column names as that of the database(sql) table fields.i had set a datagrid's datasource to this particular typeddataset.
I have added my own column names to the datagrid and i have set the database field property to the corresponding fields in Database tables.
But while it displays, the grid gives me the columns that i have added as well as columns as that of the typed dataset's filed names.and the first set of columns(added ones) are empty and the the columns which bear the typeddataset's column names have values.
What should be done?
Where i went wrong?
I actually need a datagrid which shows the values in the typeddataset with my own column names and not that of the typed dataset's.
Hope iam clear in expressing my doubt.
Anybody knows where i went wrong, please reply as early as possible.It's very urgent.
Chepps:lol:
Asp.Net AutoGenerateColumns attribute in datagrids is on by default, set the attribute to false in the aspx page.
<asp:DataGrid AutoGenerateColumns="False" ... Last edited by hollystyles; Jul 31st, 2006 at 10:45 am.
![]() |
Similar Threads
- Pivot table in DataGrid (VB.NET)
- how to convert typed dataset to untyped dataset??? (C#)
- how to convert typed dataset to untyped dataset??? (C#)
- How to update a Datagrid cell in Javascript (C#)
- Datagrid to draw a table (C#)
- Datagrid (C#)
- typed Dataset (C#)
Other Threads in the VB.NET Forum
- Previous Thread: anyone know how to use zedgraph in vb.net?
- Next Thread: Required Help urgently
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account arithmetic array basic beginner bing browser button buttons center check code crystalreport cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist excel fade file-dialog filter forms ftp generatetags google hardcopy html images input insert intel internet mobile monitor net networking objects open output panel passingparameters pdf picturebox picturebox1 port position print printing problem project save searchbox searchvb.net select serial settings shutdown soap sqlserver survey table tcp temperature text textbox timer timespan toolbox transparency trim update user vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vba vbnet visual visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode year






