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
What permissions do asp.net applications posses by default?
What is the difference between Session and response.Redirect?
What is the maximum amount of memory any single process on windows can address?
What is server side session management?
What is asp.net ajax?
Explain the difference between the web config and machine config.
What is the usage of DelegatingHandler?
Can you explain one critical mapping? Performance issue which one is better?
What is autopost?
Which is better viewstate or session?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
How many types of Cookies are available in ASP.NET?
What are the different types of proxy patterns?
What is the difference between typeof() vs gettype()?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC