• Register

Recent questions tagged asp

0 votes
1 answer 11 views
Problem I am newbie to C# I am confused by .Net Garbage Collection logic. When does GC free memory?
asked Oct 8 alexh 1.6k points
1 vote
1 answer 21 views
What does CultureInfo.InvariantCulture mean? How to Convert String to DateTime?How to 2020-09-22 12:57:52,531Class string converted to DateTime ?
asked Sep 21 Aliza313 720 points
0 votes
1 answer 7 views
Problem: Hi, I want to take multiple employee ids in one shot from the user and need to assign them to list .in asp.net, pls help me to sort it out. What I have tried. I have created a text box and tried with validator but it didn't worked out.
asked Sep 14 boris elin 620 points
0 votes
1 answer 8 views
Problem: Hello. I am using visual studio 2019 and doing a project WPF using Telerik UI. I trying to change the cell color of gridview with conditions. please help me. What I have tried: radGridView1.ItemsSource = getdetails_ds.DefaultView; this.radGridView1.Rows[0].Cells[1].Style.ForeColor = System.Drawing.Color.Red;
asked Sep 14 boris elin 620 points
0 votes
1 answer 11 views
Problem: Using Javascript in C# var txtElecType = $("#txtElecType_" + RowID + ""); txtElecType.css("border", "1px solid red"); var txtElecType = $("#txtElecType_" + RowID + ""); txtElecType.css("border", "1px solid red"); var txtElecType = $("#txtElecType_" + RowID + "" ... ("border", "1px solid red"); var txtElecType = $("#txtElecType_" + RowID + ""); txtElecType.css("border", "1px solid red");
asked Sep 14 boris elin 620 points
0 votes
1 answer 3 views
For what reason i am obtaining "Unable to find the requested .Net Framework Data Provider" at the time attempting to setup a fresh datasource in Visual Studio 2010 Professional?
asked Sep 14 Daniel Anderson 4k points
0 votes
1 answer 10 views
Problem: I am very new to C# and Asp.net. I have tried to write the below code: protected void Page_Load(object sender, EventArgs e) { num = Convert.ToInt32(Request.QueryString["RegNo"].ToString()); if (!IsPostBack) { BindTextBoxvalues(); }     } But my above code is ... for the past few days, I have also taken the help from the colleagues in my team but still I am facing the same old error.
asked Sep 3 Raphael Pacheco 4.9k points
0 votes
1 answer 20 views
The connection's current state is Connecting. When attempting to connect to the MSSQL database via ASP.NET online.
asked Aug 29 Sofi55 1.1k points
0 votes
1 answer 15 views
How can you find the mime type of a file based on the file signature, not the extension in .Net? I want a simple way to get a mime type where the file extension is incorrect or not given, something similar?
asked Aug 29 Aliza313 720 points
0 votes
1 answer 9 views
How do you convert a numerical number to an Excel column name in C# without using automation getting the value directly from Excel.?
asked Aug 28 Aliza313 720 points
0 votes
1 answer 15 views
0 votes
1 answer 10 views
Problem: I am naive to Asp.Net.I am having a weird looking problem where I am trying to open up my ASP.NET MVC application but I am receiving the below ASP.NET error page which says: Server Error in '/' Application. The resource cannot be found. Description: ... unknown reason to me it seems like it is actually searching for the .aspx file. Please guide me if you think I am missing something.
asked Aug 19 Raphael Pacheco 4.9k points
0 votes
1 answer 11 views
Problem: I am trying to enable CORS on one of the very specific actions in my Asp.net Web Api. Please find below my code and tell me if I am missing anything: [Route("api/mycontroller/myaction")] [HttpPost] [EnableCors("https://example.com", "*", "post")] public ... http method 'OPTIONS'." I also tried to remove the [HttpPost] annotation but to no avail. Have I made any mistake in my above code?
asked Aug 19 Raphael Pacheco 4.9k points
0 votes
1 answer 49 views
Problem: I am completely new to ASP .net core. I guess it is giving me the dependency injection error as shown below: InvalidOperationException: Unable to resolve service for type 'Spinit ... ) Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware.Invoke(HttpContext httpContext) Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
asked Aug 17 Raphael Pacheco 4.9k points