|
-
Dec 26th, 2006, 06:53 AM
#1
Thread Starter
Lively Member
-
Dec 26th, 2006, 07:21 AM
#2
Re: Day displayed Reverse in Grid
I for one am not interested in downloading a Word doc. Whatever we need to know you should post.
If you want to display data in a DataGridView in a particular order then you should set the Sort property of the BindingSource it's bound to such that the data is in that order, e.g. "ID ASC" or "ID DESC" to sort in ascending or descending order by ID.
-
Dec 26th, 2006, 09:19 AM
#3
Thread Starter
Lively Member
Re: Day displayed Reverse in Grid
Thanks for the reply
Its not to display in sort order. its to display the content in Vertical order.
Thanks and Regards
Vinay Kumar
-
Dec 26th, 2006, 06:28 PM
#4
Frenzied Member
Re: Day displayed Reverse in Grid
kumar:
I'm not sure we are understanding you.
You stated: "i want to develop a grid with contents and vertically it should display in reverse order as follows" but the you didn't give any example.
I looked at your Word Doc and all it is, is a copy of a section from MSDN about:Introduction to the Windows Forms DataGrid Control.
I am thinking what you mean may be that instead of having the headings of the DataGrid run across the top of the DataGrid like:
CustID CustName Current you want the heading on the side like:
CustID
CustName
Current and then it would repeat:
CustId
CustName
Current or, since you say "reverse" maybe you mean
to "reverse" the order across the top, like:
Current CustName CustID
If you can explain what you want to do a little more, maybe someone here can help you.
Good Luck
-
Dec 27th, 2006, 03:01 AM
#5
Thread Starter
Lively Member
Re: Day displayed Reverse in Grid
Hai thanks for the reply
i added a doc with grid . in that one the day record i.e Monday ,Tuesday ...
should be displayed in the order as shown in doc. As vertical text
Waiting for the reply
Thanks and Regards
Vinay Kumar
-
Dec 28th, 2006, 01:26 AM
#6
Frenzied Member
Re: Day displayed Reverse in Grid
kumar:
OK, I took a look at your doc file and it appears that what you want is to have the headings of the grid run down the side of the grid instead of across the top.
I don't think that there is any way you can make that happen using the datagrid control. Perhaps someone else can tell you, but I really don't think it is possible.
You could write your own control, but that is quite involved.
I think I would make my own grid using labels and textboxes and try that and see how it turns out.
Sorry I didn't have an answer for you.
Good Luck
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
|