How do I hide some labels if the value for datetime DataType are default
How do I hide labels that display unwanted values if I don’t want to? I have a form with TextBoxes where user inserts their values into database. Four of the Textboxes are to input Dates and Times. Example, 1.DateFrom – 2. DateTo and 3. Time From – 4.…
How integrate SSRS Mobile Reports in MVC ASP.NET web project
Hi. I'm working with SSRS server. I saw in many places : in the microsoft web, in youtube tutorials or in this forum how integrate paginated reports (.rdl) on a .net project. But I can't find any tutorial of how integrate mobile reports in a .net…
How to get checkbox have checked false or not checked on post method on mvc razor page?
I work on mvc razor page I face issue I can't get checkbox not checked or have checked false on post method on page model csharp . Only I can get selected checkbox true . @Html.AntiForgeryToken() <form method="post"> <button…
Excel upload to gridview in asp.net C#
Hello I used this code to copy excel and paste in textbox and it shows perfect in gridview but i want country data column should be default value to comes once only ID,Name from excel and i paste it textbox for example county name IND how to change this…
My asp.net page is hacked?
i have a newsletter subscription website running for years 6 months ago, my website received subscriptions with unknown text input at 1000 average per month. My website will then send out confirmation email to the email address. my website input is also…
How to get which checkbox have check true or false on razor page mvc ?
I working on asp.net core MVC razor page . I face issue I can't get checkbox checked or not on page model razor page . so which checkbox have checked or not checked this is exactly I need to get on page model MVC. so if checkboxes StockTake and…
Cannot connect to SQLlIte in .NET
I placed sqllite file in App_Data the file name is logindb. When I try to open the file it gives error // Create a new database connection: sqlite_conn = new SQLiteConnection("|DataDirectory|logindb"); …
Binding a table with List
I need to display two search box and a table on my view. below is the model class: public partial class Transaction { public string TransactionId { get; set; } = null!; public string? ReceiptNumber { get; set; } public string? EmailAddress { get;…
How do I convert an old ASP.NET WebForms app to an application?
Back in the early 2000s Microsoft's WebForms projects were of one type. (I don't remember what they were called back then - it's been too long.) Then Microsoft upgraded the project type to what I think was called a WebForms Application. (I'm not certain,…
![](https://techprofile.blob.core.windows.net/images/fefadda8866e4e3f859dcdf8cef56e0e.png)
how can add validation date
How can add validation date ?
![](https://techprofile.blob.core.windows.net/images/MxBLrky2rESG0hes4GqOKQ.png?8D92C1)
How to dynamically unhide a anchor tag that I have hid using "display:none" in my asp.net project
This is the code I have <div class="dropdown" id="drp" runat="server"> <div class="tab"> tab</div> <div class="drpdown-content" style="top:20px"> <a…
MVC C# get device unique Id or IMEI Number
Hi how to get Mobile device Unique Device id or IMEI for iPhone/Android/Windows/iPad or any device in asp.net C# MVC. as per requirement if i browse any web application through mobile device then will save Unique ID or IMEI in database for access…
How to call function RelatedUserAccessPermission to fill check boxes based on id returned ?
I work on .NET core 7 MVC razor page . I face issue I can't fill check boxes Id StockTake and ShelfLabelPrint by using ajax request to this function RelatedUserAccessPermission URL below I run it on browser to access function…
i am calling API with Allow Anonymous Access
[AllowAnonymous] [HttpGet] [Route("api/HelpVideo/{ID}")] [ResponseType(typeof(HttpResponseMessage))] public HttpResponseMessage GetHelpVideo(int ID) { try { …
Binding a List to a Table
I have the following controller: public async Task<IActionResult> Display(SelfServiceTransaction trans) { Transactions transactions = new Transactions(_recorderContext); List<Author> author =…
ASP.NET Core 6.0 which uses Microsoft Identity Platform for authentication and Active Directory groups for authorization
We are building an ASP.NET Core MVC web application for an organization. This organization has their users in Azure Office 365. We are planning to create a new ASP.NET Core MVC web application and define the authentication to use the Microsoft Identity…
link using "a" tag with target _blank in MVC
I'm trying to add a link in our MVC web site to an external website and I want to open it in a new tab. Unfortunately, when I add target="_blank" to my link, it stops working. Without it, it correctly opens in the same tab. In a new created MVC…
How to allow IIS web app file download to a server in another VLAN
Hi, I am trying to develop an ASP.NET web application that consists of saving xml file to a server (shared folder) in another VLAN. I can see the file being saved successfully when I tried to run in debug mode (in my PC) but the file cannot be saved when…
asp:label text= is too long to work with. How to work on multiple lines but not with <br>
hi on my asp:label text= fields the text is too long How to work on multiple lines in the html code area but not with <br> because i don't want that the text will be cut on the webpage for the client i just want to work with long text= zone in the…
![](https://techprofile.blob.core.windows.net/images/JiX-lf2_BgAAAAAAAAAAAA.png?8D8532)