Questions tagged as 'asp.net'

2
answers

Error when wanting to edit row in GridView with ASP.Net

Enable the fields IndexChanging, CancelilngEditing and RowUpdating, At the moment of clicking on "Update" if it shows the labels and the text in them but when and in "Update" it throws me an exception    Index was out of range. Must be non-ne...
asked by 18.05.2017 / 13:42
2
answers

Formula Casteo Decimal asp.net

Good afternoon: I'm making a Nominal Rate formula for that they gave me this formula: = (((TEA + 1) ^ (1/12)) - 1) * 12 decimal x = 3.141592654M ; double pi = (double) x ; dtorequest.Tasa = Convert.ToDecimal((Math.Pow((Convert...
asked by 08.06.2017 / 22:59
0
answers

how to remove a row from a gridview

I have 2 gridview on a page, the first is filled from a database and the second filled with the rows that I select in a checkbox, in each row of the gridview I have a button linked with a method to eliminate that particular row <asp:GridVie...
asked by 14.05.2017 / 02:37
0
answers

DataGridView filter and sort columns

I would like to be able to filter and sort columns of a DataGridView, just as it is done in Excel. Could you indicate if this should be done by programming, for example to filter: Include an arrow in the Head of the Column and there put an event...
asked by 16.05.2017 / 22:33
1
answer

ReportViewer with null values

I generate a report with area, Type, and two dates within which the area and the type can contain or not values, with the four parameters works correctly, but how can I get the query executed correctly when the value is null? ? Thanks!...
asked by 16.05.2017 / 18:55
0
answers

Save and export a txt to a network drive

I managed to save it in a specific folder, but at the same time it is staying in the download folder and I do not know how to remove it so that it is only saved in the path I am passing through using (SqlCommand cmd = new SqlCommand( "select *...
asked by 17.05.2017 / 12:03
0
answers

Error generating secure assembly name. Assembly generation failed - 'S22.Imap' referenced assembly does not have a strong name

Greetings, I have a problem with a dll that was downloaded from visual Studio 2010, in Nuget Packages. After creating the assembly signature, I get the following error: Assembly generation failed - 'S22.Imap' referenced assembly does not hav...
asked by 05.05.2017 / 15:58
1
answer

Error saving EF ASP.NET image

Currently I have the following structure in my model for an image field of my bd [Table("especialidad")] public class clsEspecialidad { private int iId_Especialidad; [Key] [Column("id_especialidad")] [Display(Name = "Id Espe...
asked by 11.05.2017 / 19:18
1
answer

Error list in gridview with foreach [duplicate]

I wanted to know how I can display the data in a gridview, I know that I have to return the list but I can not find how, it should be easy but I'm just starting with c # DataTable SBTable = new DataTable(); OleDbCo...
asked by 04.05.2017 / 14:08
0
answers

Error: File '../*.aspx' does not exist Application_Error Global.Asax

The error occurs when I changed the version of the Framework from 4.0 to 4.5.1. In the previous framework I did not have that problem. When you enter any page for the first time (example: ' Site / Folder / Pagina.aspx ') loads well, but wh...
asked by 04.05.2017 / 18:26