I have the following query to show the datas
Select
convert(varchar(10),SR.StockDate,103) as StockDate,SR.PartNo,
SR.Openingbalance,SR.Received,SR.Issued,SR.Balance,SR.Entrytype,A.MaterialName
from
StockRegister SR
join LEDProducts A
on SR.PartNo=A.PartNo
where
SR.LocationId='"+ ddl_Location.SelectedValue.ToString() + "' and A.AudioEntityId='"
+ ddl_CountrySR.SelectedValue.ToString() + "'
order by SR.Sno
it shows the following result
S Date Type ProductName PartNo OBalance Receipt Issues CBalance
1 26/07/2013 FTE P16 01110101 500 0 0 500
2 24/01/2014 EP P16 01110101 500 0 100 400
3 19/12/2013 FTE P7 01110102 1000 0 0 1000
i need to display as follows ProductName:p16
Date Type Receipt Issues Balance
26/07/2013 FTE 500 0 500
24/01/2013 EP 0 100 400
Closing Balance :400
Productname:P7
opening balance :1000
Date Type Receipt Issues Balance
26/07/2013 FTE 1000 0 1000
Closing Balance :1000
like that i want to show for all the products dynamically.
