Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



What property must you set, and what method must you call in your code, in order to bind the data f..

Answer / ish

SqlConnection cn=new SqlConnection(ConnectionString);
SqlCommand cmd=new SqlCommand(cn,Query);

cn.Open();
SqlDataReader Reader=cmd.ExecuteReader();

Is This Answer Correct ?    2 Yes 1 No

What property must you set, and what method must you call in your code, in order to bind the data f..

Answer / ish

That is for reader not repeater

Is This Answer Correct ?    1 Yes 0 No

What property must you set, and what method must you call in your code, in order to bind the data f..

Answer / sunayana

You must set the DataSource property and call the DataBind
method.

Is This Answer Correct ?    1 Yes 1 No

What property must you set, and what method must you call in your code, in order to bind the data f..

Answer / 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

More ASP.NET Interview Questions

How do you implement sql caching in asp.net?

0 Answers  


In what order do the events of an ASPX page execute, As a developer is it important to understand these events?

4 Answers  


What is .NetFramework?

1 Answers   Syntel,


What is custom attribute?

0 Answers  


Difference between asp and asp.net ?

4 Answers   Accenture, BirlaSoft, TCS,


What are session state modes? List some of the important session state modes of asp.net.

0 Answers  


Please briefly explain the usage of global.asax?

0 Answers  


What is the default Orientation property in a Menu control?

0 Answers   Sans Pareil IT Services,


with which controls you worked in Asp.net 2.0?

2 Answers   HP, nTech Solutions,


What is a web api endpoint?

0 Answers  


How can we read a columnised text data in ASP.Net C#? Columnised means my data is stored in a text file and I have numeric data or string data in this file. For ex. If I am searching for the data of gender and I know that gender data is stored at column 32 in text file. How can I get this data in ASP.Net page. Thanks for help in advance.

2 Answers  


How can I open ashx file in mobile?

0 Answers  


Categories