Hi,
I have a table with some duplicate records id but all columns have diffrent values. I wann to bind this table in gridview. All duplicate same id columns bind in one row of a gridview.
Plaese tell me
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nitin BhardwajPosted Mar 20, 2014, 3:04 AM
Munesh SharmaPosted Mar 20, 2014, 2:49 AM
http://www.mssqltips.com/sqlservertip/3148/sql-server-reporting-services-xml-data-source-and-data-set/
Nitin BhardwajPosted Mar 20, 2014, 2:37 AM
if yes then how?
Munesh SharmaPosted Mar 20, 2014, 2:16 AM
"select ID, Row _number() over (PARTITION BY ID order by ID) As ID from tablename"