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 |
Where is http session stored?
What is difference between URL and URI?
Which validator control you use if you need to make sure the values in two different controls matched?
What do you mean by caching in asp.net?
If there is submit button in a from tell us the sequence what happens if submit is clicked and in form action is specified as some other page ?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
If Asp Dot Application is stateless what happened? during designing
For Web services where you can browse on the Internet?
What is different authentication mechanisms used in ASP.NET?
Name some asp objects?
how can you handle "control is not part of this page " error?
what is view stat how it is use ?
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)