Get XMlFormView WebPart
// Set the template location for new forms
String templateLib = "FormServerTemplates";
String xsnName = "template.xsn"; ->> form template Name
//Set xsnlocation location for formview
formView.XsnLocation = String.Format("{0}/{1}/{2}", SPContext.Current.Web.Url, templateLib, xsnName);
Ads by Google
No comments:
Post a Comment