Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Online Members
baskar
More...
Forums
»
.NET
»
ASP.NET
»
I need logic for the below question with proper explanation
Posted Date:
15 Jul 2012
Posted By::
naresh
Member Level:
Silver
Member Rank:
602
Points
: 5
Responses:
1
I have a table : employee
Employee
---------
eno ename sal
1 nani 100
2 mani 200
3 sweths 150
4 sailu 050
5 lux 120
6 pavani 030
I need the above data in the following format in grid view
" The first row value in table data should display in first row first cell of grid view",
" The second row value in table data should display in first row second cell of grid view",
" The third row value in table data should display in first row third cell of grid view",
" The fourth row value in table data should display in second row first cell of grid view",
" The fifth row value in table data should display in second row second cell of grid view",
" The sixth row value in table data should display in second row third cell of grid view",
Tweet
Responses
#680414 Author:
Mahesh Durgam
Member Level:
Gold
Member Rank:
137
Date: 15/Jul/2012 Rating:
Points
: 4
Hi,
Your question is not clear
You are telling
" The first row value in table data should display in first row first cell of grid view"
But your first row in table contains 3 columns (eno,ename,sal), you mean to say you want all 3 columns should show in first cell of grid ?
and Similarly the others
If so, then you have to do programmatically on RowDataBound of grid. The way you want to display. Else you can go with datalist, which can be customized as per your requirement.
Thanks,
Mahesh
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
Showing error "There is no row at position 0"
Previous :
Extra time while loading image
Return to Discussion Forum
Post New Message
Category:
Related Messages
Validation Controls
no of click on advertisement in asp.net application
Please Please help.................. tooo urgent
Please tell me .Net interview Questions for 2+ Years Exp
To upload Documents like(doc,pdf,etc) to file system
Active Members
Today
Pawan Awasthi
(46)
naveensanagase...
(21)
Kapil
(13)
Last 7 Days
naveensanagase...
(224)
Pawan Awasthi
(190)
Naved Hasan ...
(189)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John