Posts by Kaizonaro • 671 points
20 posts
-
0
votes1
answer135
viewsQ: How to migrate data between tables referencing ID?
I have a table called Clipping in my database containing various data, including binary data of an image in a column varbinary(max). I need to migrate only the binary data column to another table…
sql-serverasked Kaizonaro 671 -
4
votes0
answers177
viewsQ: How to monitor the progress of a VB.NET INSERT query?
I’m storing files in a database SQL server using a varbinary(max) field. I wonder if it is possible to detect the progress of the file upload (in which case it would be a INSERT in the table) using…
-
5
votes3
answers21403
viewsQ: Turn rows into columns with their respective values
I have the following table idRegistro|Campo |Valor 1 |Nome |Zonaro 1 |Email |[email protected] 1 |campoX|valorX 2 |Nome |Fulano 2 |tel |1188889999 2 |campoY|valorY I need to create a select that…
-
2
votes1
answer193
viewsQ: Register a custom protocol in Windows
I don’t know if I’m asking you correctly, but I don’t know where to start looking. I would like to register a custom protocol in windows like some applications do. Example: Spotify -> Spotify:…
-
0
votes1
answer32
viewsA: Upload files between different sites in ASP.NET C#
It works the same way as an internal Submit. Just don’t forget to put the attribute enctype='multipart/form-data', configure the attribute method='post' in the form and ensure that the submit does…
-
2
votes0
answers124
viewsQ: How to break the page using Nreco.Pdfgenerator in ASP.NET/C#?
I’m using CSS to break the page, I’m putting it inside a <asp:Repeater> In the first break everything happens well but in the third page it breaks incorrectly (in the middle of the page).…
-
2
votes1
answer586
viewsQ: How to transfer content from a contenteditable div to a textarea or input?
I’m having a problem trying to transfer content from a DIV editable for a textarea with Jquery. The code I’m using is this one: function setData(id) { id.className = "input editavel esse"; var valor…
-
1
votes2
answers92
viewsQ: How to make a method to write to the variable in which it extends?
I had an idea to apply in loops and wanted to make a method bool.toogle() where the variable extends the same value will receive the opposite value. Something like this: bool variavel = true;…
-
0
votes1
answer32
viewsQ: Upload files between different sites in ASP.NET C#
I’m developing an access area for the customer where all website administration is done through it. All pages are created dynamically by making requests in a specific file on the client’s website.…
-
2
votes1
answer38
viewsQ: How to remove 20 pixels from an element with Jquery
I need to re-calculate the size of an INPUT TEXT element because a button of 20 pixels will be dynamically added next to it. I tried that and it didn’t work $(this).width(function () {…
-
8
votes1
answer658
viewsQ: How to login to the site using Instagram, Twitter or Google+ account on Platform . NET (C#)
I’m looking to develop something of the kind but I have no references to how to do, could help me with some example?
-
5
votes1
answer543
viewsQ: Parameter of any type in method
I am building a method and would like it to extend into any type. For now I am using string but I would like the same to work for int, float, double and datetime. public static bool isNotNull(string…
-
1
votes1
answer656
viewsQ: Cut an image every 300 pixels high
I’m developing a clipping report generator where I need to insert images captured from web pages. Most of the time it is necessary to cut them and to distribute them on the PDF pages. How do I…
-
1
votes2
answers851
viewsQ: Unite results of various procedures in a single table
I have the following process where I pass the name of a column and it counts the records of that column. exec psGraficoestatistica 'Email' It returns a column with the name EMAIL and a single line…
sql-serverasked Kaizonaro 671 -
6
votes2
answers233
viewsQ: Is there any way to handle all Exceptions of the software?
I’m creating a DLL for use in various projects of mine. I created a method that captures Source, Message and other variables that I defined, assembles an email and sends them to myself. (a kind of…
-
2
votes1
answer608
viewsQ: How to request administrator permission in Visual Basic.NET
I am creating a project that accesses protected Windows folders. How do I request administrative user access.
-
2
votes1
answer225
viewsA: List files from a directory by approximation
Thanks for the help guys, I got the solution I needed just by adding "*" before and after the word I used to search. was like this FileInfo[] Arquivos = diretorio.GetFiles("*" + arquivo + "*" +…
-
2
votes1
answer225
viewsQ: List files from a directory by approximation
I have a screen where I list files from a certain folder. I have a search bar that uses the same method to find files, but I can’t list by approximation. Example: I have this file…
-
5
votes2
answers814
viewsQ: SQL function that applies to each row of the column
We work with several tables that contain a date field, sometimes we need to separate the date string into 3 columns (day/month/year). I made a function where you pass the date string and it returns…
-
3
votes1
answer988
viewsQ: How do I remove the character limit of a URL by GET or POST
I have an error sending the form, it returns an error MaxQueryString. Is there any way to increase this number/remove this limitation? because on web.config a high value is already set and it is not…