Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
Jean Paul
satyapriyanayak
Narayanan
Karthikeyan Anbarasan
JQuery Developer
Home
>>
Interview Question
>>
ADO.Net
>>
Post New Question
Subscribe to Interview Questions
How can you clear a Data from all the table in the dataset?
Posted By :
Narayanan
Posted Date :
January 14, 2012
Points :
40
Category :
ADO.Net
using Dataset.Clear() method you can clear all the data from DataSet
You can also find related Interview Question to
How can you clear a Data from all the table in the dataset?
below:
What is the difference between Data Reader & Dataset?
Data Reader is connected datasource, read only, forward only record set.
Dataset is disconnected datatsource resides in memory database that can store multiple tables, relations and constraints;
(More...)
You are working with a DataSet and want to be able to display data, sorted different ways. How do you do so?
Select the correct answer.
1. Use the Sort method on the DataTable object.
2. Use the DataSet object's Sort method.
3. Use a DataView object for each sort.
4. Create a DataTable for each sort, using the DataTable object's Copy method, and then Sort the result
Correct Answer is :
3. Use a DataView object for each sort.
(More...)
Explain the steps involved to populate dataset with data?
Open connection.;
Initialize Adapter passing SQL and connection as parameter.;
Initialize Dataset.;
Call Fill method of the adapter passes dataset as the parameter.;
Close connection.;
(More...)
Can I have data from two different sources into a single dataset?
Yes, it is possible.
(More...)
Is it possible to have tables in the dataset that are not bound to any data source?
Yes, I can create table object in code and add it to the dataset.
(More...)
Which method do you invoke on the DataAdapter control to load your generated
dataset with data?
System.Data.Common.DataAdapter.Fill(System.Data.DataSet);
(More...)
How to fill DataSet with data?
To fill DataSet with data we have to use Fill() method of DataAdapter object.
Fill() has several overloads. But the simple one is
[CODE]Fill(DataSet, DataTable)[/CODE]
The first parameter will take the name of the dataset to be filled and the second parameter specifies the name of the DataTable in the DataSet which will contain the data.
(More...)
How To move data from one table To Another table in sql server?
insert into Table2 select * from Table1
(More...)
In How many ways Data can be Export from Sql Table to Excel Sheet?
Some of these options include
1) Data Transformation Services (DTS),
2) SQL Server Integration Services (SSIS)
3) Bulk Copy (BCP)
4)OPENROWSET()
(More...)
i have 3 aspx pages: page1.aspx, page2.aspx, page3.aspx. i have one Database table Employee (Empname, Age, EmpId, mobile, Country) with 1000 records inserted. now i want to retrieve the records in page1.aspx only once and i should use this data between the 3 pages without using Session variable. How to achieve this ?
need help on this question
(More...)
Quick Links For Interview Questions Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
Silverlight
OOPs
JQuery
JavaScript/VBScript
Biztalk
Patten/Practices
.IIS
WCF
WPF
WWF
Networking
Aptitude
Others
All
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
Interview Question
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend