Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public string Description {get; set;}
- <asp:Literal ID="txtDescription" runat="server" Text='<%# Description %>' />
- public string Description
- {
- get { return txtDescription.Text ; }
- set { txtDescription.Text = value; }
- }
- <asp:Literal ID="txtDescription" runat="server" />
- Text='<%# ((fn_SearchReminders)Container.DataItem).dtDateActivation.Value.ToString("yyyy-MM-dd - hh:mm") %>'
- string iSomeView.Description
- {
- get { return txtDescription.Text ; }
- set { txtDescription.Text = value; }
- }
- Person iSomeView.Person
- {
- get { return new Person { Name = txtName.Text, Phone = txtPhone.Text }; }
- set { txtName = value.Name; txtPhone.Text = value.Phone; }
- }
- private void SetFormFields(Employee emp){
- lblName.Text = emp.Name;
- txtDateOfBirth.Text = emp.BirthDate.ToShortDateString();
- }
Add Comment
Please, Sign In to add comment