RelationShip Betweem dataset
-
Hi Guys Good Morning, I have 3 Dataset like this, First Dataset Records, Code Value 1010 68.876 7887 189.89 456 1880.76 1010 223.978 Second Dataset Record IV 7.88 Third Dataset Records, Code Name IndCode 1010 Name1 1 7887 Name5 2 456 Name8 3 Now thses 3 dataset merge and i need the final dataset like this..., Name finalValue Percent(finalvalue/IV) Name1 292.854 37.16 (Code-1010,Value-68.876+223.978) Name5 189.89 24.10 (code-7887,value-189.89) Name8 1880.76 238.68 (code-456,Value-1880.76) How to get the final dataset like this Thanks & Regards, Member 3879881, please don't forget to vote on the post
-
Hi Guys Good Morning, I have 3 Dataset like this, First Dataset Records, Code Value 1010 68.876 7887 189.89 456 1880.76 1010 223.978 Second Dataset Record IV 7.88 Third Dataset Records, Code Name IndCode 1010 Name1 1 7887 Name5 2 456 Name8 3 Now thses 3 dataset merge and i need the final dataset like this..., Name finalValue Percent(finalvalue/IV) Name1 292.854 37.16 (Code-1010,Value-68.876+223.978) Name5 189.89 24.10 (code-7887,value-189.89) Name8 1880.76 238.68 (code-456,Value-1880.76) How to get the final dataset like this Thanks & Regards, Member 3879881, please don't forget to vote on the post
I don't understand what you are trying to do but if you just require to achieve this, then follow these steps: Add a Table to the new DataSet. Add Columns to the Table. Assign these columns to the corresponding columns. Something like
NewDataSetObject.Tables[0].Columns[0] = DataSet1.Tables[0].Columns[0];
I would rather recommend you to explain your scenario and answer these questions: Where are these data coming from? Why have you taken one DataSet for 1 Table? Why are you creating another DataSet when you can assign a DataSet, containing these Tables, as a DataSource ?
..Go Green..