diff --git a/ProfilePage.xaml.cs b/ProfilePage.xaml.cs index 30d45cf..bd48e1d 100644 --- a/ProfilePage.xaml.cs +++ b/ProfilePage.xaml.cs @@ -90,13 +90,6 @@ public partial class ProfilePage : ContentPage data_.Add("KEY", "Name"); data_.Add("VALUE", result); _Command(data_.ToJsonString()); - - /* - - App.GlobalData.UserName=result; - string sql = @"UPDATE Users SET UserName = '" + App.GlobalData.UserName - + "' WHERE User='" + App.GlobalData.User + "';"; - AppModels.Updata(sql);*/ } } private async void UserPassword_Tapped(object sender, TappedEventArgs e) @@ -112,12 +105,6 @@ public partial class ProfilePage : ContentPage data_.Add("KEY", "Password"); data_.Add("VALUE", result); _Command(data_.ToJsonString()); - - - /* App.GlobalData.UserPassword = result; - string sql = @"UPDATE Users SET UserPassword = '" + App.GlobalData.UserPassword - + "' WHERE User='" + App.GlobalData.User + "';"; - AppModels.Updata(sql);*/ } } private async void ServerID_Tapped(object sender, TappedEventArgs e)