Posts by Guilherme Souza • 86 points
7 posts
-
3
votes3
answers1381
viewsA: How to declare an object parameter as null in C#
Matthew, in this case it is necessary to treat the value of your Datareader. Use the command Convert.Isdbnull to verify that the value received is null. Change the Book Id property to int? to accept…
-
1
votes1
answer578
viewsA: How to generate a subquery in Line/EF
Using the Entityframework, there will be in your project a context class for access to the database, and for each table (Tab_products, Productstoque e Pedidositens) there will be a class that…
-
1
votes1
answer281
viewsA: Dynamic table MVC
First you need to review your function dtaTotal(string dtaini, string dtafinal), because she expects two parameters that were not passed when she called her in the method BuscaCampanhas(). And, in…
-
1
votes1
answer41
viewsA: Move Textbox created by code
The correct way to reposition a component is by using the Location property, just as you did. If this is not working, you should check if the Dock property is different from None. Another possible…
-
1
votes1
answer242
viewsA: How to share a webservice through an FTP?
You need to publish your webservice and set up IIS to have access to it. https://msdn.microsoft.com/pt-br/library/8wbhsy70(v=vs.100). aspx…
-
0
votes1
answer93
viewsQ: X509certificate2ui.Selectfromcollection is closing the application
In a particular client, when accessing the function X509Certificate2UI.SelectFromCollection the application is closing without even passing the error handling. This function opens a Windows dialog…
-
0
votes2
answers68
viewsA: Problem deleting a record, fetching the next
I see two errors being corrected in your logic: You do not need to use ". Skip(1). Take(1)", because the Firstordefault command preceded by Orderby/Orderbydescending already solves the question of…