I have a row ID, then I update the other values.
I do not know how to update my values! My table:
class MyTable { [PrimaryKey, AutoIncrement] public int Id { get; set; } public string Date { get; set; } public string Volumes { get; set; } public string Price { get; set; } }
other information:
string path; SQLite.Net.SQLiteConnection conn; public updatepage() { this.InitializeComponent(); path = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "ccdb.sqlite"); conn = new SQLite.Net.SQLiteConnection(new SQLite.Net.Platform.WinRT.SQLitePlatformWinRT(), path); conn.CreateTable<MyTable>(); }
c # sqlite windows-10 sqlite-net
Rohollah saberi
source share