Posts by Deivid Farias • 460 points
25 posts
-
0
votes1
answer173
viewsA: Ajax/JSON returning Undefined
My server was not interpreting the files .inc, so I switched to .php and it worked.
-
0
votes1
answer90
viewsQ: Error Entity Framework WPF Client
I installed my application in client environment but am getting the following error: Nome do Evento de Problema: CLR20r3 Assinatura do Problema 01: eLogBook.exe Assinatura do Problema 02: 1.0.0.0…
-
2
votes1
answer1126
viewsA: Error accessing data in Mysql with EF6
I solved the problem by following the steps of another question I had posted here on Sopt. Link: Mysql net Connector and Entity Framework problem When creating the entity model, App.config creates…
-
1
votes1
answer1690
viewsA: Mysql net Connector and Entity Framework problem
I was able to solve it by following the steps of answering a question from Soen. Link:…
-
1
votes1
answer1690
viewsQ: Mysql net Connector and Entity Framework problem
When I install the mysql connector in version 6.9.11, I can see the driver for ADO.Net, so far so good. But when I try to create the template I get the following error: Now when I install the 6.10.6…
-
0
votes1
answer1126
viewsQ: Error accessing data in Mysql with EF6
When I try to access data in Mysql via lambda(EF), Visual Studio returns the following error: Falha no método >'MySql.Data.Entity.EFMySqlCommand.set_DbConnection(System.Data.Common.DbConnection)'…
-
1
votes1
answer156
viewsQ: Duplicate data on datagrid
I am developing an application in WPF and when I fill the datagrid via code it returns the duplicate value. I am using Entity Framework. XAML <DataGrid x:Name="dataLocal" Margin="10,111,11,10"…
-
0
votes1
answer173
viewsQ: Ajax/JSON returning Undefined
When making an ajax request with JSON return I am receiving Undefined, when showing the data in the console, I receive the code from php page. Can someone help me identify the mistake? Page:…
-
2
votes2
answers916
viewsQ: How to minimize an application in C#?
How do I minimize or close (to the tray) any application by C#? I’m trying to minimize Teamspeak to the system tray.
-
0
votes2
answers71
viewsQ: Data query file Settings
I have some projects in my Solution and in one of them I will have the Settings configured with some parameters. My question is: If I reference this project in others, I can read these parameters in…
-
0
votes3
answers1530
viewsA: Send file and text via jquery Asp.net mvc
At the end it was as follows: I used what @Randrade gave me, but I incremented it so I could run the bar. I was using Jquery File Upload, but I was unable to send the two inputs that were hidden, so…
-
6
votes3
answers1530
viewsQ: Send file and text via jquery Asp.net mvc
Guys I managed to send the file through this code: var jqXHRData = null; $(function () { $('.progress').progress({ percent: 0 }); $("#divUpload").on('click', function () {…
-
0
votes2
answers1338
viewsA: Make Ubmit from a form via ajax
After help from some community members I came to the following solution to my problem: HTML <div class="content"> <form id="formT" name="formT" method="post" class="ui fluid form">…
-
0
votes0
answers334
viewsQ: Semantic Modal UI Submit Window and Form Validation
I have a modal window using the semantic UI framework, I can easily use Helper @Html.Beginform it validates 1 field, but not the others. I need to do this validation via jquery when I do Submit…
-
1
votes2
answers1338
viewsQ: Make Ubmit from a form via ajax
I have following code in my controller: [HttpGet] public ActionResult Mensagem(long idT, long idD) { string raaluno = acr.getAlunoLogado().ToString(); ViewBag.idT = idT.ToString(); ViewBag.idD =…
-
0
votes1
answer1720
viewsQ: Assign href via jquery
I have an element in my Layout and I’m trying to set href via jquery, but it won’t. The condition is in my index. Follows the code: Layout <div class="three wide column dindex"> <div…
-
0
votes0
answers207
viewsQ: How to write text and image together in mysql with Asp.net mvc
I am creating a forum in my application and would like to know how to save image and text together in Mysql, as in the message field there will be a WYSIWYG editor so I will have to record both text…
-
2
votes2
answers9692
viewsQ: Entity Framework Query with Inner Join and Where
I am making a query using Inner Join of some tables and a Where with only one condition, but the data is not returned in EF,the same query in Mysql works and returns data. Follows the code: string…
-
3
votes1
answer100
viewsQ: Show data from multiple models in the view
I have the following problem: In a view I will show data from 8 different tables and I have the following code that I put together to take the data to the view. public ActionResult Index() { var…
-
1
votes1
answer229
viewsQ: Can I create modules in Asp.net mvc?
I have a home page with contact and such, like other pages. On the page I have a Login button and when I click the same redirect to a project module. Example: Home localhost/Home/Index Login…
-
2
votes1
answer1439
viewsQ: How to open an exe inside a windows form C#
I need to open a . exe inside a Windows form in C#, how to proceed with this. I already searched the net and found the following example: [DllImport("user32.dll", EntryPoint = "SetParent")] public…
-
1
votes2
answers616
viewsA: Dynamic Connection EF C# Windows Forms Mysql
After much searching and analysis I was able to solve the problem. As described in Update 3 I found a method to change the xml file of the app.config and I put down the code with the solution of the…
-
3
votes2
answers616
viewsQ: Dynamic Connection EF C# Windows Forms Mysql
I have the following problem: EF creates a connectionString in the app.config and uses this connection always, but if you need to change the database server I will have to change the app.config. I…
-
2
votes2
answers1798
viewsQ: Show current date in Editorfor Razor
People would like to know how to insert the current date into a @Html.Editorfor? I’ve searched a lot of places but so far I’ve got nothing.
asp.net-mvcasked Deivid Farias 460 -
2
votes1
answer831
viewsQ: Return view that is in another directory
I added a folder inside another folder in the views folder, this way: Views/Register/Profile Inside the profile folder are the files .cshtml. However, when I try to access the files .cshtml I get an…
asp.net-mvcasked Deivid Farias 460