how can we display records in single datagrid using two
datasets in different place?
Answer Posted / nitin jadav
OracleConnection cn = new OracleConnection("user
id=scott;password=tiger;data source=ganesh1");
OracleDataAdapter da1 = new
OracleDataAdapter("select * from table1", cn);
DataSet ds = new DataSet();
da1.Fill(ds, "temp");
OracleDataAdapter da2 = new
OracleDataAdapter("select * from table2", cn);
DataSet ds1 = new DataSet();
da2.Fill(ds1, "temp");
ds.Merge(ds1);
dataGridView1.DataSource = ds.Tables[0].DefaultView;
label1.Text = ds.Tables[0].Rows.Count.ToString();
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does it mean your session has timed out?
What are the various session state management options provided by asp.net?
What is different in .net 1.1 and .net 2.0?
How to retrieve user name in case of Window Authentication?
Explain the use of fragment caching.
What is the use of express session?
What does mean by a neutral culture?
When does a session actually start?
What are the server controls in asp.net?
Explain exception filters?
Give an example of cookie abuse.
How do you secure your connection string information?
Where the assembly is stored in asp.net?
What r the asp.net list controls and difference between them?
List the major built-in objects in asp.net?