Click here to Skip to main content
Rate this: bad
good
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
good
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.
 

Cheers,
Edo
  Permalink  
v2
Comments
Wasim1989 at 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)



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