Guest User

Untitled

a guest
Aug 15th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. ASP.NET 4.0 HiddenFields
  2. HiddenField hidCurrentFooterLinks = (HiddenField)gvTaxonomy.FindControl("hidCurrentFooterLinks");
  3. hidCurrentFooterLinks.Value = txtFooterLinkCurrentYear.Text;
  4. HiddenField hidPreviousFooterLinks = (HiddenField)gvTaxonomy.FindControl("hidPreviousFooterLinks");
  5. hidPreviousFooterLinks.Value = txtFooterLinkPreviousYear.Text;
  6. txtFooterLinkCurrentYear.Text = "";
  7. txtFooterLinkPreviousYear.Text = "";
  8.  
  9. if ((hidCurrentFooterLinks != null) || (hidPreviousFooterLinks != null)) { // DO SOMETHING }
Add Comment
Please, Sign In to add comment