What property must you set, and what method must you call in
your code, in order to bind the data from some data source
to the Repeater control?

Answer Posted / sulochana singh

Set the DataMember property to the name of the table to bind to. (If this property is not set, by default the first table in the dataset is used.)
DataBind method, use this method to bind data from a source to a server control. This method is commonly used after retrieving a data set through a database query.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

775


Explain how is a property designated as read-only?

756


Which dll handles the request of .aspx page?

740


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

6182


What is the default authentication mode for asp.net?

779


What is in a session cookie?

706


What is the use of session?

697


What are the different types of sessions in asp.net?

679


List of words of preprocessor in .net?

699


how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

1863


Explain the difference between asp & asp.net.

732


What is web api and why to use it?

757


Explain the advantages of asp.net.

723


What parameters can you pass in the url of the api? Can get and post use the same url?

741


What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?

846