asp .net

  1. M

    Question Create CSV file for each folder

    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...
  2. ahmedaziz

    Question after click on submit button URL change How to keep it as it is without changes?

    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...
  3. ahmedaziz

    How to store selected Id and selected text on hidden field using razor

    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">...
  4. N

    excel extension issue

    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...
  5. ahmedaziz

    Question How to make user data details after login success with form below?

    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"]...
  6. ahmedaziz

    Issue threading when run login identity on blazor server ?

    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...
  7. EdizOnFire

    Audio Editor with React and ASP

    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.
  8. S

    Replace shortcode with partialview in ASP .NET

    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...
  9. maddyrafi

    Resolved Connection string Error VS

    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...
  10. A

    Resolved How to pass data from Controller to WebForm in ASP.NET MVC?

    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...
  11. A

    Resolved How to set a paragraph text dynamically in ASP.NET?

    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">...
  12. sachin Shrestha

    testing web API endpoint locally?

    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
  13. S

    Resolved ASP.NET CORE : unhandled SqlException: Invalid object name 'Users'.

    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...
  14. Bojan123

    Question Decrement value from SQL database bug

    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...
  15. Miles

    A question on architecture

    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...
  16. Kevin91

    Resolved method to sum up numbers between two numbers

    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...
  17. A

    Which NEW Microsoft certification is for C#/.NET (as MCSA and MCSD will get retired soon) ?

    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 ?
  18. Dragon4ik

    Resolved CustomValidationAttribute doesn't work

    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...
  19. etkmlm

    Resolved Entity Framwork Not Working

    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...
  20. S

    Question Can we break line space in between dynamic gridview

    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
Back
Top Bottom