Click here to Skip to main content
15,916,091 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey im new with programmation i try to make software to display data from anther machine;the data is xml type like this
HTML
<StockInfoMessage>
   <Article>
     <Pack/>
   </Article>
 </StockInfoMessage>

there's file dll i add to my reference to can connect to the machine,like this
C#
machine.connect(192.168.1.10);

now i receive the data from the machine
to have what's the real stock i send this
C#
list<article>art=machine.getstock;

art know have all data inside like xml up

i try to send this data to sqlite with this
C#
<pre>using ( SQLiteConnection connection=new SQLiteConnection(App.databasePath))
                {
                   
                   connection.CreateTable<Pack>();
                   connection.CreateTable<Article>();
                    
                    
                    connection.Insert(artes);
                }
                Close();



when i run the software in the end show me this message
number of incorrect parameters

what can i do ?

What I have tried:

i create his software with wpf
make a connection with machine by tcp/ip
i receive data in list type but like xml because there's two list (list of article and list of pack)
i create the connection to sqlite
i create the database in sqlite
but when i try to send data from my software to database this error message box show me there's a lot of parameter not correcte
Posted
Updated 4-Jan-19 23:30pm
v3
Comments
Graeme_Grant 4-Jan-19 20:53pm    
You have a problem with your code... without the code that the error occurs on it is impossible to help. We can't see your screen from here ... So please update your question with the code that is causing the error.
Graeme_Grant 6-Jan-19 20:34pm    
Which SQLite Library are you linking in? Are you using Entity Framework?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900