Posts by pnet • 14,727 points
909 posts
-
8
votes3
answers11523
viewsQ: Putting two Yes and No buttons on a Javascript message
I need to do just that: In case the user click No, system closes the message and keeps the existing information on the screen. On the screen there is a button limpar and he calls the function…
-
2
votes0
answers479
viewsQ: Format excel cells via Behind code
I have a routine that generates a spreadsheet in excel, coming from an Oracle database. What happens is that in BD I have values like this: 3456.90 or 1900.00 When these values arrive in the…
-
2
votes1
answer590
viewsQ: Field alias in oracle Where clause
I have a Decode in my select so: ..... DECODE(MAT.IND_TIPO_MAT_MED, '1', 'BRASINDICE', '2', 'SIMPRO', '9', 'TABELAPROPRIA') TIPOTABELA, ..... I need to pass these values on the clause where, for…
-
7
votes1
answer1438
viewsQ: Generate header when exporting data to excel
I did an export routine for the excel, using StreamWriter, but it causes me a problem. I can’t get the name of the columns that come in select. To make the header, I had to put it in the hand. This…
-
3
votes1
answer132
viewsQ: Date in odd fractional format 0.00xxxxxxx
I get that date from the comic book: 0.002976190476190476 I would like to move to this format: dd/mm/yyyy, using javascript pure or jquery. How I do? Here is the ASP that assembles the select:…
-
0
votes1
answer70
viewsQ: Nuget package on local IIS or intra
I set up the nuget local and worked very well, both on my machine and on the network. What I want is to put the packages(DLL) in the IIS, so that when passing the address(URL) where are the DLL's,…
-
0
votes2
answers1350
viewsA: Remove a column from gridview
Try this: private void BindDataAndInitializeColumns() { dataGridView1.AutoGenerateColumns = true; dataGridView1.DataSource = customersDataSet; dataGridView1.Columns.Remove("Fax");…
-
1
votes1
answer131
viewsA: Copy DLL to directory with . nuspec without referencing it in project
What I want is impossible. The very nature of Nuget does not allow, ie if it is DLL and is in the folder in which the Nuget search, will be installed. If there is a need to have a situation similar…
-
6
votes1
answer131
viewsQ: Copy DLL to directory with . nuspec without referencing it in project
I created a local Nuget. It worked fine until we found a problem that I can’t solve right away. The following: There is a reference in the project, which calls another reference. Well, it turns out…
-
4
votes1
answer620
viewsQ: Mount a local package manager (Nuget)
Due to a huge problem that happens here in the company, such as package dependencies, so the company decided to create a NuGet private, which runs locally. The purpose of this is when anyone…
-
5
votes2
answers229
viewsQ: Create javascript-mounted title attribute in <td>
I have a table called gridContudo. In this table, there is this <td>: { width: 100, name: 'OBSERVACAO', index: 'OBSERVACAO', label: 'Observação'}]. What I need is to create a title attribute…
-
0
votes1
answer37
viewsA: I compile a package and give errors. Error location is wrong
I did. I was setting a date, adding a value to it to increase days and that was wrong. What was going on that this problem was on line 378 and the error was on line 249, 250 and 274. But I’ve solved…
-
-2
votes1
answer37
viewsQ: I compile a package and give errors. Error location is wrong
After compiling a package, comes this error message: 249/36 PLS-00103: Encountered the Symbol "TS_ODO" when expecting one of the following: := . ( @ %; The Symbol ":=" was substituted for "TS_ODO"…
-
6
votes3
answers789
viewsQ: I can’t align a label inside a <td>
In a calendar, I need to put a label next to it. It turns out that the label is getting underneath it. If I open another one the label is on the far right, and I need it right next to it. Here the…
-
4
votes2
answers4976
viewsQ: Remove the time part of a date in c#
This is not working: DateTime? _data = calDataExclusao.Date; string nova_data = _data.ToString("dd/mm/yyyy"); The mistake is: No Overload for method 'Tostring' takes 1 Arguments How I remove the…
-
0
votes0
answers230
viewsQ: Pass xml as parameter to a proc is returning null
My xml may be wrong, of course. but since I’m not sure, I say: I need to pass a parameter via programming to a proc. As in my program is coming null, I decided to run directly manually first in…
-
0
votes1
answer827
viewsQ: Javascript call from within code Behind does not work
This is my job: <script type="text/javascript"> function montaDataSubstituicaoPrestador(dt_exclusao) { var arrData = dt_exclusao.split('/'); var exclusaoFormatada = arrData[1] + '-' +…
-
0
votes0
answers39
viewsQ: Problems identifying file with errors in Chrome dev tools
I have an aspx page, which by Chrome dev tools gives me the following error: Uncaught Syntaxerror: Unexpected token ILLEGAL The problem he points to that line: prs0101.aspx.561 It turns out that…
-
3
votes1
answer223
viewsQ: Tooltip with mouseover inside a column of a grid js
I have this grid: function CarregarGrid() { $('#gridConteudo').jqGrid({ colModel: [{ width: 80, name: 'COD_OPERADORA', index: 'COD_OPERADORA', label: 'Operadora', formatter: GridOperadoraFormatter…
-
1
votes1
answer88
viewsQ: Scroll inside a javascript table
I have this Function that mounts a grid in js function CarregarGrid() { $('#gridConteudo').jqGrid({ colModel: [{ width: 80, name: 'COD_OPERADORA', index: 'COD_OPERADORA', label: 'Operadora',…
-
0
votes1
answer1155
viewsQ: Debug Function within a package
I have a package with several functions and procs. How do I, using pl/sql Developer, debug? I would like to know how I go to the error and see what is being passed. Using the pl/sql Tests tool I…
-
4
votes1
answer201
viewsQ: I cannot remove a reference installed by Nuget
I installed the DLL Log4net for nuget. Since it’s in a different version of ours and a colleague gave it to me as usual, I deleted it from the folder and put the current one. When I build the…
-
0
votes1
answer423
viewsQ: Object in oracle giving as invalid(Invalid)
I gave one select * from all_objects where object_name = 'meu_objeto';. Well, that way, I got four lines. Two lines referring to SYNONYM and that doesn’t interest me and two more lines: PACKAGE and…
-
8
votes2
answers14461
viewsQ: Convert string to date
I need to make a function increment X days to a date. The problem is that the date is coming as string in that format: dd/mm/yyyy and at the time of assigning the X days to that date, says it does…
javascriptasked pnet 14,727 -
5
votes2
answers213
viewsQ: Add days to a date within the method and return it with new period
I tried to do a function to add to that date, days coming from a parameter passed in the function. Below the function: function montaDataSubstituicaoPrestador(){ var exclusao = new…
javascriptasked pnet 14,727 -
1
votes1
answer57
viewsQ: Understanding pl/sql syntax Oracle 11g
I have an Oracle PROC 11g. Inside proc has something like this: v_prazo_subs_ans ts_odo.odo_controle_sistema.val_parametro%type; Where: v_prazo_subs_ans is a variable ts_odo.odo_controle_sistema is…
-
0
votes1
answer1939
viewsQ: Questions about functions and procedures within Packages(oracle)
I have a package in my bank and can’t see the source code of the procs and functions within it. Below packege code and Inside procs and functions: CREATE OR REPLACE PACKAGE…
-
-1
votes2
answers938
viewsA: How to join lists in c#?
See if that works for you: List<int> lista1 = new List<int>(); lista1.Add(1); lista1.Add(5); List<int> lista2 = new List<int>(); lista2.Add(6); lista2.Add(9); lista2.Add(1);…
-
0
votes2
answers1053
viewsQ: Put a datepicker in a mvc 5 view with jquery or similar
I have this Razor in my view: <div class="form-group"> @*@Html.LabelFor(model => model.DT_AGENDAMENTO, htmlAttributes: new { @class = "control-label col-md-2" })*@ @Html.Label("Data de…
-
0
votes2
answers745
viewsQ: Field saves only date and part of time is "zeroed"
I have this part of code in my view. <div class="form-group"> @*@Html.LabelFor(model => model.DT_AGENDAMENTO, htmlAttributes: new { @class = "control-label col-md-2" })*@ @Html.Label("Data…
-
1
votes1
answer169
viewsQ: Very difficult to mount an update with Linnus
I’ve done some updates with Ingles no problem. but the way my code is, I’m having trouble. What’s the rule: 1) I have a screen where I do some reporting requests. Soon I may have n requests in…
-
1
votes0
answers1006
viewsQ: Error reading byte array passed as parameter
That is the mistake: The input is not a valid Base 64 character string, as contains a character that is not base 64, more than two characters from or an illegal character between the characters of…
-
0
votes1
answer338
viewsQ: I can’t download a file by Actionlink mvc5
I know the error is in the way I am interpreting the routine. I have a routine to download a file attached to a table. This file was generated by my application (binary) and now I need to write this…
-
0
votes1
answer479
viewsQ: Open external program via mvc5
I’m having a hard time doing an operation. I have a console application that opens a PDF. This console takes the name of Servico.exe, although it has the service name, it is an exe and not a…
-
0
votes1
answer183
viewsA: Display the full list of tables on an Oracle connection with Entity
I solved it. After a lot of stirring, I saw that in the connection, opening it, there is a tab called Filters. In it, among some options, there is one that we can add and remove schemas. I added the…
-
0
votes1
answer183
viewsQ: Display the full list of tables on an Oracle connection with Entity
As I do in a connection to the Oracle database, show all tables. made a connection and I have over 500 tables in the bank and only shows 74, that the three I need to mount the POC that I’m doing,…
-
6
votes1
answer523
viewsQ: I’m not getting a Oracle file with Code First
Here’s what I’m doing: Folder Model dou Add > New Item follows pictures Then select ADO.Net Entity, give a name and ADD I select Code First and give Next Well in this step, I select , and look at…
-
1
votes1
answer507
viewsA: Difficulty in passing a parameter to a rdlc I have (Oracle)
I resolved so: public static void Emitir() { //Relatório com DataSource = ORACLE dsPlanoMedico.PLANO_MEDICODataTable dtPlanoMedico = new dsPlanoMedico.PLANO_MEDICODataTable();…
-
1
votes1
answer507
viewsQ: Difficulty in passing a parameter to a rdlc I have (Oracle)
I am unable to pass a parameter to my report. I have a field called Regulated, referring to the Ind_regulated field. see the code below and how I make this filter? public static void Emitir() {…
-
9
votes2
answers326
viewsQ: Is the term ASP.NET MVC correct?
Is it correct to use the term ASP.NET MVC? It seems that they are two different things, like, in MVC we no longer use components of ASP.NET, we use either HTML or Razor or both? I know that besides…
-
12
votes2
answers720
viewsQ: What Means Two Keys in Javascript
I understood the "===" that tests value and type, different from the "==" that tests only value, but I didn’t understand the double key, type: {{alguma_coisa}}, for example in a Javascript that I…
-
1
votes0
answers173
viewsQ: Problems loading image by css
I have a library, in the original it was as follows. The archive . css was at the root, and there was a folder called images that css searches for: /images/image.png. Well, we had to make an…
-
1
votes0
answers554
viewsQ: IIS prevents loading some javascript and style
I have an HTML page that I am doing some tests. Without IIS, it works normally, but when I call IIS, then the problems start: 1) The General Style rises (viewer.css), but when I style an element,…
-
2
votes1
answer55
viewsA: When climbing the site gives error: Failure to load a file
Locale.properties. Mime Type missing. I made text/Plain for . properties and gave no more error. Does not show the PDF, but this will be another post if I do not solve.
-
2
votes1
answer55
viewsQ: When climbing the site gives error: Failure to load a file
When I go up the site gives me that mistake: GET http://localhost:3000/locale/locale.properties 404 (Not Found)xhrLoadText @ l10n.js:128parseResource @ l10n.js:257L10nResourceLink.load @…
-
2
votes2
answers2375
viewsQ: Set up site on IIS 7. Do not start site
I created a website called Testepdf. I gave this alias to it: testepdf. I created a directory and set it to dir virtual(C: wwwroot Testepdf). In the application pool I switched to classico and the…
-
0
votes2
answers1360
viewsA: Viewer for PDF with jquery
Marconi, let me see your example. So here I picked up on the internet, it worked, using a guy named Zohoviewer. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head>…
-
0
votes2
answers1360
viewsQ: Viewer for PDF with jquery
How do I open PDF in google Chrome by jquery without the need to install plugins? There is no need for source code, just as I should do. It can be a link and etc...
-
3
votes1
answer271
viewsQ: Web service security attributes
You can use the AuthorizeAttribute in asmx, Soap or Rest? webservice and custom attributes, such as the below (example only)? [System.AttributeUsage(System.AttributeTargets.Class |…
-
3
votes1
answer83
viewsQ: Security Attributes
A friend asked me how to give more security in your application, to avoid a kind of "url injection", IE, someone manually type an "addicted" url and bypass the system. Of course, there are several…