मेरे पास पंक्ति की आईडी है तो मैं अन्य मान अपडेट करूंगा।विंडोज 10 सी # में sqlite.net पीएलएल में पंक्ति कैसे अपडेट करें?
मुझे नहीं पता कि मेरे मूल्य कैसे अपडेट करें! मेरे तालिका:
class MyTable
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string Date { get; set; }
public string Volumes { get; set; }
public string Price { get; set; }
}
अन्य जानकारी:
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>();
}
कृपया इस आलेख का संदर्भ लें http://blog.tpcware.com/2014/05/universal-app-with-sqlite-part-2/ हालांकि यह यूनिवर्सल ऐप से कहता है लेकिन मुझे लगता है कि यह विंडोज़ 10 ऐप के साथ भी काम करता है। – Janak