• Register

Recent questions tagged asp

0 votes
1 answer 3 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 6 days ago boris elin 620 points
0 votes
1 answer 2 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 6 days ago boris elin 620 points
0 votes
1 answer 4 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 6 days ago boris elin 620 points
0 votes
1 answer 2 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 6 days ago Daniel Anderson 2.1k points
0 votes
1 answer 4 views
0 votes
1 answer 7 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 8 views
The connection's current state is Connecting. When attempting to connect to the MSSQL database via ASP.NET online.
asked Aug 29 Sofi55 740 points
0 votes
1 answer 9 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 650 points
0 votes
1 answer 7 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 650 points
0 votes
1 answer 13 views
0 votes
1 answer 8 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 7 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 21 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
0 votes
1 answer 8 views
Problem: I am facing below strange looking error when I tried to add a script Manager to a password strength of AJAX toolkit. "Only one instance of a ScriptManager can be added to the page." I had added the password strength alongside the ... "RequiredFieldValidator10" ControlToValidate="Password"    ErrorMessage="Password is required." />   </ContentTemplate> </asp:UpdatePanel> </td> </tr>
asked Aug 1 Raphael Pacheco 4.9k points