Asp .Net Interview Question and Answer | ADO .Net | Web Application | Session 03

21. List of Namespace in ADO.NET
Ans: 1.System.Data
        2.System.Data.Command
        3. System.Data.sqlclient
        4. System.Data.sqltype
        5. System.Data.oledb

22. What is the purpose of Connection pooling in ADO.NET?
Ans: Connection poling enables an application to use a connection from pool of connection that do not need to be re-established for each one.

23. What is the use of Command Object?
Ans: They are used to connect connection object to data reader or dataset.
       1.Execute Non Query
       2. Execute Scalar
       3. Exe Reader

23.What is Data View?
Ans: Data view provides a different views of data stored in Data Table. Data View can be used to Short, filter and  search the data in a data in data table.

24. How to create a Data View from data table?
Ans: Dataview dv =new Dataview(dtable)

25. What is Query String?
Ans: Query string used to retrieve the variable values into HTTP query string.
                     Or
If we want to Pass variables between pages, then we can use Query String.

26. What is request. Querystring?
Ans: Request.queryString returns a collection of name/values.

27. What is DataList Control?
Ans: Datalist Control is ,like Repeater control, used to display a repeated list of items .

28. What is Repeater Control?
Ans: The repeater controls are used to display a repeated list of items that are bound to the control.

29. What is Bound Field?
Ans: Bound Field is used to display  a databound data .

30. What is Template field?
Ans: Template field is a powerful container for displaying data in any format.


Previous Next


:: Click the links below for similar type Questions and answers ::

0 comments:

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes