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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between server control and html control.

687


What is asp.net mvc5? : Asp.Net MVC

758


What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?

722


What is in a session cookie?

706


What is advantage of asp.net?

729


Explain code snippet to register exception filters from controller?

809


How about the security in Activex DLL and Activex EXE ?

2011


What is asp according to you?

731


What is Web API?

829


What is cache in asp net?

724


Explain one critical mapping?

771


What are the events that happen when a client requests an asp.net page from iis server?

682


What is asp.net web pages?

703


What are sessions in asp net?

732


What is difference between asp state management and asp.net state management?

795