Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the use of untyped data set ?

Answer Posted / m_dasharatham

An "untyped" dataset is an instance of the DataSet class
from the System.Data namespace. It’s called “untyped”
because all columns are provided as the base System.Object
type (“object” in C# and “Object” in VB.NET) and must be
coerced to the appropriate type, e.g.

void Form1_Load(object sender, EventArgs e) {
DataSet ds = new DataSet();
sqlDataAdapter1.Fill(ds);
foreach( DataRow row in ds.Tables[0].Rows ) {
string fname = (string)row["au_fname"];
bool contract = (bool)row["contract"];
string item =
string.Format("{0} has a contract: {1}", fname,
contract);
listBox1.Items.Add(item);
}
}

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is oauth for authentication or authorization?

985


What are the namespaces used in asp.net mvc? : asp.net mvc

1013


What is the use of web.config and machine.config files?

1093


How do you do client-side validation in .net? How to disable validator control by client side javascript?

962


We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?

1858


Can one dll file contains the compiled code of more than one .net language?

963


Explain about Multi-Language integration?

969


Explain the server control events of asp.net ?

946


Explain the concept of MVC Scaffolding?

970


What are web server controls in asp.net?

1042


Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?

993


How to use push notification?

993


Describe the sequence of action takes place on the server when ASP.NET application starts first time?

1078


What is asp net application object?

965


What is the life cycle of an asp.net page?

865