Coder Social home page Coder Social logo

merzak-x / simplexml Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 4.0 29.94 MB

SimpleXML is a simple, easy to use Simple non complex XML, XLSX, XLS & CSV Documents manipulation program.

License: GNU Affero General Public License v3.0

C# 100.00%
xml xml-reader xml-editor simple-xml xlsx-workbook xlsx-export xlsxreader csv-import csv-export csv-reader

simplexml's Introduction

SimpleXML

SimpleXML is a simple, easy to use Simple non complex XML, XLSX, XLS & CSV Documents manipulation program.

SimpleXML-GUI

A simple XML, XLSX, XLS & CSV Documents & database tables reader that displays the result to a table DataGridView, allowing the user to easily manipulate the simple Document and export it to either one of those file formats or to an existing database table.

Screenshots

SimpleXML

Currently supported DBMS : Microsoft SQL Server

Future support : Oracle Database

MERZAK-X

simplexml's People

Contributors

merzak-x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simplexml's Issues

Save new XML Doc

Change !readOnly.Checked || !newXmlDoc to !readOnly.Checked && !newXmlDoc in XML-GUI.cs@80

Copy/Paste Keys

Add copy/paste support for rows & cells based on user preferences under edit.

NewTable Dialog

NewTable Dialog should have a fixed size, and unable to be resized.

Close Form

Closing Form without closing its child

Open Document MessageBox

When opening an invalid XML Document, the MessageBox displays the XmlGUI_DragDrop_wrongXmlExt_msg &! XmlGUI_Open_wrongXmlExt_msg.

@Yassine-Ag TODO List

@Yassine-Ag your TODO list here:

  • Add function to test the SQL Connection
  • Test and finish the XML2DB->export2DB() / XML2DB->importDB() / XML-GUI->Conn-DB
    (Which is just a basic display of the DB table contents to the DataGridView)
  • Redesign the UI @MERZAK-X did
  • Handel Exceptions
  • A Database connection Form (that returns DataSet through a public member function) that opens a new XML-GUI Form using a new Constructor XmlGUI(DataSet ds)

Please be aware that although I tried using Windows10 with a bootable USB Drive, I wasn't able to install MS-SQL server and its components, this is why I opened #2

Entity name transmission

New table generates ExceptionBuilder.CanNotSerializeDataTableWithEmptyName when saving, caused by entityName@NewTable::class@:58, value not passed properly.

Close child forms

Child forms OwnedForms shall be closed and not disposed if parent form closes.

Export PK Violation

Exporting a table that has existing database primary keys, throws a PK violation SQLException.

Escaping Strings

Use SecurityElement.Escape(str) instead of Regex.Escape(str).

Dialog Forms

Open Dialog forms as form.ShowDialog(parent), and not as independent Threads.

Edit cell

Add an Insert mode under edit to allow the user to edit a cell when selected.

Save file

Saving files after #47, could cause file corruption for CSV and XLSX sometimes.

Export empty table

Disallow exporting an empty table under File->Export->toDB@Main, by checking its columns/rows.

Save XML file

Add possibility to either save (to the current open file) or export the XML document

Add new file

Add the ability of creating a new file from scratch

Add icons

Add icons to /lib for the title bar and exe

Current XML Document

Update the current XML Document path currentOpenXmlPath after exporting a document

Message Boxes

Add icons to MessageBox using , MessageBoxIcon.TYPE

Entity name in generated XML

The generated xml document contains data as following, the <XmlDocument> tag should be replaced with the name of the objects inside the document.

<?xml version="1.0" standalone="yes"?>
<DocumentElement>
-  <XmlDocument>
    <id>1</id>
    <name>TEST</name>
-  </XmlDocument>
<?xml version="1.0" standalone="yes"?>
<DocumentElement>
+ <user>
    <id>1</id>
    <name>TEST</name>
+ </user>
</DocumentElement>

Thread fileDialog.ShowDialog()

fileDialog.ShowDialog() in exportXml()@XML-GUI.cs causes :
System.Threading.ThreadStateException <- System.Windows.Forms.FileDialog.RunDialog

Add menu bar

Add File[New, Open, Save, Export[XML, CSV, DB], Exit], Edit[[x]Read Only] & Help[Info]

Search bar

Add search bar to search for a value in the data table.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.