Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have created add and get function for sqlite server i don't know to call the function
i have given the add function in database class i need to call in blanck page 1
the add function is

  public  static void AddEmployee(EmployeeItem Employee)
{
//sql code 

 insertCommand.Parameters.AddWithValue("@EMPLOYEE_ID ", Employee.Id);

       } {


how to call the add function

What I have tried:

List<EmployeeItem> emplist = DataAccess.AddEmployee(EmployeeItem.Add(Employee));


please help me with a code :-(
Posted
Updated 30-Nov-22 0:30am
v2

1 solution

This should help: Use a SQLite database in a UWP app - UWP applications | Microsoft Learn[^]

If the above link is not suitable, then here is the google search used: uwp sqlite - Google Search[^]
 
Share this answer
 
v2

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