Posts by Érik Thiago • 2,338 points
99 posts
-
0
votes1
answer1056
viewsA: Angular 7 autocomplete with http
To solve it, I had to change my mind. First, how I needed to use HTTP so I could go to the bank to search for the informed term, using as a basis the code available on the angular material, I…
-
0
votes1
answer1056
viewsQ: Angular 7 autocomplete with http
I have in my project a field that I need to use the autocomplete. But it’s not working. Could someone help me? Component filteredCostCenter: Observable<CentroCusto[]>; ngOnInit() {…
-
0
votes1
answer67
viewsQ: Entity Core, in relationships
In my project I have two models: student and occurrence. In the routine of registering/editing a student, this quiet, however, in the routine of registering an occurrence, I do not know why, Entity…
-
1
votes1
answer458
viewsQ: Partialview relationships Asp.net mvc 5
I’m having trouble creating the logic of registering models that has relationship between them. One exists only the reference, but in the other the reference is of type List<>. I created a…
-
1
votes1
answer428
viewsQ: Consuming web api with various models
In that question of mine Doubt Verb GET Webapi I face some mistakes because of relationships. But now taking it as a basis on account of my models, how could I consume this service? Because the…
-
0
votes1
answer86
viewsQ: Doubt Verb GET Webapi
Currently I have some compositions in my model that make relationship with other tables of my bank. When I went to assemble the get to bring me all the related data, I had several problems and…
-
8
votes1
answer305
viewsQ: Impact of the Garbage Collector
The project here of the company is done in Windows Forms and we do not manage memory very well, because it is a legacy system that has several years running. Currently we are facing problems with…
-
0
votes2
answers457
viewsA: Automated backup in SQL Server Express
I used both. These are great automated backup tools from Sqlserver. But I chose to use Sqlbackupandftp, because it is easier to move and have more resources. With license purchase more options can…
-
0
votes3
answers3965
viewsQ: Check the existence of Dice?
Is there any way to use a Script check if an index already exists in a table? I got the following script that generates an index in a table: CREATE NONCLUSTERED INDEX [meu_indice] ON…
-
0
votes1
answer344
viewsA: Error while editing Viewmodel data
I solved the mistake. It was generated by the fact that at the time of saving, I was not with the Ids, both of the table, as well as the relationships between the entities. As there was no…
-
0
votes2
answers145
viewsQ: Function to call other and popular inputs
In my view I have several functions where in my current logic, they work like this: I fill the data previously and I have 4 buttons that I click and they will do some accounts. What happens is that…
-
0
votes1
answer344
viewsQ: Error while editing Viewmodel data
In project I have a Viewmodel and inside it my models and everything. What happens is that I am trying to edit the data that is already saved in the database. I can bring the edited data from the…
-
2
votes1
answer487
viewsQ: How to create master-detail form using a Viewmodel
I have a viewmodel in my project. Within it I have two entities that are a list of items. I’m doing the data editing logic of these entities that are inside the viewmodel. I have 5 entities in all.…
-
0
votes1
answer202
viewsQ: Error rendering Partialview in a View
I have a View and within it I want to render a Partialview. What happens is that the partial is of a model different but that has relationship between them. I want to show a partial as if it were…
-
0
votes1
answer739
viewsQ: Entity Framework List
I am created to action of Edit to edit my data models. What happens is I use Viewmodel to "join" several models in a. Okay, I can get the data from models who are not List<>, that is, the…
-
0
votes2
answers88
viewsQ: Action Edit in Viewmodel
Well, I’m trying to implement the action of editing the data of a viewmodel that I own in my project. I even put together an action, but it’s not working... What happens is that what I researched,…
-
1
votes1
answer184
viewsQ: How to do Edit action with view model?
I’m trying to do in my project the editing part of the data that was registered. Well, the data log part is working fine, but now I need to edit this data. Before, I looked around the web to see…
asp.net-mvcasked Érik Thiago 2,338 -
0
votes1
answer98
viewsQ: Save multiple data from text boxes with equal names
In my project I have a rule that is to save several fields with the same name at once. Today, the registration works, but only one field, and that’s not what I want.. I need that when clicking to…
-
0
votes1
answer37
viewsQ: Show elements according to click
In my view I have 5 partials that should be rendered. I needed that when clicking one is shown and the others are hidden... Is in this structure: <ul class="nav nav-tabs"> <li…
-
1
votes2
answers85
viewsQ: Unsaved relationships
Have that question where thanks to the help of colleagues I managed to resolve my situation. Well, at least in parts... After making the adjustments pointed out, the data is being saved. But the…
-
2
votes1
answer58
viewsQ: Error logging data in Viewmodel
Have that question where I did according to the answers, my logic... Only now, when registering the data, an error was generated. This error refers to a view property that cannot be null, which is…
-
8
votes2
answers2267
viewsQ: How Viewmodel works on Asp.net mvc
I have a similar situation that question where I need to save several models at once and relate each. I would need to sort of cascade to first save one entity and then go saving the others, because…
-
1
votes1
answer38
viewsQ: Doubt about entities Asp.net mvc
I have 4 tables: T1, T2, T3 and T4 and the table of Customers. What happens is that the tables T2 to T4 "should" be one. But as part of the data would be as if it were a table and its options, I…
-
5
votes3
answers821
viewsA: Problem between C# system and Warsaw plugin (GAS Technology)
To solve the incompatibility problem, I had to contact GAS Technology describing the problem that was occurring. They asked for a lot of information, asked me to send my project including, the path…
-
0
votes1
answer252
viewsQ: Save state after binding html elements
I created a question here at Sopt where my doubt was how to link HTML elements in a drag and drop. The answer you have there is excellent and completely solved my doubt. But now there is one more…
-
3
votes1
answer308
viewsQ: Link HTML elements
I’m trying to make a little project just to learn more about HTML5, CSS3 and Javascript. In this project I have a div which is kind of a panel and another div that would be a square that I would put…
-
2
votes2
answers268
viewsQ: Taking a partial name from a process
Is there any way that I can get a process that’s running under a partial name, like what happens to like in a survey SQL? 'Cause I ask this, I got one team viewer customized here for the company.…
-
4
votes2
answers758
viewsQ: Check for installed components
In my project I have a built-in browser so that the user can access a particular site he needs. The browser works, only it has as requirements the C++ 2012 library and Flash. Is there any way to…
-
1
votes1
answer183
viewsQ: Sort nodes from Tree view
In my Tree view I have several child nodes. All nodes are created with numbers as these identify a different file and are composed by date. How could I sort these nodes numerically? I mean, like:…
-
11
votes3
answers13259
viewsQ: How to develop user manuals?
I came across a situation here that prompted me to look for some software that would allow me to create a well done user manual. What happens is that I was tasked with developing the system user…
-
4
votes3
answers821
viewsQ: Problem between C# system and Warsaw plugin (GAS Technology)
My project was built with the C#language. Everything was going smoothly, until some customers started reporting errors when opening my system. The error goes as follows: the client clicks on the…
-
1
votes2
answers457
viewsQ: Automated backup in SQL Server Express
In my current scenario I have a service of Windows which rotates in the background which at a specified time by me rotates a batch that makes the backup and saved in the Dropbox. But what happens is…
-
4
votes2
answers121
viewsQ: Software Release by Customers
The system I develop has several clients who use it. But I have a problem which is this: if I release a new version of the system, I raise it to the ftp, all customers using it have access to this…
-
1
votes1
answer45
viewsQ: Code abstraction with multiple Replaces
I have this code pad: xml = xml.Replace("<html>", ""); xml = xml.Replace("<head>", ""); xml = xml.Replace("</head>", ""); xml = xml.Replace("<body>", "<certidoes>");…
-
4
votes2
answers525
viewsQ: Removing strings from html files
In my project I need to read the contents of an HTML file as said in that question of mine. What happens is I can scan the file, but there’s a comment I wanted to take out. The peculiarity is that…
-
2
votes1
answer2559
viewsQ: Read HTML file
In my project I need to read an HTML file that in source code has a structure of an xml. I need to read this HTML file, get the value of xml tags that have there do a whole process to save this data…
-
0
votes2
answers55
viewsQ: Disable Toolstripbutton in Form
I need to do a check and if it is true, the button remains enabled, if it is false, the button must be disabled... How could I do that ? So far only have the if, because I do not know how to do…
-
1
votes1
answer1342
viewsQ: Avoid saving duplicate data
In my project I have a rule that is not to save and not to show in Grid duplicated data. For example, in the system I read a XML and with the exception of tags in a table in my database so that this…
-
2
votes2
answers573
viewsQ: Query in a column with different values
In my project, I have a SELECT which brings me back two names, but these names are different. On my command, I need to return these two different names that are in the same column of the bank in a…
-
0
votes1
answer533
viewsA: xml load in gridview
I managed to solve it very simply. Note that in the code, I have foreach’s that iterate on all tags of XML to take the value in them. Coeds: private void tsbImportarXML_Click(object sender,…
-
3
votes1
answer533
viewsQ: xml load in gridview
In my project, I need to select an XML file from some hard drive folder and then read its contents and show in a gridview. Right now, I can open the window to select the file, but I can’t read that…
-
6
votes1
answer2687
viewsQ: String signature in Base64
In my project, I have a rule that I need to sign the string of a XML that I have you on Base64 with the user’s CPF... I’ve been doing some research, but I couldn’t quite understand how this…
-
1
votes1
answer399
viewsQ: Mount Grid according to XML tags
I have a headache in my project here... I have to consume data from a webservice that sends them in format xml. At the present moment, I can receive this xml of webservice, but I can’t sweep the…
-
0
votes1
answer873
viewsA: Undefined object reference for an object instance.?
This error happens for a very simple reason: after a certain time, preset in your web.config, the cookie is deleted from browser. This is a certain precaution for your application. But to circumvent…
-
1
votes1
answer1834
viewsQ: Data Search with Datagridview
I’m working with Winforms and I’m trying to implement a DataGridView(dgv) on a research form I have in my project. What happens is: I have two dgvs that form the sort of master-detail. I did it by…
-
7
votes2
answers1066
viewsQ: Listview or Gridview in Windows Forms
I’m studying about Windows Forms Aplication. I made a tutorial where Listview is used to display the data of a query according to the parameters passed. But I noticed that you also have Gridview for…
-
0
votes1
answer229
viewsQ: Incoming SMS
I’m trying to learn to mess with the twilio applying it to a project, even testing, in ASP.NET MVC 5. Amid my Google dig, I found this tutorial here which explains how to use it. I did everything…
-
0
votes2
answers7710
viewsA: Unable to locate Data Provider . Requested Net Framework. Sql Server + Entity
This is happening because you are not explicitly declaring the provider you are using, ie your database. So to solve this,: <entityFramework> <defaultConnectionFactory…
-
0
votes1
answer1168
viewsQ: Password encryption in login
I need to create a way to encrypt my password in my system login, because I haven’t implemented this security yet and I don’t have much idea how to do this. So how could I create this encryption and…
-
1
votes1
answer269
viewsQ: Get last login of the user
In my project I came up with this business rule. I need to pick up the last time the user logged in to the system. So it would be something so that I could catch the day and time of the last login.…