Click here to Skip to main content
15,900,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I return data from two table and set in two datatable as following and how it does collect data from two datatable and set in one :

C#
DataTable gg = new DataTable();
DataTable kk = new DataTable();
gg=ff.select_ghesting_whith_where_coloumn_pay_and_dont_pay(code_m_buyer.Text,comboBox2.Text);
 
kk= ff.select_tasive_befor_moed(code_m_buyer.Text, comboBox2.Text);
Posted
Updated 9-Apr-15 1:41am
v2
Comments
Maciej Los 9-Apr-15 14:00pm    
What you mean by "combine data from two datatable"?

 
Share this answer
 
 
Share this answer
 
v3
Comments
bernova 9-Apr-15 7:50am    
Thanks , but i want to combine two datatable in one and set in one datagridview!!
Ainy Mughal 9-Apr-15 8:01am    
try this
http://www.c-sharpcorner.com/UploadFile/0c1bb2/merging-multiple-datatables-into-single-datatable-using-asp/
bernova 9-Apr-15 9:06am    
the one of cell type is combobox. so whene merging , don't show any thing

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900