|
-
June 6th, 2003, 11:04 AM
#1
tables
I want to manage data in table's like view, and let the user the ability to change it - table like excel style.
I think DataGrid is the control i should use, but i'm not sure, and also i don't know how to operate it. looked on it now and didn't see how to make it works. any suggestions?
-
June 6th, 2003, 11:11 AM
#2
well DataGrid is easiest way to do that. If you are looking for easy solution then you can use ListView and Assign DataSource and bind the database DataSet !!
well Display member and value should work i suppose.
For DataGrids therez a bunch of research already done. so if you have problems that can be solved more elegantly and in a concrete way that you expect.
Paresh
- Software Architect
-
June 6th, 2003, 11:14 AM
#3
I want to display information of the form
Title1 Field1 Field2 ... Field8
Title2 Field1 Field2 ... Field8
Title3 Field1 Field2 ... Field8
Title4 Field1 Field2 ... Field8
and let the user to change the fields.
DataGrid is the way?
If yes, do you know about any tutorial about DataGrid? I'm looking for it now, and finds only tutorials about how to do special things with it, not about its basic use.
-
June 6th, 2003, 11:17 AM
#4
ok,
DataGrid can show anything which you like,
Whether its in format of Database, Dataset, XML , or locally /logically created DataSets and Datatables.
if you look in MSDN there is a way to assign the datasets and binding its property to datagrids. if you debug i am sure you will find easy. its just that for the first time you will find the code long and hard.
you will need to use Tablestyles to incorporate some column styles in your datagrid.
Paresh
- Software Architect
-
January 28th, 2004, 03:53 PM
#5
Originally posted by pareshgh
well DataGrid is easiest way to do that. If you are looking for easy solution then you can use ListView and Assign DataSource and bind the database DataSet !!
well Display member and value should work i suppose.
Paresh
Hi, I can't locate the DateSource property of the ListView. Do you know how to bind a DataSet to a ListView?
thanks!!!
Jim
I am scifi
-
January 28th, 2004, 10:23 PM
#6
ListView doesn't support datasource,
use datagrid instead !!
i would strongly suggest to use datagrid,
once you make it handy it is very easy to deploy.
follow the example on step by step creation in datagrid,
this example can be found on either on MSDN or with your
frameworksdk directory.
Paresh
- Software Architect
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|