Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var el = Document.CreateElement(fieldTag);
- el.Id = fieldId;
- el.Name = fieldName;
- foreach(var attr in AttributesAndValues)
- {
- el.SetAttribute(attr.Key,attr.Value);
- }
- var body = Document.GetElementsByTagName("body")[0];
- body.AppendChild(el);
Add Comment
Please, Sign In to add comment