Click here to Skip to main content
12,547,922 members (48,172 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET
how to show dynamic data in form layout in edit mode. with two headers(Super header and sub Header)e.g.
 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 30-Jan-13 20:30pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hi Wasim,

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

Wasim1989 31-Jan-13 3:00am

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161021.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100