Click here to Skip to main content
15,885,771 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
how to show dynamic data in form layout in edit mode. with two headers(Super header and sub Header)e.g.
HTML
 Subject // subject is main header (Subject)
ex1 |ex2 // ex1 and ex2 sub header(no of exams of particular subject)
25  |26  // 25 and 26 is marks in edit mode.


ex1 and ex2 come from database at runtime.
so is there any way to achieve this format
Posted

1 solution

Hi Wasim,

You can use the SQL query to concat both fields into one.
In your example: "ex1" and "ex2" will become --> "ex1 | ex2"
SQL
SELECT tbl.field1 + ' | ' + tbl.field2 AS result

Should get you there.


Cheers,
Edo
 
Share this answer
 
v2
Comments
Wasim1989 31-Jan-13 3:00am    
Thanx

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