I'm new to C# and I'm trying to figure out how to create one CSV per folder using data from a SQL database. I have several large SQL tables that are named by year(Ex. Claims_2001, Claims_2002, etc..). I will need to retrieve the data for 5 years from the database, create a folder for each...
I work on an ASP.NET MVC razor page. I face issue Url change from
Resignation/RequesterIndex?filenumber=103085
to
Resignation/Create
after click submit button.
I need URL as it was before, without change after click submit button. How to do that please?
What is issue on my code that make...
I work on razor asp.net core . I face issue i can't store selected value id and selected text of select option drop down on hidden fields
so I need to create two hidden fields first hidden field to store selected value id and second for store selected text
<div class="col-md-3 col-lg-2">...
I have a code similar to this below
C#Copy
using(webclient wc = new WebClient())
{
string fileinfoname = "test_one";
string pathinfo = @"C:\testfolderinfo" + fileinfoname + ".xlsx";
wc.downloadFile("www.testurl.com/report", pathinfo);
}
I am currently experiencing a situation where the file...
I work on razor page on asp.net core 7 I need to make form or box with details of users success as below
but I don't know what is name of box have user details
I pass data after login success by following
@TempData["UserId"]
@TempData["UserName"]
@TempData["Company"]...
I working on blazor server . i get issue evaluation function required all threads to run
i get this error when login on
var resultIdentity = await signInManager.PasswordSignInAsync(UserName, "xxxxx", false, false)
it stop on this line and hang and stuck on debugging
so what is issue and how...
I am in need of a nuget package/library which offers the functionalities to edit audio files (such as changing pitch/tempo/trimming audio) on a website that will be made with React.
Looking forward to your suggestions.
I have defined few shortCode in Database. When i am displaying in view, ShortCode not replacing with the PartalView defined in the Dictionary.
In Database i am creating a field Description. There i am storing HTML text along with Few Short code. When i display Description in view. I want the...
I want to insert table in db and make connection to mysql to vs. The error i attached in the attachment and coding given below
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using...
I am trying to learn ASP.NET MVC and ADO.NET. I am making a demo website in which there would be an admin panel. The admin would update the Daily Messages which will get reflected in the main homepage. I am using ASP.NET MVC. I have created the table in database as
create table DailyMsg(Sno int...
I am creating a website in asp.net. My website has an admin page. The admin will use this page to daily update website's content. This content will get reflected to the main website.
I am using Application variable to pass values from one page to another.
Admin.aspx
<form runat="server">...
I am Developing a web API in .net MVC how to access that API endpoint in my devices which are connected to my local network for testing on my phone? keyoti not working properly
Hello, im currently getting to grips with ASP.NET Core and I've ended up having an issue with one of my functions within my UsersController class.
UsersController.cs
public class UsersController : ControllerBase
{
private readonly IDBConnection _isqlConnection;
private...
I have 2 asp.net WebForms, WebForm1 contains a button that redirects into WebForm2 which contains a contact form that needs to be filled to proceed an order. I have a drop down list in it that is connected to the database, and depending on which product a button on the WebForm1 is clicked, the...
Hello good people. New here. First post.
First up, I am by no means a "professional" developer. I have written quite a few desktop applications in Python Qt, VB.NET and C# WinForms, Java Swing (many years ago), and a whole bunch of code to automate host applications with VBA (Excel, Access...
I am a beginner in C# programming and trying to code a function that sums up all numbers from the start to the end and If the start number is greater than the end number, the function swap the values so that the start number becomes the end number and the end number gets the value of...
Microsoft will retire its old certifications like MCSA and MCSD on 31 January 2021. Microsoft plans to introduce new role-based certifications to replace these older certifications.
Which newer, role-based certification is for C#/.NET ?
Hi. everyone!
Actually this question is the continuation of Question, but now I have the same problem on ASP.Net MVC
I have the following task : write the validation attribute, which checks, if String format is right to parse into DateTimeOffset and if it isn't, app should throw an Exception. I...
i have a problem with Entity. Want to use Entity in DbContext class but it is not working even though I added it to the packages. So when i write the "System.Data.Entity", it turns red. (Error: CS0234)
Maybe Visual Studio doesn't see the Entity package.
Visual Studio 2019 .NET Core 2.0...
A gridview is placed in UI where the data retrieve from db it will dynamically create the rows according to the number of rows return from db can we able to break line space between the dynamic created rows
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.