Click here to Skip to main content
16,020,974 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a database

c1 c2 c3 c4
1 2 3 abc
1 2 3 efg
3 3 4 fgh


when trying to retrive output as

1 2 3 abc
efg
3 3 4 fgh

when sriting the code


If e.Row.RowType = DataControlRowType.DataRow Then

Dim sqlStr As String

mystringdept = CType(e.Row.FindControl("c2"), Label).Text


not getting out put

please help
Posted

Suggest you use a datalist which has grids

see this post
http://saudkhansblog.blogspot.in/2011/03/run-query-on-dataset.html[^]
 
Share this answer
 

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