Questions tagged as 'asp.net'

1
answer

Error inserting it

The procedure or function 'Insert Product' expected the parameter '@Name' private static int ejecutaNonQuery (string StoredProcedure, List<DbParameter> parametros) { int Id = 0; try { using (DbConn...
asked by 12.11.2018 / 15:25
1
answer

Do not throw me the expected result when I use the inner join

the first code brings me the result well select t.TransaccionId, t.NetAmount, t.UserId, t.Id_movimiento, t.CreatedDate from TablaPrincipal t where id_movimiento is null the second code select t.TransaccionId, t.NetAmount, t.UserId, t.Id...
asked by 06.11.2018 / 21:49
3
answers

Give a specific format to a date field in a gridview asp.net c #

Someone knows how to format a row of gridview by codehebing I've been trying this but can not get out: protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { e.Row.Cells[2].Text = e.Ro...
asked by 14.06.2017 / 15:51
2
answers

Compare two dates in VB.NET [closed]

I would like to know how to compare two dates with .Net; The current date and a manually inserted date. Format: YYYY / MM / DD     
asked by 25.05.2018 / 22:46
1
answer

display site in IIS without configuring hosts file

I have an IIS application configured in a local network to deploy a .net site, but to each computer in the network I have to configure the hosts file to visualize the site, how can I do it so that I do not have to configure the hosts file and I...
asked by 24.08.2018 / 19:57
1
answer

Print ticket with JS or jQuery

I have a query system which prints a voucher with a query number and some additional information, all this is done with asp.net mvc 5 I had used PrintDocument () to print on the thermal printers of my clients but apparently The option of printin...
asked by 21.08.2018 / 22:22
1
answer

Open a Dialog () from a .JS file using a DropDownList

Hi, I am new programming and I would like to know if you can have an Dropdown list of asp that opens depending on the selection, a dialog () of jquery but that this dialog () is inside a common file .js I have a script that when placed direct...
asked by 27.11.2018 / 17:19
1
answer

OutputCacheLocation.ServerAndClient does not work!

I'm using OutPutCache with the OutputCacheLocation.ServerAndClient parameter in an action that always returns images to me; However, the browser always downloads the images (it does not save them in cache), if I use OutputCacheL...
asked by 08.08.2018 / 20:09
1
answer

How can I execute one method after another?

I have a question if this is possible. I have two drop-down lists, but they are divided into 2 different methods since each one has different functions. He asks me is I do not know if it is possible to declare the call of it. As for example;...
asked by 10.08.2018 / 21:10
1
answer

Pass gridview to Crystal report with dataset? asp .net c # webform

Hi, I have a webform project in asp .net with c #, and in it I have an sql query to show data from several tables in a gridview (I did not put the complete sql query because it is a lot and it is from my work), and I want to export that table to...
asked by 16.03.2018 / 19:45