Posts by Leandro Raveli • 76 points
7 posts
-
2
votes1
answer183
viewsA: Paging a Datagridview
First you must change your program to return the paged values by passing 2 more parameters. -index of the page; -Number of requested records. CREATE PROCEDURE dbo.proc_PaginadaExemplo ( @IndexPagina…
c#answered Leandro Raveli 76 -
0
votes1
answer23
viewsA: Error saving record without choosing category in dropdownlist
This happens due to the fact that you are assigning to the placeholder "[ Select a city ]" the value "0" that does not exist in the related table. Remove this snippet and instead of creating the…
-
0
votes1
answer233
viewsA: Uploading files (images) in ASP.net does not send the image
This form lies within another form? If yes remove new { enctype = "multipart/form-data" } and add to the parent form.
-
0
votes1
answer29
viewsA: Can I set up an upload page, which can receive photos, video and zip packages containing photos and/or videos?
Yes. Using the same input file. Only change the way the file is treated on the server side depending on the file extension. Save the file and manipulate using the System.IO reference. Refer to a ZIP…
-
0
votes1
answer71
viewsA: How to force the updating of some values when I use the Javascript window.history.back()?
You can store the information using cookies. <input id="backbutton" type="button" value="Back" onClick="atualizarCarrinho()"/> function atualizarCarrinho() { document.cookie =…
-
2
votes3
answers1677
viewsA: How to disable Submit from a form by "Enter" - c# MVC
You can also turn Submit into a button. <input type='button'> And submit the form via JS. $('#form_id').submit();
-
2
votes3
answers5808
viewsA: Problem running Visual studio debugger
1 - Clear folders: C: Program Files (x86) Common Files Microsoft Shared Vs7debug C: Program Files Common Files microsoft Shared Vs7debug 2 - Make a Visual Studio Cover OBS.: This can be caused by…