Reply
datagrid help needed please
Old 10-11-2007, 08:49 PM datagrid help needed please
Skilled Talker

Posts: 65
i had implemented a datagrid and load some information from the sql into it.
can i sort the row in the datagrid based on the one of the cells in the datagird?
let say in example the datagrid i had three column/cells. now can i sort the row based on the information of cell 2? when i click the header? the data in the cell 2 is executed based on data form the first sql query therefore it does not belong to the first query. currently the header i use is <asp:boundcolumn> but this only works for the first query once triggered data but not for the data in cell 2.
What should i do to sort the row in the datagrid based on the cell 2 data header?

please help me
thanks
leolim is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 10-12-2007, 07:50 PM Re: datagrid help needed please
ara
Super Talker

Posts: 133
Name: Kristofer
are you using the standard asp:datagrid?
ara is offline
Reply With Quote
View Public Profile Visit ara's homepage!
 
Old 10-15-2007, 08:06 PM Re: datagrid help needed please
Skilled Talker

Posts: 65
basically i am using the standard datagrid. any solution for my problem?
leolim is offline
Reply With Quote
View Public Profile
 
Old 11-19-2007, 10:17 PM Re: datagrid help needed please
Novice Talker

Posts: 7
Paste your code here . You can achieve this using ItemDatabound event

Quote:
Originally Posted by leolim View Post
basically i am using the standard datagrid. any solution for my problem?
webspinner is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to datagrid help needed please
 

Thread Tools

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13494 seconds with 13 queries