Click here to Skip to main content
15,905,612 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting the issue that my data set has got multiple rows as its result and when i am showing that in the table fields ,i get only the first row's data in all the rows .i.e. that is some how over lapping rows.

can any one help me with this issue?
Posted
Comments
Christian Graus 20-Jul-10 3:10am    
Is this ASP.NET, or Winforms ? What have you done to fix the display ?
OriginalGriff 20-Jul-10 3:49am    
Show use a code fragment: How you are filling the DataSet, and how you bind it to the table.

1 solution

i get only the first row's data in all the rows .i.e. that is some how over lapping rows

It's not overlapping. It just sounds like instead of using the field of dataset in your table, you are using the first element for display.

For ex:
You must be doing...
First(SomeField.Value, "MyDataSet") OR First(SomeField.Value)

Instead, you should map the dataset to the table and use SomeField.Value directly in the column for display.
 
Share this answer
 
Comments
sameera zulfiqar 22-Jul-10 1:57am    
thanks i was doing this mistake ;now ,its sorted out

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900