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 is jade template engine?
What is class and object in asp.net?
Is LINQ performance wise better or using sqlcommand?
In Code-Behind class which kind of code (server or client) is found ?
What is view state management in asp net?
Explain how cookies work.
Is viewstate secure?
What is asp net_sessionid?
What are the parts of an http response?
How do I use response redirect?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
What is master page in dtp?
Is asp.net outdated?
how to transfer the file from client to server using asp.net