ADO.Net - how to get data from database and bind to the
controls -- write this small code
Answer Posted / alb.shah
Creating a Database Connection at Run Time
Create the data connection object.
Create a data adapter object.
Create a data set object.
Invoke methods on the adapter object to fill or update the
data set.
Use data binding or another technique to display the data
from the data set.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How can you register a custom server control to a web page?
How can we identify that the Page is Post Back?
What does the hotspot class in .net do?
What is the advantage of mvc over asp.net? : Asp.Net MVC
How can we identify that the page is post back in asp net?
Differentiate between early binding and late binding.
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
What is an example of an application service provider?
where can i gather the materials for MCP certification
How will you maintain versioning in asp.net 2.0?
Web API supports which protocol?
How does session work in asp net?
Which asp.net objects encapsulate the state of the client and the browser?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
Explain what are the advantages of asp.net mvc framework? : asp.net mvc