forum

Home / DeveloperSection / Forums / I have two stored procedures summary1 and summary 2 and get the stored procedures data into two different data table dt1 and dt2 in c#

I have two stored procedures summary1 and summary 2 and get the stored procedures data into two different data table dt1 and dt2 in c#

Royce Roy155803-May-2013
Hi Expert!

I want to get data in third data table dt3 in particular format like

if dt1 table are as --

name |   m1 |   m2   |   m3   |
abc  |   12 |   4    |   8    |
dcd  |   1  |   5    |   7    | 
dt 2 table data are as -

name |   m1 |   m2   |   m3   |
abc  |   5  |   5    |   5    |
dcd  |   5  |   5    |   5    | 
both data table have same number of columns with same column name .

i want result in dt3 in this format

name |   m1     |   m2   |   m3   |
abc  |   12/5   |   4/5  |   8/5  |
dcd  |   1/5    |   5/5  |   7/5  |
and bind data table dt3 data to a gridview.

Thanks in advance.


Updated on 03-May-2013

Can you answer this question?


Answer

1 Answers

Liked By