Initial commit

This commit is contained in:
ashishkamat
2026-06-27 22:32:20 +05:30
commit 02582c9dfc
82 changed files with 101585 additions and 0 deletions
Binary file not shown.
+25
View File
@@ -0,0 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.1758
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TallyDataTool", "TallyDataTool\TallyDataTool.csproj", "{1418A45B-F02B-461A-9DEA-336600E79F87}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1418A45B-F02B-461A-9DEA-336600E79F87}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1418A45B-F02B-461A-9DEA-336600E79F87}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1418A45B-F02B-461A-9DEA-336600E79F87}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1418A45B-F02B-461A-9DEA-336600E79F87}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {CF49029B-0C88-4BCD-9CFC-7F9E4C1F1E77}
EndGlobalSection
EndGlobal
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
+262
View File
@@ -0,0 +1,262 @@
namespace TallyDataTool
{
partial class FrmMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label6 = new System.Windows.Forms.Label();
this.dtpToDate = new System.Windows.Forms.DateTimePicker();
this.label5 = new System.Windows.Forms.Label();
this.dtpFromDate = new System.Windows.Forms.DateTimePicker();
this.txtTallyPort = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.btnClose = new System.Windows.Forms.Button();
this.btnSync = new System.Windows.Forms.Button();
this.lblPBStatus = new System.Windows.Forms.Label();
this.PBTallySync = new System.Windows.Forms.ProgressBar();
this.label3 = new System.Windows.Forms.Label();
this.cbTransactionTypes = new System.Windows.Forms.ComboBox();
this.cbSheet = new System.Windows.Forms.ComboBox();
this.btnFilePath = new System.Windows.Forms.Button();
this.txtFilePath = new System.Windows.Forms.TextBox();
this.groupBox1.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.label6);
this.groupBox1.Controls.Add(this.dtpToDate);
this.groupBox1.Controls.Add(this.label5);
this.groupBox1.Controls.Add(this.dtpFromDate);
this.groupBox1.Controls.Add(this.txtTallyPort);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.btnClose);
this.groupBox1.Controls.Add(this.btnSync);
this.groupBox1.Controls.Add(this.lblPBStatus);
this.groupBox1.Controls.Add(this.PBTallySync);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.cbTransactionTypes);
this.groupBox1.Controls.Add(this.cbSheet);
this.groupBox1.Controls.Add(this.btnFilePath);
this.groupBox1.Controls.Add(this.txtFilePath);
this.groupBox1.Location = new System.Drawing.Point(4, 16);
this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.groupBox1.Size = new System.Drawing.Size(642, 366);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label6.Location = new System.Drawing.Point(234, 128);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(64, 19);
this.label6.TabIndex = 16;
this.label6.Text = "To Date";
//
// dtpToDate
//
this.dtpToDate.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.dtpToDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
this.dtpToDate.Location = new System.Drawing.Point(227, 153);
this.dtpToDate.Name = "dtpToDate";
this.dtpToDate.Size = new System.Drawing.Size(149, 27);
this.dtpToDate.TabIndex = 15;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label5.Location = new System.Drawing.Point(38, 128);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(86, 19);
this.label5.TabIndex = 14;
this.label5.Text = "From Date";
//
// dtpFromDate
//
this.dtpFromDate.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.dtpFromDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
this.dtpFromDate.Location = new System.Drawing.Point(31, 153);
this.dtpFromDate.Name = "dtpFromDate";
this.dtpFromDate.Size = new System.Drawing.Size(149, 27);
this.dtpFromDate.TabIndex = 13;
//
// txtTallyPort
//
this.txtTallyPort.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtTallyPort.Location = new System.Drawing.Point(365, 83);
this.txtTallyPort.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.txtTallyPort.Name = "txtTallyPort";
this.txtTallyPort.Size = new System.Drawing.Size(248, 27);
this.txtTallyPort.TabIndex = 12;
this.txtTallyPort.Text = "9000";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label4.Location = new System.Drawing.Point(420, 58);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(75, 19);
this.label4.TabIndex = 11;
this.label4.Text = "Tally Port";
//
// btnClose
//
this.btnClose.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
this.btnClose.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnClose.Location = new System.Drawing.Point(365, 283);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(155, 40);
this.btnClose.TabIndex = 10;
this.btnClose.Text = "&Close";
this.btnClose.UseVisualStyleBackColor = true;
//
// btnSync
//
this.btnSync.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnSync.Image = ((System.Drawing.Image)(resources.GetObject("btnSync.Image")));
this.btnSync.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnSync.Location = new System.Drawing.Point(128, 283);
this.btnSync.Name = "btnSync";
this.btnSync.Size = new System.Drawing.Size(155, 40);
this.btnSync.TabIndex = 9;
this.btnSync.Text = "&Sync";
this.btnSync.UseVisualStyleBackColor = true;
this.btnSync.Click += new System.EventHandler(this.btnSync_Click);
//
// lblPBStatus
//
this.lblPBStatus.AutoSize = true;
this.lblPBStatus.ForeColor = System.Drawing.SystemColors.Highlight;
this.lblPBStatus.Location = new System.Drawing.Point(38, 201);
this.lblPBStatus.Name = "lblPBStatus";
this.lblPBStatus.Size = new System.Drawing.Size(56, 22);
this.lblPBStatus.TabIndex = 8;
this.lblPBStatus.Text = "Status: ";
//
// PBTallySync
//
this.PBTallySync.Location = new System.Drawing.Point(31, 226);
this.PBTallySync.Name = "PBTallySync";
this.PBTallySync.Size = new System.Drawing.Size(575, 23);
this.PBTallySync.TabIndex = 7;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label3.Location = new System.Drawing.Point(38, 58);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(141, 19);
this.label3.TabIndex = 6;
this.label3.Text = "Transaction Types";
//
// cbTransactionTypes
//
this.cbTransactionTypes.Font = new System.Drawing.Font("Arial", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.cbTransactionTypes.FormattingEnabled = true;
this.cbTransactionTypes.Location = new System.Drawing.Point(31, 83);
this.cbTransactionTypes.Name = "cbTransactionTypes";
this.cbTransactionTypes.Size = new System.Drawing.Size(296, 27);
this.cbTransactionTypes.TabIndex = 5;
//
// cbSheet
//
this.cbSheet.FormattingEnabled = true;
this.cbSheet.Location = new System.Drawing.Point(17, 25);
this.cbSheet.Name = "cbSheet";
this.cbSheet.Size = new System.Drawing.Size(580, 30);
this.cbSheet.TabIndex = 3;
this.cbSheet.Visible = false;
//
// btnFilePath
//
this.btnFilePath.Image = ((System.Drawing.Image)(resources.GetObject("btnFilePath.Image")));
this.btnFilePath.Location = new System.Drawing.Point(617, 27);
this.btnFilePath.Name = "btnFilePath";
this.btnFilePath.Size = new System.Drawing.Size(47, 27);
this.btnFilePath.TabIndex = 1;
this.btnFilePath.UseVisualStyleBackColor = true;
this.btnFilePath.Visible = false;
this.btnFilePath.Click += new System.EventHandler(this.btnFilePath_Click);
//
// txtFilePath
//
this.txtFilePath.Location = new System.Drawing.Point(29, 28);
this.txtFilePath.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.txtFilePath.Name = "txtFilePath";
this.txtFilePath.Size = new System.Drawing.Size(582, 27);
this.txtFilePath.TabIndex = 0;
this.txtFilePath.Visible = false;
//
// FrmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 22F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(656, 393);
this.Controls.Add(this.groupBox1);
this.Font = new System.Drawing.Font("Arial Narrow", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.MaximizeBox = false;
this.Name = "FrmMain";
this.Text = "Tally Data Tool - MRR | WZ | GC | LOY";
this.Load += new System.EventHandler(this.FrmMain_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.ComboBox cbTransactionTypes;
private System.Windows.Forms.ComboBox cbSheet;
private System.Windows.Forms.Button btnFilePath;
private System.Windows.Forms.TextBox txtFilePath;
private System.Windows.Forms.ProgressBar PBTallySync;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Button btnSync;
private System.Windows.Forms.Label lblPBStatus;
private System.Windows.Forms.TextBox txtTallyPort;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.DateTimePicker dtpToDate;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.DateTimePicker dtpFromDate;
}
}
File diff suppressed because it is too large Load Diff
+178
View File
@@ -0,0 +1,178 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnClose.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAA
4AAAAOABol/+ygAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANMSURBVFhHtZfB
T9NQHMd30xMQiE6CkIAaFcEJKkQD6s10iRFHOBg9ePGgCVw5yck/gIQEOXmBhEgEAcMSkYkmBkgwKCJs
bAZGjBo1A1dYGAP28/26try2v24dmy/5JOvvvX6/3/W9vrY2ALCGIBwINwiC6HJ2/XUJ78Iuwc9Yl/Fj
DftwDI4lNQjIIk/Edb0w3Cg8YSYiAywi4jl4LqXJQxYl7l07GL4lPGZiEZ14OkRQA7VIDwZZ3GhyHmEn
T+nEMmEKNSkvQ2HjprNSdAnfCJGMQE3U1vtpDjDl/zBXkELorsReAJzz7F52M6b4NaEGkBccdUKCRieI
d1x0H0/TDbrOgwuTDyDdaklWe6StFXZ//gCIbcHWyJAUhhoX7X4KcTEMuytBiDxqJcfIRJRbNPHvE/c5
NVASikejbNhei731GEJEB57JvYmG53xveagZo4F5smEsAO5wSTYZ/DdUi70ZVUPozZW2sbQEgfpag6aM
iN423DqJzgRsPvGSmrWY5xUz75OPjG1ncxOGi4ogUFdD6zNvm7R/U50yOK/7bV+7uqA/JwcGcnPJEOht
kx8shk4es0ucrK309sJAXp4UwCwEetvYD3yqaToo0gkR7OnRmCcJ4ccA+Djli6ZYCbHc3U2aK+hCrGc1
wNraGvg8HuhPEgDhQkgBsjIFq6ursLCwIOG1GMJ3+fyPrCxC3lwNMTaWMoSn5Ggo49swFAoZzBXmBwdJ
Y4WZs+XsLshgIwp0doLX7SbNEa/XC0PFxaQ5slRfe3ffW7G/o0MVMgvhZ/SzueZNFUaLCnekrZhppf0w
WmxvNwh6R0Y05vjvJ1taDOMUJk4em2ZS1h7HwQf3ITw/D1tsvufa2khB5Avb/RZ9PgiwAJPNzeQYZDg/
P/7JUV6lBkBSvZDMXXDAi4ICUpBn0G4n6zyzVRXPFV81gJVXMgxBCabD+xNlv8hXMsTKS2kmIdz2w9vB
KzWlvKcmAGLltXw/Idz2Q9sfKk836P00BwpWPkzSCYGX3V93sYzyMhRUcE2k+DRLFeJlQX78c7Wjj59z
PWSRJ9XHKRXiNdtkJk4dn56pOuOgNHnIIgnumCaf57PVlb/HS0v+fDxXMb589dJtHEtqGADbP9Tfo88K
0oYCAAAAAElFTkSuQmCC
</value>
</data>
<data name="btnSync.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJ
TUUH4goSECUONJXJDAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAPBSURBVFhH
vVZZaBNhEN62Hu3upqW1ttnd4EXxRESrT+KDD96KIp74oILog+ABWhURixdGlFrxRlEEH6woFLTNv5sa
CoogguiLvghq7ZsoimK9Gr/ZTNLdZNNk29IPhvz/zGRm/p3j/6XBQbyAF4OLysrmgK5Y17VAZA6zBg8J
5+YrUNxQxSpmDxxqpedDQ6WRGt6moalIU8yH5JxIU6ILWeAX7tzVSC3DDdVcrcvWBU01L8H4fBa5YCjm
2aRzompVVLHIHzTVWhkqaTNoHVKsqboibmuKtYBObyt4ADnf7HQO6mCRf/Apw7oqduDUh6dITcNY5Ak9
ICZC/4fDeVxXzWYW+wcMvCYj+KTPDNk8FCxuHcOiDIyRYsX4Qi9dzm2y9rOKP1Qp0WqHofe6LJaxyBO6
bJ536KcoKEdnsYodJC9zw1CtNTDwB3S6WhIKsz2B9Cx3OnXQF0mqL2Q1qo9ThhqZy9veYShio6FEpvG2
V6DlYh7OKf/3WcUGeCdBvzRFbGDWwABGr6WcugPYzio2wKtjWTeCOMDs/gPFtzfl1EmB1gmsYgN1soVl
H5GORyjsbSxyg/ocM2CSIYul+Lw7UYDnEpPNeoPUNNBAYlWJhoxeItahUzZhSL1lBx2g9aySAs0V8Nuo
FpiVwKiyB+XodRgRDYjyCZR+sqFs1G7/B52B9V/mddEJKb/ZBpUmi1pqZRzmDLPo81l78OevbMQPhUGf
03jvnFWfDdBr5CWiKm4bjRy2phnKTbgPPPjf87n7oRfOaO3qYjEWKdgNYTso+VmzEu6EXVQbTh6K6l5Q
Fov0QKySzXoCuuGKipZS3maCDNAdDsVG0AvQP3LA9LuneusLUXwnaA6gwI4incluwAATrVTICT03cMdc
5mV+GFdulYVkc7EhWweNQHQ8s11ABxx3BMlkfUsfv3Q4TRXHeDtw0GTzbmYAlBZrCavYQLetzXsc+wGm
3lPPAFTrCqvYQABXnXMkK2iK6XJkBm9zwjsFNnUmOwPpG0FvC/sPudFUhD/fGKnEgszIAdIXVppzm5Ce
mazkD3h0VqDKb+V6CSVBBQaHH9IDQHqOsIp/BNXoZArC+RqiruBlBugBAqddrgBk8zGL+wYaGjDUiFm+
lfYYQCto6NBD1VZIA+m5AkBAeRVeLtDtCGM36Z7HbyeoG3THa+CAT3dFTxABczaL+g8qKhh1XmCf0vud
Kp9S59CpY0H/AWP7QJ1IxUVU/rxs1y/xHRddmNn9RbwAN+H0fG69BGJD6Pk1oF+gb/AKWJL+A0TLOVgL
b0tGAAAAAElFTkSuQmCC
</value>
</data>
<data name="btnFilePath.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJ
TUUH4AMHExsXNGKgPwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAEBSURBVDhP
Y/j//z9FGIUz32E/xyTPbezIYoQwmOizPMY52f7ociC+MNnu6KVJtke2NzjsZ0FXjA0zTLE/UgfSNMXu
SBhMECQ2xf7oDbCB2LDd0QMTrI+ogw0Acm7PND7D2u+wX2CywzENGJ5me0JvqsNRA2wYbKnt0UmTbA+J
Am07emOmyxl+oEFPgfg/ifgh2IApdkftsEgSxkDvgA0AMrKwKiCIjyyEGGB3bDp2BfjxJLujxVADjhzB
poAQBgamK9SAox/QJYnB062OioGi8Qe6BJH4BSwdYJMkBu+CGTABTYIY/A8Yc4lgA0AEKAOBMhKxuEH7
KhtIH9wA8vF/BgCbuIXw0ugi3QAAAABJRU5ErkJggg==
</value>
</data>
</root>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TallyDataTool.Models
{
public class JournalList
{
public JournalModel[] Journal { get; set; }
}
public class JournalModel
{
public string JRNLDate { get; set; }
public string JRNLNo { get; set; }
public string VendorAc { get; set; }
public string CustomerAc { get; set; }
public int Amount { get; set; }
public string Narration { get; set; }
public string BookingNo { get; set; }
public string BRAND { get; set; }
}
}
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TallyDataTool.Models
{
public class LedgerModel
{
public string LedgerName { get; set; }
public string LedgerGroup { get; set; }
public string CurrencyName { get; set; }
public string CountryName { get; set; }
public string CompanyName { get; set; }
}
}
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TallyDataTool.Models
{
public class PaymentList
{
public PaymentModel[] Payment { get; set; }
}
public class PaymentModel
{
public string PaymentDate { get; set; }
public string PaymentNo { get; set; }
public string PaidTo { get; set; }
public string BankCash { get; set; }
public int Amount { get; set; }
public string PaymentType { get; set; }
public string TransID { get; set; }
public string TransDate { get; set; }
public string BookingNo { get; set; }
public string BRAND { get; set; }
}
}
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TallyDataTool.Models
{
public class PurchaseList
{
public PurchaseModel[] Purchase { get; set; }
}
public class PurchaseModel
{
public string PurchaseDate { get; set; }
public string PurchaseNo { get; set; }
public string Vendor { get; set; }
public string ServiceAvailed { get; set; }
public int Amount { get; set; }
public string BookingNo { get; set; }
public string Narration { get; set; }
public string BRAND { get; set; }
}
}
@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TallyDataTool.Models
{
public class ReceiptList
{
public ReceiptModel[] Receipts { get; set; }
}
public class ReceiptModel
{
public string ReceiptDate { get; set; }
public string ReceiptNo { get; set; }
public string ReceivedFrom { get; set; }
public string BankCash { get; set; }
public int Amount { get; set; }
public string PaymentType { get; set; }
public string TransID { get; set; }
public string TransDate { get; set; }
public string BookingNo { get; set; }
public string _ { get; set; }
public string BRAND { get; set; }
}
}
@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TallyDataTool.Models
{
public class SaleList
{
public SaleModel[] Sale { get; set; }
}
public class SaleModel
{
public string BRAND { get; set; }
public string ACTIVITYNAME { get; set; }
public string BookDate { get; set; }
public string BookingNo { get; set; }
public string CUSTOMERNAME { get; set; }
public string CONTACTNO { get; set; }
public string NOOFADULTS { get; set; }
public int TOTALREPORT { get; set; }
public int TOTALAMOUNT { get; set; }
public string EARNING { get; set; }
}
}
@@ -0,0 +1,100 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TallyDataTool.Models
{
public class TransactionHeaderModel
{
public string TransactionTypeName { get; set; }
public string TransactionNumber { get; set; }
public string TransactionDate { get; set; }
public string SupplierInvoiceNo { get; set; }
public string SupplierInvoiceDate { get; set; }
public string OrderNo { get; set; }
public string OrderDate { get; set; }
public string PartyName { get; set; }
public string StateName { get; set; }
public string PartyGSTIN { get; set; }
public string PlaceofSupply { get; set; }
public string ConsigneeStateName { get; set; }
public string ConsigneeGSTIN { get; set; }
public string Narration { get; set; }
public string VoucherMode { get; set; }
public string Company { get; set; }
public List<TransactionLedgerDetailsModel> TransactionLedgerDetails { get; set; }
public List<TransactionInventoryDetailsModel> TransactionInventoryDetails { get; set; }
public List<TransactionAddressListMode> TransactionAddressList { get; set; }
public List<TransactionBuyerAddressListMode> TransactionBuyerAddressList { get; set; }
}
public class TransactionAddressListMode
{
public string ADDRESS { get; set; }
}
public class TransactionBuyerAddressListMode
{
public string BASICBUYERADDRESS { get; set; }
}
public class TransactionLedgerDetailsModel
{
public string LedgerName { get; set; }
public string IsDeemedPositive { get; set; }
public string IsPartyLedger { get; set; }
public string LedgerAmount { get; set; }
public string CategoryName { get; set; }
public string CostCentreName { get; set; }
public List<TransactionBillAllocationsModel> BillAllocations { get; set; }
public List<TransactionBankAllocationsModel> BankAllocations { get; set; }
}
public class TransactionBillAllocationsModel
{
public string BillName { get; set; }
public string BillType { get; set; }
public string BillAmount { get; set; }
}
public class TransactionBankAllocationsModel
{
public string DATE { get; set; }
public string INSTRUMENTDATE { get; set; }
public string INSTRUMENTNUMBER { get; set; }
public string BANKERSDATE { get; set; }
public string PAYMENTFAVOURING { get; set; }
public string AMOUNT { get; set; }
public string TRANSACTIONTYPE { get; set; }
public string PAYMENTMODE { get; set; }
}
public class TransactionInventoryDetailsModel
{
public string ItemName { get; set; }
public string ItemQty { get; set; }
public string ItemRate { get; set; }
public string ItemAmount { get; set; }
public string InventortyLedgerName { get; set; }
public string IsDeemedPositive { get; set; }
public List<TransactionInventoryUserDescModel> InventoryUserDescList { get; set; }
public List<TransactioninventoryAccoutinAllocationsModel> AccountingAllocations { get; set; }
}
public class TransactionInventoryUserDescModel
{
public string ItemUserDescription { get; set; }
}
public class TransactioninventoryAccoutinAllocationsModel
{
public string LedgerName { get; set; }
public string LedgerAmount { get; set; }
public string LedgerRate { get; set; }
public string IsDeemedPositive { get; set; }
}
}
+22
View File
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TallyDataTool
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FrmMain());
}
}
}
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("TallyDataTool")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Beta Release -R2023-12-03")]
[assembly: AssemblyProduct("TallyDataTool")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1418a45b-f02b-461a-9dea-336600e79f87")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.0.1")]
[assembly: AssemblyFileVersion("2.1.0.1")]
@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace TallyDataTool.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TallyDataTool.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace TallyDataTool.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
@@ -0,0 +1,118 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{1418A45B-F02B-461A-9DEA-336600E79F87}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>TallyDataTool</RootNamespace>
<AssemblyName>TallyDataTool</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>technics.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="LibDbCommon, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\CommnFuncLibs\.Net 2.0\DLL\LibdbCommon2.0.8\LibDbCommon.dll</HintPath>
</Reference>
<Reference Include="LibFunctionsCommon">
<HintPath>..\..\..\..\..\CommnFuncLibs\.Net 2.0\DLL\LibFunctionsCommon.dll</HintPath>
</Reference>
<Reference Include="LibTallySyncSTD">
<HintPath>..\..\..\..\CommnFuncLibs\LibTallySyncSTD\Development\LibTallySync\bin\Debug\LibTallySyncSTD.dll</HintPath>
</Reference>
<Reference Include="LIBWebRequest">
<HintPath>E:\Projects_Repo\VS2013\CommonLIBS\LIBWebRequest\Development\LIBWebRequest\bin\Debug\LIBWebRequest.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="FrmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmMain.Designer.cs">
<DependentUpon>FrmMain.cs</DependentUpon>
</Compile>
<Compile Include="Models\BillsResponseModel.cs" />
<Compile Include="Models\JournalModel.cs" />
<Compile Include="Models\LedgerModel.cs" />
<Compile Include="Models\PaymentModel.cs" />
<Compile Include="Models\PurchaseModel.cs" />
<Compile Include="Models\SalesModel.cs" />
<Compile Include="Models\ReceiptsModel.cs" />
<Compile Include="Models\VoucherModel.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TallyFunctions.cs" />
<EmbeddedResource Include="FrmMain.resx">
<DependentUpon>FrmMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="technics.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
@@ -0,0 +1,90 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TallyDataTool.Models;
using System.Data;
using System.IO;
using System.Xml.Serialization;
namespace TallyDataTool
{
public class TallyFunctions
{
public DataTable getStudentPendingBills(string StudentName,string TallyPort)
{
LIBWebRequest.WebRequest oLibWebRequest = new LIBWebRequest.WebRequest();
LibDbCommon.LibDBCommon oLibDbCommon = new LibDbCommon.LibDBCommon();
DataTable dt = new DataTable();
string pStrBillData = "StudentName;BillName;BillDate;BillAmount";
dt = oLibDbCommon.CreateTable(pStrBillData);
string pStrTallyODBCLink = "http://localhost:" + TallyPort;
string pStrXMLRequest = TallyBillRequestFunctions(StudentName.Replace(".",""));
string pStrXMLResponse = oLibWebRequest.POSTWEBRequest(pStrTallyODBCLink, pStrXMLRequest);
TextReader oTextReader = new StringReader(pStrXMLResponse);
ENVELOPE oEnvelope;
XmlSerializer serializer = new XmlSerializer(typeof(ENVELOPE));
oEnvelope = (ENVELOPE)serializer.Deserialize(oTextReader);
int i = 0;
for (i=0;i<=oEnvelope.BODY.DATA.COLLECTION.Length-1;i++)
{
pStrBillData = oEnvelope.BODY.DATA.COLLECTION[i].PARENT.Value.ToString();
pStrBillData = pStrBillData + "|" + oEnvelope.BODY.DATA.COLLECTION[i].NAME.Value;
pStrBillData = pStrBillData + "|" + oEnvelope.BODY.DATA.COLLECTION[i].BILLDATE.Value;
pStrBillData = pStrBillData + "|" + oEnvelope.BODY.DATA.COLLECTION[i].FINALBALANCE.Value.ToString().Replace("-","");
oLibDbCommon.AddRowToDataTable(dt, pStrBillData);
}
return dt;
}
public string TallyBillRequestFunctions(string StudentName)
{
string pstrXMLRequest = "";
pstrXMLRequest = "<ENVELOPE>";
pstrXMLRequest = pstrXMLRequest + "<HEADER>";
pstrXMLRequest = pstrXMLRequest + "<VERSION>1</VERSION>";
pstrXMLRequest = pstrXMLRequest + "<TALLYREQUEST>Export</TALLYREQUEST>";
pstrXMLRequest = pstrXMLRequest + "<TYPE>Collection</TYPE>";
pstrXMLRequest = pstrXMLRequest + "<ID>Bills Receivable</ID>";
pstrXMLRequest = pstrXMLRequest + "</HEADER>";
pstrXMLRequest = pstrXMLRequest + "<BODY>";
pstrXMLRequest = pstrXMLRequest + "<DESC>";
pstrXMLRequest = pstrXMLRequest + "<STATICVARIABLES>";
pstrXMLRequest = pstrXMLRequest + "<EXPLODEFLAG>Yes</EXPLODEFLAG>";
pstrXMLRequest = pstrXMLRequest + "<SVEXPORTFORMAT>$$SysName: XML</SVEXPORTFORMAT>";
pstrXMLRequest = pstrXMLRequest + "</STATICVARIABLES>";
pstrXMLRequest = pstrXMLRequest + "<TDL>";
pstrXMLRequest = pstrXMLRequest + "<TDLMESSAGE>";
pstrXMLRequest = pstrXMLRequest + "<COLLECTION NAME =\"Bills Receivable\" ISMODIFY = \"No\" >";
pstrXMLRequest = pstrXMLRequest + "<TYPE>Bills</TYPE>";
pstrXMLRequest = pstrXMLRequest + "<FETCH>BILLPARTY,BILLREF,BILLDATE,BILLCL,PartyName,Parent</ FETCH >";
pstrXMLRequest = pstrXMLRequest + "<FILTERS> BILLPARTYFILT</FILTERS>";
pstrXMLRequest = pstrXMLRequest + "</COLLECTION>";
pstrXMLRequest = pstrXMLRequest + "<SYSTEM TYPE =\"Formulae\" NAME = \"BILLPARTYFILT\" >";
pstrXMLRequest = pstrXMLRequest + "$Parent =" +"\"" + StudentName + "\"" + "";
pstrXMLRequest = pstrXMLRequest + "</SYSTEM >";
pstrXMLRequest = pstrXMLRequest + "</TDLMESSAGE >";
pstrXMLRequest = pstrXMLRequest + "</TDL >";
pstrXMLRequest = pstrXMLRequest + "</DESC >";
pstrXMLRequest = pstrXMLRequest + "</BODY >";
pstrXMLRequest = pstrXMLRequest + "</ENVELOPE>";
return pstrXMLRequest;
}
}
}
Binary file not shown.
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.2.29.0" newVersion="2.2.29.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Extensions" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.2.29.0" newVersion="2.2.29.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.2.29.0" newVersion="2.2.29.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.WebRequest" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.2.29.0" newVersion="2.2.29.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.2.29.0" newVersion="2.2.29.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
</configuration>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,2 @@
TALLYPORT=9000
GOOGLESHEETURL=https://script.google.com/macros/s/AKfycbydK4lKLwDAOT0mf2HEBr5hxk0G2214dT2oDaRkxqZ_E_PSRfAaUn8Ug_ujVmVxiDHJ/exec
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
@@ -0,0 +1 @@
688a123ac0ef95766a285bab8544b65bda91c366
@@ -0,0 +1,81 @@
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csprojAssemblyReference.cache
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.FrmMain.resources
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.Properties.Resources.resources
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.GenerateResource.cache
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.CoreCompileInputs.cache
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.exe.config
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.exe
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.pdb
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\LibDbCommon.dll
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.dll
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\LibConfigCommon.dll
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.pdb
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.dll.config
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.CopyComplete
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.exe
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.pdb
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\LibFunctionsCommon.dll
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\LibTallySync.dll
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\Newtonsoft.Json.dll
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\LibTallySync.pdb
D:\Projects\TallyDataTool\BALDealers\CrystalTrradeLinks\TallyDataTool\TallyDataTool\bin\Debug\Newtonsoft.Json.xml
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.exe.config
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.exe
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.pdb
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.dll
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\Newtonsoft.Json.dll
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\LibConfigCommon.dll
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.pdb
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.dll.config
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\Newtonsoft.Json.xml
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csprojAssemblyReference.cache
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.FrmMain.resources
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.Properties.Resources.resources
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.GenerateResource.cache
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.CoreCompileInputs.cache
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.CopyComplete
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.exe
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.pdb
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.exe.config
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\LibTallySyncSTD.dll
D:\Projects\TallyDataTool\SKI-AmoghParrikar\TallyDataTool\TallyDataTool\bin\Debug\LibTallySyncSTD.pdb
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.exe.config
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.exe
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.pdb
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\LibTallySyncSTD.dll
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.dll
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\Newtonsoft.Json.dll
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\LibConfigCommon.dll
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\LibTallySyncSTD.pdb
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.pdb
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.dll.config
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\bin\Debug\Newtonsoft.Json.xml
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csprojAssemblyReference.cache
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.exe.config
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.FrmMain.resources
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.Properties.Resources.resources
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.GenerateResource.cache
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.CoreCompileInputs.cache
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.CopyComplete
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.exe
D:\Projects\TallyDataTool\Manovikas\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.pdb
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.exe.config
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.exe
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\TallyDataTool.pdb
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\LibTallySyncSTD.dll
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.dll
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\Newtonsoft.Json.dll
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\LibConfigCommon.dll
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\LibTallySyncSTD.pdb
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.pdb
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\LIBWebRequest.dll.config
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\bin\Debug\Newtonsoft.Json.xml
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csprojAssemblyReference.cache
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.exe.config
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.FrmMain.resources
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.Properties.Resources.resources
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.GenerateResource.cache
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.CoreCompileInputs.cache
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.csproj.CopyComplete
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.exe
D:\Projects\TallyDataTool\MRRWaterz\TallyDataTool\TallyDataTool\obj\Debug\TallyDataTool.pdb
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net461" />
</packages>
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.
@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2007 James Newton-King
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+71
View File
@@ -0,0 +1,71 @@
# ![Logo](https://raw.githubusercontent.com/JamesNK/Newtonsoft.Json/master/Doc/icons/logo.jpg) Json.NET
[![NuGet version (Newtonsoft.Json)](https://img.shields.io/nuget/v/Newtonsoft.Json.svg?style=flat-square)](https://www.nuget.org/packages/Newtonsoft.Json/)
[![Build status](https://dev.azure.com/jamesnk/Public/_apis/build/status/JamesNK.Newtonsoft.Json?branchName=master)](https://dev.azure.com/jamesnk/Public/_build/latest?definitionId=8)
Json.NET is a popular high-performance JSON framework for .NET
## Serialize JSON
```csharp
Product product = new Product();
product.Name = "Apple";
product.Expiry = new DateTime(2008, 12, 28);
product.Sizes = new string[] { "Small" };
string json = JsonConvert.SerializeObject(product);
// {
// "Name": "Apple",
// "Expiry": "2008-12-28T00:00:00",
// "Sizes": [
// "Small"
// ]
// }
```
## Deserialize JSON
```csharp
string json = @"{
'Name': 'Bad Boys',
'ReleaseDate': '1995-4-7T00:00:00',
'Genres': [
'Action',
'Comedy'
]
}";
Movie m = JsonConvert.DeserializeObject<Movie>(json);
string name = m.Name;
// Bad Boys
```
## LINQ to JSON
```csharp
JArray array = new JArray();
array.Add("Manual text");
array.Add(new DateTime(2000, 5, 23));
JObject o = new JObject();
o["MyArray"] = array;
string json = o.ToString();
// {
// "MyArray": [
// "Manual text",
// "2000-05-23T00:00:00"
// ]
// }
```
## Links
- [Homepage](https://www.newtonsoft.com/json)
- [Documentation](https://www.newtonsoft.com/json/help)
- [NuGet Package](https://www.nuget.org/packages/Newtonsoft.Json)
- [Release Notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Contributing Guidelines](https://github.com/JamesNK/Newtonsoft.Json/blob/master/CONTRIBUTING.md)
- [License](https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)
- [Stack Overflow](https://stackoverflow.com/questions/tagged/json.net)
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB