How to create dynamic report depend on user input by ASP.NET Core?
I want to build a dynamic report by Asp.net core -EF-, I searched for many ways and ideas, but it doesn't support my idea, I am so disappointed, the core idea of my project is to get tables and columns names from the database and displays them for the…
Cannot implicitly convert type 'System.Collections.Generic.List<ERP_APP.Models.BigbaleView>' to 'System.Collections.Generic.List<ERP_APP.Models.ProbaleMV>'
I am facing following error Cannot implicitly convert type 'System.Collections.Generic.List<ERP_APP.Models.BigbaleView>' to 'System.Collections.Generic.List<ERP_APP.Models.ProbaleMV>' i am using below two model public class ProbaleMV …
Trying to upload excel file size 2 MB, when rows are more than 10000 then reading only 6000 rows and remaining rows are not added.
I am using Asp.net, using FileUpload control trying to read excel file and converting them into StringWriter. IF StringWriter data is processed directly in SQL query I can see all the rows are available but when I run through interface then I can see…
what is the solution to get "CODE" value directly from Link Button not from the query string?
Hello Guys; The below codes work very well and I did not have any problems. but I just want to avoid page postback when the user clicked on LinkButton Product_Item. what is the solution to get "CODE" value directly from LinkButton, not from the…
how to set a position of modal popup extender with dropdownlist at any screen size ?
Hi members i have a modalpopupextender that should be at the right of the screen i used x and y property and sometime in smaller screen it get not visible,i used a javascript to set the position and with button that outside the modalpopup it work fine if…
how i get the width of browser using asp.net
Hi members i want get the width of the web browser and i tried without succeed. this is my try : Dim wid = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width Dim hy = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height this code doesn't work in…
How can i fix conversion failed when converting date and/or time from character string error
SQL CODE alter procedure [dbo].[urunGiris] @TableName varchar(100), @MalzemeStokNo varchar(50), @MalzemeAd varchar(100), @Irsaliye varchar(100), @MalzemeAgirlik varchar(50), @GirenMiktar int, @GirenTonaj FLOAT (53), @CikanMiktar int, @CikanTonaj FLOAT…
How to show buttons previous and next buttons when display pagination gridview ?
I work on asp.net web forms . I face issue I can't display previous and next button with Numeric page number . current status display page number numeric mode only as 1,2,3,4 etc. but I can't display previous and next with page numbers so How to make…
Reload page or Refresh control values ,after submit in database
I have class,which is, i am calling into controller for Prdno get from database. public class RecordID { SqlConnection con = new SqlConnection("data source=SERVER1\\SQLEXPRESS;initial catalog=SilverProduction;integrated…
Required a Jquery | suming checkbox in aspx form
Hi, I have two gridvies, with one Label <asp:Label ID="Gender" runat="server"></asp:Label> If Lable having Gender Value is "Male" then count Limit is 2 if "Female" then count limit 4 Grid-1 …
disable entire section of checkboxes if a check box is clicked
I want to disable a section of checkboxes if the "not interested" check box is clicked. below is my code: <div> I have the following JavaScript: function Reassign(cb) { if (cb.checked == true) { …
Caret displays inside of asp:Label control instead of beside it
I am trying to have a caret display beside my asp:Label control so that when the caret is clicked, there will be a dropdown that will have logout, but the caret is displaying inside the label. How can I have caret display beside the Label instead of…
input array is longer than the number of columns
Hello guys: why does it show an error sometimes on my mobile device error: input array is longer than the number of columns on the row Basket_DataTable.Rows.Add(new object[] { Request["PRID"] this is full my code …
MVC Controller how to realize a big test CHARGE ?
Hello all, we have developped a asp net mvc controller -> Post method where the ws receive a list of string The list of string will be MAX 50 elements and each string will be MAX 15 characters. Actually, the ws works well in local, but how to test in…
How to pass date parameter from view to controller in MVC
I want to pass date parameter from View to controller and retrieve data on the base of date parameter. C_Date is my date parameter below is my table class public class CustomerMV { public int CustomerID { get; set; } public string…
video page
<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" RepeatColumns="2" RepeatDirection="Horizontal" Font-Bold="False" Font-Italic="False"…
What do (TextBox) and Controls[0] mean in this code?
Hi, now at school we are learning how to use GridView. We have a table with all the information of all the users. When we want to update a row, we need to store name, last name and other data in separate variables. Our teacher does it this…
error InvalidOperationException: JavaScript interop calls cannot be issued at this time when pass value from page to page ?
I work on blazor web app with .net core 7 . I get error when try to pass user name from login page to another page dashboard after use login success. I pass data using session storage from login page to dashboard page . from debugging I check function…
How can I stop logs generated by AspNetCore?
I have an ASP.NET Core project running on an Azure Web App, logging to blob storage, which is full of hundreds of MB of the following: [Information] Microsoft.AspNetCore.Hosting.Diagnostics: Request starting HTTP/1.1 [Information]…
File uploader control in each row of html table
I am generating the rows dynamically in a HTML table on a button click. In each row there is a HTML file uploader control. Let say If I create 3 rows and on each row I browse the 3 different files for uploading. when I click submit button, I am being…