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
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 |
Answer / sunayana
You must set the DataSource property and call the DataBind
method.
| Is This Answer Correct ? | 1 Yes | 1 No |
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 |
Name the namespace which is used by ado.net?
Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc
When Garbage Collector runs in an Application? 1)Application is running form more than 30 min. 2)On every 1/4th milisecond 3) Randomly 4) Application is running on low of memory
Define ViewState and how can it be used?
With out Web.config can we executes the application?
What are Http handler ?
6 Answers Accenture, BirlaSoft, Satyam, Syntel,
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
What is the relationship between IIS and ASP.NET in the generation of dynamic Web sites?
Which is faster viewbag or viewdata?
How do you implement postback with a text box?
About the Usage of htmlencode and urlencode ?
What is the difference between mechine.config and web.config?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)