Questions tagged as 'c#'

1
answer

Use data from a table for login

I want to use the data of a table in SQL Server to verify the user data, whether it is registered or not. I already manage to connect to the database, and save the data, what should I do? protected void Button1_Click(object sender, EventArgs e...
asked by 10.10.2018 / 04:25
1
answer

Read client environment variable C #

I have a web application made with C #, which is installed on a server to which different terminals access. To identify each terminal I have a system environment variable created in each terminal to which I have to access from the server. I trie...
asked by 19.10.2018 / 02:00
1
answer

Failed to move from one Array of string to another of Dates C #

The error gives me inside the loop for , I need the date to enter the format of "days / months / years hours: minutes". protected void Page_Load(object sender, EventArgs e) { string strfechas = Request.QueryString["date"]; char...
asked by 10.10.2018 / 10:29
1
answer

Raw Entity Framework

I'm trying to call a SQL Server query from Raw var result = context.Database.SqlQuery<UniversalExtend>("SELECT distinct(PC.ProductoCatalogoId)," + " P.Nombre + ' ' + PL....
asked by 09.10.2018 / 06:06
0
answers

IIS Parse Error with entity framework

What I want to do is upload my web project that I created with entity framework, locally the project works without any problem but when I upload it to the server I get the following:    Error Message Nonconceptual Schema node to embed as a re...
asked by 09.10.2018 / 23:28
0
answers

download base file 64 with update panel

Help engineers, I try to download a file that is a Base 64 string; This can be a pdf or image, the case here is that when you want to download the file; in the browser I get the following error Uncaught TypeError: Can not read property 'PRM_P...
asked by 10.10.2018 / 02:53
0
answers

ShutDownHook equivalent of java in C #

I am creating a connection to a database in SQL server with C #, and I want to make a hook to close the connection when closing the application, just like in java when using the ShutDownhook.     
asked by 10.10.2018 / 01:42
0
answers

report in crystal reports does not print on thermal epson tm-l90 printer

I have a report designed in crystal reports from visual studio with C # and I have a thermal printer Epson TM-L90, the problem is that at the time of printing the report does not appear in the printer, it only generates the cut and does not prin...
asked by 08.10.2018 / 20:59
0
answers

Convert Query SQL to Linq

I need to convert this query to linq. select CONVERT(date, tt.FechaHora) , k.Numero ,MAX(FechaHora) ,MIN(FechaHora) ,count(case when tt.EstadoTransaccionID=1 then TransaccionID else null end) ,count(case when tt.EstadoTransaccionID=2...
asked by 08.10.2018 / 18:18
0
answers

Error running test with Selenium Grid

I have a problem and I am running some tests in c # with Selenium Grid and they give me errors such as timeouts, elements not found ... Which does not happen if I do it in local, nothing happens. I've been looking at it for several days, changin...
asked by 05.10.2018 / 11:35