Posts by Cesar Augusto • 341 points
21 posts
-
0
votes0
answers93
viewsQ: Show Image in Datatable Asp.net MVC
I’m having trouble displaying an image in my application’s datatable. I get the name of the image but it does not display. "columns": [ { "data": "Id", "name": "Id", "autoWidth": true }, { "data":…
-
4
votes3
answers11182
viewsQ: Append javascript
I have a modal that opens when I click on a link, in this modal I will type an email that when I click on add email, will add the email text in a <ul> <li> below the input. I already…
-
0
votes0
answers603
viewsQ: Show Total order value on View Asp.net mvc
I have a View Index where I will show the name of the store the order total and sum all orders and show the total value. I created a Reportstore. I can get total orders. In my table it is already…
-
0
votes2
answers31
viewsQ: Compare shorter term between Asp.net columns
Making order system, I have several warehouses, let’s assume I have to compare 2 warehouses that have shorter delivery time using entityframework,how would I do that? I’m trying to do more it just…
-
1
votes1
answer203
viewsQ: Select all items with same Id in the same table
Very well, I will try to be as clear as possible. I have the stock table where will have there several products -> Productoid and its Quantity. In the same table the product can be repeated with…
-
0
votes1
answer215
viewsA: Entity Framework Asp.net mvc data comparison
Stayed like this: Estoque estoque = db.Estoque.Where(x => x.ProdutoId == model.ProdutoId).FirstOrDefault(); int qtdEstoque = estoque.Quantidade; Produto produto = db.Produto.Where(x => x.Id ==…
-
0
votes1
answer215
viewsQ: Entity Framework Asp.net mvc data comparison
I need to receive the value and quantity in stock of a particular product according to your Id.By debug the product id is arriving correctly, but when I am going to assign the values to the table…
-
0
votes1
answer198
viewsQ: Recover data from View Asp.net
I have following problem, when I place an order in the quantity field when I place a certain number I have to arrive if I have in stock in the bank, and if I have to reduce the quantity in the…
-
0
votes1
answer315
viewsQ: Using an existing database
I have a database (SQL-Server); if I connect to it, I still have to create the classes EPH and use a Migration?
-
1
votes2
answers555
viewsQ: Do not update a particular EF Asp.net mvc field
I have a table that every time I create a new registration has the field Datacadastro, however when I want to edit I do not want to change the date that was registered and only changes the other…
-
0
votes1
answer911
viewsQ: Return data from 2 Entity framework tables
I have the following table: Moving -moving -Clienteid -Productoid When I select a particular customer I want to list all drives in which they are along with the product. what I would call it inside…
-
0
votes1
answer37
viewsQ: Does not list database data correctly in View Asp.net
The data was entered into the database, but the View does not show one of the fields. I checked in SQL Server and it’s all right, but the name field returns empty in view public ActionResult Index()…
-
0
votes2
answers655
viewsQ: Call the controller via javascript or ajax and insert in table Asp.net mvc
How can I get an item from ul li pass its value(id) to my controller and insert that value into the table? I already have the list this chunk of code below already works I can add items in the list…
-
0
votes1
answer950
viewsQ: Foreign key Entity framework Asp.net mvc
I have My Repair and Repair Table and I’m getting the following msg when I try to update my Migration: "The introduction of the FOREIGN KEY restriction 'Fk_dbo.Fixeddbo.Pecas_pecasid' in the 'Fix…
-
0
votes0
answers131
viewsQ: Auto complete does not work Asp.net mvc
I have a table in the database called Disciplines, and I have a field search in my Index that if I type a letter"A" should suggest "Analysis and development" that’s an example, but it doesn’t work,…
-
3
votes1
answer3224
viewsQ: Input string was not in a correct format
When calling the method below comes the message the input character string was not in a correct format private void SubmitData() { try { string user = usuario.Text; string pass = senha.Text;…
-
0
votes1
answer944
viewsQ: Pass data to a listview in another Canvas Activity
I have a college exercise, I have to fill name field, age and Cpf when you click the "register" button it sends the data to another Activity screen where will be added the registration names in a…
-
0
votes1
answer207
viewsQ: Expire Mysql user time
I’m making a system of login in C# where the login user will be verified his login, password and the time left to use the system. Until the login and password check part I managed to do, but I’m…
-
2
votes1
answer159
viewsQ: Hide form through C#keys
I’m making a menu in c# and the same only opens when the game is open or running, IE, if the game is running show the menu, so everything well it performs, but I wanted to hide the menu for example…
-
6
votes4
answers2097
viewsQ: Print arraylist information on the screen
I have a ArrayList but I’m not being able to print the data on the screen. Follows class: public class Cachorro { private String Raca; private String cor; private String nome; private String…
-
2
votes1
answer384
viewsQ: Pass data from one form to another class
I have very cute Form1 with very cool button and inside it I have a toggle button on-off. I have another class.Cs and I have a condition in it, but it will only perform if that boot there on Form1…