Posts by Joabe Alexandre • 11 points
6 posts
-
0
votes1
answer551
viewsA: Error trying to save Asp . Net MVC image
Recently, in a study application I obtained this same error ("GDI+" Generic Error). The solution was to create a new "temporary" memory buffer to save the created image. In my case I was working…
-
0
votes2
answers212
viewsA: HTML5 concatenate checkbox with text name
I suggest using the example of BOL Mail. use a placeholder that changes with user selection. Requires less validation and the visual effect is similar to what you want. I took a sample here:…
-
0
votes2
answers48
viewsA: Conversion error in the array of a . csv file to a datatable
You need to make a cast in the line where you save the value in the datatable to save in the correct format. The code will look like this: dr["AtId"] = (int) lineitems[1]; I suggest to make a…
c#answered Joabe Alexandre 11 -
1
votes3
answers162
viewsA: Program to rename files
Complementing the response of John, you should treat cases where the name can repeat after the change (Error "file already exists"). As a suggestion you can create a list with the new names and…
-
0
votes2
answers126
viewsA: Javascript replacement of sentences
As suggested by Anderson Carlos Woss, utilize setInterval with a list of sentences to be presented. I made a code fragment to help you: var frases = ["Frase 1", "Frase 2", "Frase 3", "Frase 4"]; var…
javascriptanswered Joabe Alexandre 11 -
0
votes3
answers44
viewsA: Insert text from text boxes and read only after |
If your string always follows this standardization the split solves. Use this method: public static string GetId(string str) { var str1 = str.Split('|'); return str1[1]; }…