i tried
datamerge
but output Should be like this
...
User Profile
Collapse
-
No dude actually
it was given as intreview question
but i failed to do that
i tried many times
used datarelation
datamerge
etc
but couldnt able to get the answer
so asking for help
now i dont want others to face same problem and loose opertunity
so asking your assitanceLeave a comment:
-
C# program to merge two Dynamic Data Tables
cr8 2 datatables into one dataset DYNAMICALLY (no backend database used like sql,etc.,) with following columns
1st datatable with columns
studentNo studentName Deptno
2nd datatable with columns
Deptno DeptName DeptAddress
add data to both the tables Dynamically
and merge these tables into one table and display it in Grid view
as
studentNo studentName Deptno DeptName... -
im not using any database im just generating random database with in Dataset
so i cant use SQL
its actually logical one not related with database
-- santoshLeave a comment:
-
First table in above is having
for first 4 records theer is Gap for Dname Daddress
and remaining next records there is Gap for
Sid SName
i want them to be mearged as one unitLeave a comment:
-
Out put using merge is like this
but i want it to be like thisCode:Sid SName Dno Dname Daddress 1 sam 1 2 ram 1 3 amir 2 4 rama 1 . 1 IT hyd . 1 IT Banglore . 2 IT hyd
...Code:Sid SName Dno Dname Daddress
Leave a comment:
-
Yah i looked
but problem is still there while merging two tables
it is displaying output some how like this
<br>
Sid SName Dno Dname Daddress
<br>
1 sam 1 <br>
2 ram 1 <br>
<br>
3 amir 2 <br>
4 rama 1 <br>
. 1 IT hyd <br>...Leave a comment:
-
iam developing windows application
(desktop application ) i need DataGridViewLeave a comment:
-
this code is actually for windows programming
button5_Click is code for creating 2 Data Tables Getting input from TextBoxes to Set column names Dynamically
button1_Click is for adding Data to the First table from text boxes as input
button2_Click is for adding data to second table from text boixes as input
button3_Click is for binding those data to DATA GRID VIEW
okayif...Leave a comment:
-
How to Merge 2 random datatables into one and display it in gridview
Hi friends i can any one help me merging 2 random tables into one and displaying in gridview
for example
table 1
Sid SName Dno
and
table 2
Dno Dname Daddress
i want to Merge & display these 2 tables as one table in datagridview as following
Sid SName Dno Dname Daddress
please Help me
the program which i wrote till is like this...Last edited by Frinavale; Oct 2 '09, 02:53 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags (and removed other HTML that shouldn't have been there)
No activity results to display
Show More
Leave a comment: