Code:
public void ExportAsXMLtoXLS(DataTable dt)
{
System.Data.DataTable dt = GetData();
dt.TableName = "Employees";
dt.WriteXml(Server.MapPath(".")+ @"\GenerateData.xls", XmlWriteMode.IgnoreSchema);
Response.Redirect("GenerateData.xls");
}
Sharing real-world experiences about C#, Dynamics CRM, Dynamics 365, Dynamics NAV/Business Central, SharePoint,PowerBI,ASP.net and more...
public void ExportAsXMLtoXLS(DataTable dt)
{
System.Data.DataTable dt = GetData();
dt.TableName = "Employees";
dt.WriteXml(Server.MapPath(".")+ @"\GenerateData.xls", XmlWriteMode.IgnoreSchema);
Response.Redirect("GenerateData.xls");
}
Exception: Method 'StartWorkflowOnListItem' in type 'Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider'...
No comments:
Post a Comment