Posts by Renan Malagutti • 316 points
17 posts
-
0
votes1
answer80
viewsA: Starting with Xamarin
The path to creating PCL projects is somewhat different in the latest versions of visual studio. Go to File > New Project > Cross-Platform > Cross-Platform App (Xamarin.Forms). In the code…
-
2
votes1
answer213
viewsA: Popular List c#
You need to use the nfeList.Add(item) or nfeList.Addrange(items) method to add items to your list, otherwise old values will be lost anyway. substitute: nfeList =…
-
2
votes2
answers749
viewsA: If there is any data in mysql do a PHP/Mysql update
Good afternoon Rafael! There is always that moment after the family lunch that everyone sleeps, so we take the time to have a drink here kkk Look, your problem is similar to one I answered a few…
-
2
votes1
answer649
viewsA: To change the column name of a table using the Add-Migration Code First Asp.Net MVC command
Change your settings file for this: public override void Up() { RenameColumn("dbo.Empresas", "Rua", "Endereco"); } public override void Down() { RenameColumn("dbo.Empresas", "Endereco", "Rua"); }…
-
1
votes1
answer791
viewsA: App publishing suspension on Google Play
Yes Allysson, you can publish on Alpha and leave it open only to your list of testers. On the version control page itself you can do this. The control of testers is done through the email registered…
-
0
votes1
answer35
viewsA: Registering attributes from different classes in the same View
If the fields are within the same view, create the fields normally in the view by referencing the model object. An Edit pro "Name" field of the "User" object in the Edit/Create view of the "Teacher"…
-
0
votes1
answer57
viewsA: Why does the one-to-many relationship in the Entity Framework by default not work?
I believe the problem is the level of protection of the object products, is private, but by convention add also the virtual in the objects referenced: In the client class make Collection public…
-
1
votes1
answer41
viewsA: Sqlserver in repositories
There are several ways, depending on how you are working. When working with Code First + Migrations your database will be created automatically, Migrations generates the scripts and controls the…
-
0
votes1
answer56
viewsA: Error when registering in the form
Somewhere in the code is setting Blogweb.Models.Supply the value 2.9, possibly on viewModel.CriaAbastecimento() Verify that Creatiprovisioning() is returning a valid value.…
-
1
votes1
answer110
viewsA: How to edit items in sqlite.net with Xamarin
Anderson, use this to update the data: var conexao = new SQLiteConnection(System.IO.Path.Combine(pasta, "Itens.db3")); conexao.Execute("UPDATE Itens set Nome=?,Preco=? Where Id=?", itens.Nome,…
-
1
votes1
answer825
viewsA: Simplify java buttons Change+Save
Douglas, with the structure you have now the easiest is to make a Function in the database that receives by parameter your login, name and password and the database "turns" with the data. Create a…
javaanswered Renan Malagutti 316 -
1
votes1
answer415
viewsA: Creating reports in C#!
If you go to SQL Server you have Microsoft Sql Server Data Tools. You generate the report in the tool then integrate the rdls into your application.
-
0
votes1
answer239
viewsA: Check checked item
You have the option of using Itemcheckedeventargs by referencing "and", so you can access the properties of the item that received the click: e.Item.Checked; e.Item.Index; e.Item.Name; Or you scroll…
-
0
votes1
answer370
viewsA: Update Page after Popasync in Xamarinforms
I had this problem a few times, try setting Itemssource to null before assigning to the list: private void carregarLista() { BindingContext = _viagem; DespesaDal despesaDal = new DespesaDal();…
-
0
votes3
answers639
viewsA: Install C# application with SQL Server database
You will need a way to configure the connectionstring of your connection. The form of configuration depends on which component you used to make the connection to the databank. It is also necessary…
-
0
votes1
answer178
viewsA: How to verify integrity or violations in SQL Server database?
Murilo, I believe that what you are looking for is the Checktables methods, try this: https://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.database.checktables.aspx…
-
0
votes1
answer139
viewsA: Search/select database with C#
Matt, your connectionstring is already dynamic, it takes the database path through the dbfile variable (which gets dlg.Filename). From there, whenever you need connectionstring use its variable.…