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 |
Which platform does Microsoft .NET use for exchanging data between applications?
Less than one page, how many windows will you be able to maintain?
Is it possible to write code in many languages in one asp.net project?
Where can I get the details on migration of existing projects using various technologies to asp.net?
What is versioning in .NET?
1 Answers Syntax Softtech, Wipro,
What are navigation controls? How many navigation controls are there in ASP.NET 4.0?
what is profiles in asp.net
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
What is state management in asp.net and define Client-side state management and Server-side state management?
What parameters can you pass in the url of the api? Can get and post use the same url?
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
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)