Question:You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.
You create a FormView control to access the results of a query.
The query contains the following fields:
EmployeID
FirstName
LastName
The user must be able to view and update the FirstName field.
You need to define the control definition for the FirstName field in the FormView control.
Which code fragment should you use?
A <asp:TextBox ID="EditFirstNameTextBox" RunAt="Server"
Text="<%# Bind("FirstName") %>" />
B <asp:TextBox ID="EditFirstNameTextBox" RunAt="Server"
Text="<%# Eval("FirstName") %>" />
C <asp:TextBox ID="EditFirstNameTextBox" RunAt="Server"
Text='<%# Bind("FirstName") %>' />
D <asp:TextBox ID="EditFirstNameTextBox" RunAt="Server"
Text='<%# Eval("FirstName") %>' />