Create a XML Schema (C#) using Visual Studio Express 2012

How do I add an XML schema to my xml file?
Here is my code:
private void WriteXmlToFile(DataSet dsDataSet)
if (dsDataSet == null) { return; }
// Create a file name to write to - creates a string
string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
// Create the FileStream to write with.
System.IO.FileStream stream = new System.IO.FileStream
(xmlfilename, System.IO.FileMode.Create);
// Create an XmlTextWriter with the fileStream.
System.Xml.XmlTextWriter xmlWriter =
new System.Xml.XmlTextWriter(stream,
System.Text.Encoding.Unicode);
// Write dsDataSet to the file with the WriteXml method.
dsDataSet.WriteXml(xmlWriter);
xmlWriter.Close();
And here is my xml:
<NewDataSet>
<Table1>
<Item_Code>A0001</Item_Code>
<Item_Description>Wheels, Horse on</Item_Description>
<Current_Count>5</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0002</Item_Code>
<Item_Description>Wheels, Elephant on</Item_Description>
<Current_Count>2</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0003</Item_Code>
<Item_Description>Wheels, Dog on</Item_Description>
<Current_Count>0</Current_Count>
<On_Order>Yes</On_Order>
</Table1>

Open the XML with NOTEPAD to see if you are getting the correct results. Something may be wrong with you CSV file.  Get original CSV that teacher gave out.  Here is my results and C# code.  The styling is the 2nd line and simply
requires changing the one line in the C# that outputs the line.
<?xml version="1.0" encoding="UTF-8"?>
<?xsl:stylesheet type='text/xsl' href='book.xsl'?>
<NewDataSet>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Table1">
<xs:complexType>
<xs:sequence>
<xs:element name="Item_Code" type="xs:string" minOccurs="0" />
<xs:element name="Item_Description" type="xs:string" minOccurs="0" />
<xs:element name="Current_Count" type="xs:int" minOccurs="0" />
<xs:element name="On_Order" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<Table1>
<Item_Code>A0001</Item_Code>
<Item_Description>Horse on Wheels</Item_Description>
<Current_Count>5</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0002</Item_Code>
<Item_Description>Elephant on Wheels</Item_Description>
<Current_Count>2</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0003</Item_Code>
<Item_Description>Dog on Wheels</Item_Description>
<Current_Count>0</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0004</Item_Code>
<Item_Description>Seal on Wheels</Item_Description>
<Current_Count>3</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0005</Item_Code>
<Item_Description>Bear on Wheels</Item_Description>
<Current_Count>7</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0006</Item_Code>
<Item_Description>Teddy Bear</Item_Description>
<Current_Count>2</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0007</Item_Code>
<Item_Description>Clown</Item_Description>
<Current_Count>5</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0008</Item_Code>
<Item_Description>Puppy(crouch)</Item_Description>
<Current_Count>3</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0009</Item_Code>
<Item_Description>Puppy(stand)</Item_Description>
<Current_Count>2</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0010</Item_Code>
<Item_Description>Puppy(jump)</Item_Description>
<Current_Count>2</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0011</Item_Code>
<Item_Description>Pupp(lying)</Item_Description>
<Current_Count>1</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0012</Item_Code>
<Item_Description>Cart with Blocks (50)</Item_Description>
<Current_Count>0</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0013</Item_Code>
<Item_Description>Cart with Blocks (100)</Item_Description>
<Current_Count>5</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0014</Item_Code>
<Item_Description>Cart with Blocks (200)</Item_Description>
<Current_Count>4</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0015</Item_Code>
<Item_Description>Train with 0 Carriage</Item_Description>
<Current_Count>12</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0016</Item_Code>
<Item_Description>Train with 1 Carriage</Item_Description>
<Current_Count>10</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0017</Item_Code>
<Item_Description>Train with 2 Carriage</Item_Description>
<Current_Count>5</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0018</Item_Code>
<Item_Description>Train with 3 Carriage</Item_Description>
<Current_Count>4</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0019</Item_Code>
<Item_Description>Train with 4 Carriage</Item_Description>
<Current_Count>5</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0020</Item_Code>
<Item_Description>Train with 5 Carriage</Item_Description>
<Current_Count>2</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0021</Item_Code>
<Item_Description>Building Blocks (20)</Item_Description>
<Current_Count>15</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0022</Item_Code>
<Item_Description>Building Blocks (30)</Item_Description>
<Current_Count>13</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0023</Item_Code>
<Item_Description>Building Blocks (40)</Item_Description>
<Current_Count>16</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0024</Item_Code>
<Item_Description>Building Blocks (50)</Item_Description>
<Current_Count>5</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0025</Item_Code>
<Item_Description>Building Blocks (100)</Item_Description>
<Current_Count>2</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0026</Item_Code>
<Item_Description>Building Blocks (200)</Item_Description>
<Current_Count>8</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0027</Item_Code>
<Item_Description>Windmill</Item_Description>
<Current_Count>5</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0028</Item_Code>
<Item_Description>Farmhouse</Item_Description>
<Current_Count>6</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0029</Item_Code>
<Item_Description>Fencing</Item_Description>
<Current_Count>22</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0030</Item_Code>
<Item_Description>Barn</Item_Description>
<Current_Count>12</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0031</Item_Code>
<Item_Description>Tractor</Item_Description>
<Current_Count>6</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0032</Item_Code>
<Item_Description>Animals</Item_Description>
<Current_Count>3</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0033</Item_Code>
<Item_Description>House</Item_Description>
<Current_Count>9</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0034</Item_Code>
<Item_Description>Car</Item_Description>
<Current_Count>12</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0035</Item_Code>
<Item_Description>Building (small)</Item_Description>
<Current_Count>4</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0036</Item_Code>
<Item_Description>Building (medium)</Item_Description>
<Current_Count>3</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0037</Item_Code>
<Item_Description>Building (tall)</Item_Description>
<Current_Count>4</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0038</Item_Code>
<Item_Description>Shop</Item_Description>
<Current_Count>7</Current_Count>
<On_Order>No</On_Order>
</Table1>
<Table1>
<Item_Code>A0039</Item_Code>
<Item_Description>Traffic Lights</Item_Description>
<Current_Count>5</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
<Table1>
<Item_Code>A0040</Item_Code>
<Item_Description>Petrol Station</Item_Description>
<Current_Count>4</Current_Count>
<On_Order>Yes</On_Order>
</Table1>
</NewDataSet>
C#
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Data.OleDb;
using System.Xml;
using System.Xml.Xsl;
namespace CSVImporter
public partial class CSVImporter : Form
//const string xmlfilename = @"C:\Users\fenwky\XmlDoc.xml";
const string xmlfilename = @"C:\temp\test.xml";
DataSet ds = null;
public CSVImporter()
InitializeComponent();
WriteXML();
public void WriteXML()
// Create a Open File Dialog Object.
openFileDialog1.Filter = "csv files (*.csv)|*.csv|All files (*.*)|*.*";
openFileDialog1.ShowDialog();
string fileName = openFileDialog1.FileName;
//doc.InsertBefore(xDeclare, root);
// Create a CSV Reader object.
CSVReader reader = new CSVReader();
ds = reader.ReadCSVFile(fileName, true);
dataGridView1.DataSource = ds.Tables["Table1"];
StringWriter stringWriter = new StringWriter();
ds.WriteXml(new XmlTextWriter(stringWriter), XmlWriteMode.WriteSchema);
string xmlStr = stringWriter.ToString();
XmlDocument doc = new XmlDocument();
doc.LoadXml(xmlStr);
XmlDeclaration xDeclare = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
XmlNode docNode = doc.CreateXmlDeclaration("1.0", "UTF-8", null);
doc.InsertBefore(xDeclare, doc.FirstChild);
// Create a procesing instruction.
XmlProcessingInstruction newPI;
String PItext = "type='text/xsl' href='book.xsl'";
newPI = doc.CreateProcessingInstruction("xsl:stylesheet", PItext);
doc.InsertAfter(newPI, doc.FirstChild);
doc.Save(xmlfilename);
XslCompiledTransform myXslTrans = new XslCompiledTransform();
myXslTrans.Load(xmlfilename);
string directoryPath = Path.GetDirectoryName(xmlfilename);
myXslTrans.Transform(xmlfilename, directoryPath + "result.html");
webBrowser1.Navigate(directoryPath + "result.html");
public class CSVReader
public DataSet ReadCSVFile(string fullPath, bool headerRow)
string path = fullPath.Substring(0, fullPath.LastIndexOf("\\") + 1);
string filename = fullPath.Substring(fullPath.LastIndexOf("\\") + 1);
DataSet ds = new DataSet();
try
if (File.Exists(fullPath))
string ConStr = string.Format("Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0}" + ";Extended Properties=\"Text;HDR={1};FMT=Delimited\\\"", path, headerRow ? "Yes" : "No");
string SQL = string.Format("SELECT * FROM {0}", filename);
OleDbDataAdapter adapter = new OleDbDataAdapter(SQL, ConStr);
adapter.Fill(ds, "TextFile");
ds.Tables[0].TableName = "Table1";
foreach (DataColumn col in ds.Tables["Table1"].Columns)
col.ColumnName = col.ColumnName.Replace(" ", "_");
catch (Exception ex)
MessageBox.Show(ex.Message);
return ds;
jdweng

Similar Messages

  • Create SharePoint 2013 hosted app using visual studio 2013

    i tried to create sharepoint hosted app, i just created a new project and try to deploy it but it failed every time with different error sometimes system account can't run the project, created another administrator and try to re deploy it so i had a new
    error that the visual studio project need a administration permissions and i already grant the administration permissions for the new user, any one can provide a complete tutorials on how we can create new hosted sharepoint app using visual studio 2013
    Mohamed Abdeen

    Hi,
    According to your post, my understanding is that you want to create SharePoint 2013 hosted app using visual studio 2013.
    Here are some great blogs for your reference:
    How to: Create a basic SharePoint-hosted app
    My First Sharepoint-Hosted App in 2013 - CodeProject
    Setting up your App domain for SharePoint 2013
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Create office app for word using visual studio 2013

    i tried to create an app for office using visual studio 2013 i just created one in task pane with all default settings and then deployed succesffully and i can't find the app in task pane in word office any ideas
    Mohamed Abdeen

    Hi Mohamed Abdeen,
    Please try to enable a build-in app for Office, such as "Bing dictionary" and check if the task pane pop-up.
    If the "Bing dictionary" works well, I suppose that this issue might be caused by itself. I recommend you post the question to Word for DEV forum:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=worddev&filter=alltypes%2Calllanguages&sort=lastpostdesc
    If all the apps can't be used, they might be blocked. Please go to File/option/trust center/trusted app catalogs/enable it.
    Reference:
    https://technet.microsoft.com/en-us/library/jj219429.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/library/office/jj220060.aspx?f=255&MSPPError=-2147217396
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Visual Studio Express 2012 & 2013 terms of use

    Is it allowed to use freely Visual Studio Express 2012 & 2013 in a company with one thousand workers and more?

    Hello Eensalu1991,
    Yes it is allowed for you to do that use Express version, please download MS Visual Studio White paper:
    http://www.microsoft.com/en-hk/download/confirmation.aspx?id=13350
    You will find the following:
    Visual Studio Express 2013 Products
    A number of free development tools are also available, including Visual Studio Express 2013 for Windows , Visual Studio Express 2013 for Web and Visual Studio Express 2013 for Windows Desktop. 
    These tools provide a subset of the functionality available in Visual Studio Professional 2012 and are specific to writing applications targeting these platforms. Each of these Visual Studio Express 2012 products is licensed per user and subject to the
    use terms included with the product.  Visual Studio Express can be used to build production applications.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How create Windows Services in Azure using Visual Studio 2012

    Hi,
    I have a need to write a Windows Service (Batch Job), which would execute everyday at a specified time, say 4:00AM. This job will do some processing and will send out an email to predefined users. I am using Visual Studio 2012 for the development.
    Based on some research, it looks like that Azure doesn't have a concept of Windows Service. Rather, we need to create WorkerRole to achieve the same.
    I wrote the code to implement the WorkerRole. The problem, I am facing is that
    1. How to prevent the continuous looping of the code below? I want the task to be executed only once a day at 4:00AM
    2. How do I schedule this functionality in Azure?
    Any help will be highly appreciated. I have provided the code sample below.
    Thanks.
       public class WorkerRole : RoleEntryPoint
            public override void Run()
                while (true)
                    SendNewsEmail();
                    Thread.Sleep(10000);
           private void SendNewsEmail()
                /*Email Logic Goes Here*/
            public override bool OnStart()
                // Set the maximum number of concurrent connections
                ServicePointManager.DefaultConnectionLimit = 12;
                return base.OnStart();

    HI
    I think JuneT's answer is what you want.
    However it's for Azure website.
    If you still want to use a workerRole, you need much harder work.
    You can use Timers Class to do such things:
    http://stick2basic.wordpress.com/2013/02/22/how-to-schedule-a-c-windows-service-to-run-a-method-daily/
    How do I schedule this functionality in Azure
    I suggest you save the settings file in a cloud table, and notify your webrole using WCF service to let the service get the new settings when your changed it.
    My Blog
    Please use Make as Answer if my post solved your problem and use
    Vote As Helpful if a post was useful.

  • Create SharePoint 2013 workflow using visual studio 2013

    Dear Team,
    How  to create a workflow for template approval process using visual studio 2013.To achieve this do i need to install share point on my machine.

    Hi,
    According to your post, my understanding is that you want to create a SharePoint 2013 workflow using Visual Studio 2013.
    We need setting up and configuring Microsoft SharePoint Server 2013 and the Workflow Manager Client 1.0 server, see Start:
    Set up and configure SharePoint 2013 Workflow Manager.
    The following materials for your reference:
    Develop SharePoint 2013 workflows using Visual Studio
    http://msdn.microsoft.com/en-us/library/office/jj163199(v=office.15).aspx
    How to: Create SharePoint 2013 Workflows using Visual Studio
    http://msdn.microsoft.com/en-us/library/office/dn584771(v=office.15).aspx
    Developing SharePoint 2013 workflows with Visual Studio demo
    http://www.bing.com/videos/watch/video/developing-sharepoint-2013-workflows-with-visual-studio-demo/10t0er5gh
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How do I create a view in SQL Server in Visual Studio Express 2013 for Desktop?

    Hi
    I've got a SQL Server database set up using the internal SQL Server in Visual Studio Express 2013 for Desktop. I want to create a view (using tables with one to many relationships) but I don't
    know how to do it.
    Where can I find a good tutorial on creating views in SQL Server in Visual Studio Express 2013 for Desktop? I think Visual Studio Express 2013 for Desktop doesn't have some view designer that
    exists in the non-express version of Visual Studio (if I'm not mistaken). So I think I'd need a tutorial on how to do the actual SQL, unless there is some tool I don't know about.
    Thanks

    Hi ,
    According to your description, if you install SQL Server SQL Server 2014 Express and SQL Server Manager Studio tools (SSMS), if you want to create a view, you can use SSMS. Then if you want to connect to and Diagram your SQL Express Database in Visual Studio
    2013, you can attach the database file by using the .NET Framework Data Provider for SQL Server in Visual Studio, and create a database diagram via expanding the “Database Diagrams” node.
     For more information, there is similar issue about how to connect to and Diagram your SQL Express Database in Visual Studio 2012 , you can review the following article,
    http://blogs.msdn.com/b/bethmassi/archive/2011/10/27/how-to-connect-to-and-diagram-your-sql-express-database-in-visual-studio-lightswitch.aspx.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Project server online workflow using visual studio

    hi sir,
    I am working on project online 2013(office 365).I have create a workflow with sharepoint designer also.but i have need to create workfow in project online using visual studio.please suggest me.and deploy as it wsp file.
    vijay

    Hello,
    you can start with SharePoint 2013 project and then add the Project server dlls. Then add the tabs to get the project server workflow history and tast list.
    follow this blog
    http://blogs.msdn.com/b/project_programmability/archive/2012/11/07/creating-project-workflows-using-visual-studio-2012.aspx
    It will help you to get started. Hope it helps.
    Please mark as answered if it helps.

  • Has any one worked on sharepoint 2013 workflows using visual studio.

    Has any one worked with sharepoint 3013 workflows using visual studio.

    Hi,
    To develop SharePoint 2013 workflow using Visual Studio, you can refer to:
    Develop SharePoint 2013 workflows using Visual Studio
    Create a SharePoint workflow app using Visual Studio 2012
    Get started with workflows in SharePoint 2013
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Biztalk Schema generator in Visual Studio - How to enable 'Well-Formed XML' ?

    Hello!
    I have installed Visual Studio 2010 and Biztalk on Windows 7. I create a new Biztalk-project in Visual STudio 2010. I choose 'Add new item' and then 'New generated schema'. Here I can choose 'Document
    type'. I choose 'Well-Formed XML (Not loaded)' and choose an input file.
    Now I get the message 'XFW to XSD schema generation module is not installed. Execute 'C:\Program files (X86)\Microsoft Biztalk Server 2010\SDK\Utilities\Schema Generator\InstallWFX.vbs to install the
    WFX to XSD schema generation module.'
    I try to execute that file and some text hastily appear on the console. I restart Visual Studio 2010, but it still doesn't work. Apparently the execution of the shell script didn't work. I try to restart
    the computer, but it still doesn't work.
    Could anyone tell me what to do?
    Thanks!
    Anders Branderud 

    Hi Steef-Jan!
    Thank you!
    Running it as administrator solved the problem.
    Anders
    Branderud 

  • How to create a three state approval workflow in SharePoint 2013 using visual studio 2013

    Hi Everyone,
    i have a requirement like 3 state to approve. Here is the details:- when the item added into the list it will go for reviewer. Once the reviewer review the item, he will assign the task to concern person/department(Parallel process more than two persons).
    Once they will approve the request again it will come back to reviewer and he will assign the task to team member(parallel process). Once the team member accepted then workflow terminate.
    i want develop this workflow using visual studio 2013 only, not using designer.. 
    Thanks in Advance.....
    Mallesh

    Hello,
    you can find multiple sample on the web like those
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    http://msdn.microsoft.com/en-us/library/ee231606.aspx
    I don't think that's very different using VS2013 or VS2012
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • Editing pages created using dreamweaver with microsoft's visual studio express

    Here's a quick, somewhat vague, question for anyone who might have an answer. Is there a trick to editing pages created using dreamweaver with Microsoft Visual Studio Express? The reason I ask is I recently finished a web site for my first client who now wants to make edits herself using the program she uses, that being Microsoft. I thought it would be as easy as pulling the html files from the server (or the usb flash drive i gave her), making changes and then putting them back to the server, but apparently she is having some problems. I'm meeting with her soon. I have no experience with any other programs, other than Adobe, so I don't know how much good I'll be in helping her. Maybe it's an easy question, maybe not. Any info appreciated. Thanks!

    David wrote -
    Dreamweaver template commands are all wrapped in HTML comments, so they
    shouldn't cause any problems. They should simply be treated as comments.
    However, the concept of editable and locked regions will be ignored.
    Hi David, I meant the templates with the dwt extension, not the html files that are created from them. The full version of VS will recognize the dwt extension as 'Dynamic Web Template' but as this is a microsoft extension it does not recognize the code for editing and shows a large number of errors, (before anyone comments the dwt file extension is used by a number of other programs, all referring to a different file type).
    PZ

  • Question about creating association between Sharepoint BDC entities using Visual Studio 2010

    I am following this tutorial:
    http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/08/02/walkthrough-of-creating-association-between-sharepoint-bdc-entities-using-visual-studio-2010.aspx
    I am getting the following error:
     There is an error in the TypeDescriptors of Parameters on Method with Name 'CustomerToOrder' on Entity (External Content Type) with Name 'Customer' in Namespace 'BdcAssociationSample.BdcModel1'. The TypeDescriptors incompletely define where the Foreign
    Identifiers of Entity 'Order' in Namespace 'BdcAssociationSample.BdcModel1' are to be read. That Entity expects exactly '1' Identifiers, but only '0' TypeDescriptors with the correct Association were found from which to read them.
    I have viewed the following:
    http://lightningtools.com/business_connectivity_services/the-typedescriptors-incompletely-define-where-the-identifiers-of-entity-x-are-to-be-readbcs-error/
    after reading that article, I am still not sure what setting I am missing.  Does anyone have the full working source code from the msdn article linked above?

    Hi,
    According to your post, my understanding is that you got the symbols not loaded error.
    First try rebuilding your project by right mouse click the project > Rebuild If that doesn't work, try a clean of the project (right mouse click on the project > clean)
    If that didn't work check this:
    Right mouse click your project
    select [Properties]
    select the [Build] tab
    make sure [Define DEBUG constant] and [Define TRACE constant] are checked
    Click the [Advanced] button at the bottom of the Build tabpage
    Make sure that [Debug Info:] is set to [full]
    Click [OK] and rebuild the project ;
    Hope that works for you! (step 6 generates the .pdb files, these are the debugging symbols)
    What’s more, you can clean & re-compile the code, then install the respective dlls one more time to GAC (just remove them before adding to GAC again), do an IISReset to check whether it works.
    More reference:
    http://stackoverflow.com/questions/2155930/fixing-the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-fo
    http://stackoverflow.com/questions/2301216/the-breakpoint-will-not-currently-be-hit-no-symbols-have-been-loaded-for-this-d
    http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • How I can use Visual Studio 2013 to create lists or libraries via remote?

    Hello guys,
    I use visual studio on my machine and try to create a list, but the sharepoint server is on another machine. It is possible to run a program on my computer and then create a list on the sharepoint server. If yes, how can I achieve this?
    Best regards
    Matthias

    You can create and manage lists and libraries using SharePoint Designer. To use Visual Studio you would have to create a SharePoint project, create a feature, define the list, etc. then create a Solution package and deploy that to the server. If you just
    want to manually add a list then use Designer.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • How to create demand management workflow using visual studio

    Hello all,
    I need to create demand management workflow (Project server 2013) using visual studio 2012. I need to understand how we can write code in it. Any references??

    Hi Shanila,
    Here are some of the articles you can use for designing workflows using Visual Studio.
    Getting started Project Server 2013 Workflows :
    http://msdn.microsoft.com/en-us/library/office/ee767694(v=office.15).aspx
    Using workflow for Demand Management:
    http://technet.microsoft.com/en-us/library/dn458861(v=office.15).aspx
    Creating Project Workflows using Visual studio 2012:
    http://blogs.msdn.com/b/project_programmability/archive/2012/11/07/creating-project-workflows-using-visual-studio-2012.aspx
    Thanks,
    Phani

Maybe you are looking for

  • Month View - always show next week, even if in next month

    Is there a way to always show the next week in Month view? i.e. I'd always like to see Next week, even if it's in the next month. e.g. June ends Saturday 30th, but I cannot see Next Week unless I skip to next month.

  • Error while activating BI Content infocube - 0IMFA_1(IM: Assigned Plan Bud)

    Dear All, While I am trying to activate the Business Content cube 0IMFA_1(IM: Assigned Plan Budget (Operative) ) with Collection Mode 'Automatic' and Grouping ' In dataflow bef and afterwords', I am getting the following error - " Object 0IMPLAN (Cur

  • A suggestion for wiki

    I see a lot of people asking "What's the best 'x' application?" (file manager, windows manager etc. more then 1 thread for 'x' app) and it would be nice if it there would be an option for users to rate the 'x' app  . So at the "Common apps" would be

  • How to work from an external drive?

    I understand from my research that I can save my Logic document (and its inclusive audio files) to an external hard drive and it will take some of the load off of the computer's internal drive, etc. I don't use loops much, but I also read that the lo

  • Solaris 10 PV-on-HVM drivers (SUNWxvmpv) not working with Xen 4.0.x

    I have an HVM Solaris 10 virtual machine guest (domU) running on Xen 4.0.1. I'd like to use a PV (paravirtualized) NIC instead of an emulated NIC, and I know Solaris 10 has pv-on-hvm drivers installed by default (SUNWxvmpv). I'm using Solaris 10 10/0