Posts by rysahara • 362 points
18 posts
-
1
votes1
answer32
viewsA: Adding 2 rows of fields in a Database using C# (MVC)
Look at your second Insert, it is with "mv", which is the first Insert has to put the "mv2". [HttpPost] [ValidateAntiForgeryToken] public ActionResult Efetivar([Bind(Include =…
-
-1
votes3
answers289
viewsA: How to calculate the week of the year in pure Javascript, without relying on libraries?
See if this function helps you function semana(ano,mes,dia) { function serie(dias) { return 86400000*dias; } function dateserial(ano,mes,dia) { return (new Date(ano,mes-1,dia).valueOf()); } function…
javascriptanswered rysahara 362 -
3
votes2
answers1617
viewsA: What is LINQ technology?
Integrated Language Consultation (LINQ) is an innovation introduced in . NET Framework version 3.5 that bridges the gap between the world of objects and the world of data. Traditionally, queries in…
-
1
votes0
answers164
viewsQ: Ajax error null return value
I have a function in ajax: $.ajax({ type: "POST", url: "@Url.Action("FiltraLevatamento", "Consulta")", data: JSON.stringify(jsn), contentType: "application/json", dataType: "json", async: true,…
-
0
votes1
answer170
viewsQ: For the movement of a picturebox c# windows
I have a picturebox and I make his movement only to the right and left, but I would like that when the end of the image reaches the edge of the form and the beginning, it is no longer possible to…
-
0
votes0
answers1142
viewsQ: Move Image in Picturebox C# Windows Forms
I looked for some examples on the Internet, but the ones I tried didn’t work. I load an image at runtime, this works normally, but I am not able to move the image that is loaded inside a PictureBox,…
-
2
votes1
answer109
viewsQ: Image in C# Windows Forms
I’m doing a new project using C# windows Forms, and I needed to open an image and rotate it only horizontally. I looked for some examples on the Internet, but I couldn’t find one that was clear.…
-
2
votes1
answer839
viewsQ: Install Serial for Android APP
I am developing an app in anrdoid, and I would like to know if it has a serial for the installation of the APP, so it can be used only on the tablet on which installed? If you have other ways to do…
-
0
votes1
answer157
viewsQ: Fix Table Title
I have a table that is generated using JSON: <div id="divResult" ></div> The script of the JSON: $.getJSON("@Url.Content("~/CadLevVisCont/ProcessaLevantamento")", { nmUF: catUF,…
-
0
votes2
answers1831
viewsQ: Choose color in <input type="Submit"...>
How could I set a color for the input. Below I have one of the input that I use. <input type="submit" id="Submit69" class="btn btn-default btn-block" value="REP+H4" title="Clique Selecionar as…
-
1
votes1
answer545
viewsQ: How to upload multiple images to SQL Server using JSON in ASP.Net MVC?
I need to insert a set of information into the SQL Server database data, but along with them some pictures along with some strings. I’m wanting to move everything by JSON. Input to select image:…
-
0
votes2
answers1603
viewsA: Delete All Sharedpreferences from Android App
I did it this way: public void deletarSharedPreferences() { SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this); SharedPreferences.Editor editor =…
-
-1
votes2
answers1603
viewsQ: Delete All Sharedpreferences from Android App
I am in the middle of a development of an application on ANDROID, which contains many Activity and for each Activity has some checkbox and I am using Sharedpreferences to save what was selected if…
-
3
votes2
answers359
viewsQ: Mount screen on Android
I’m developing an application on android and I’m in a part that I need to put many items on the screen and so it doesn’t get too messy, I thought of putting a screen with the style of the image that…
-
2
votes1
answer528
viewsA: Error generating Pie Chart "pie" in ASP.NET MVC highchart
Putting it this way solves the problem. var dataResult = new List<List<Object>>(); dataResult.Add(new List<object>(new object[] { leg1.ToString(), vlr1 })); dataResult.Add(new…
-
0
votes1
answer528
viewsQ: Error generating Pie Chart "pie" in ASP.NET MVC highchart
I’m having trouble generating a pie chart in the style of Highcharts. I have the following code to generate the series: if (vlrTot1 >= 0) { Dictionary<string, object> aSeries = new…
-
6
votes1
answer682
viewsQ: How to produce JSON in the format that Highcharts expects?
I have the following code in C#: Dictionary<string, object> dataResult = new Dictionary<string, object>(); dataResult["data"] = new List<object[]>(); dataResult["name"] = i;…
-
2
votes3
answers1069
viewsQ: jQuery multiline highcharts
I have an MVC application and would like to clarify some questions on how to implement a chart with database data. I am using jQuery to get the values from the database, but did not understand how…