5,691 Topics
![]() | |
When creating a new WebAPI Project in Visual Studio 2019 and changing authentication to Individual User Accounts, the only option is to connect to Azure but back in WebAPI projects in the .NET Framework, user accounts can be stored in-app. How to achieve this in .NET Core 2.2? | |
Hello, [Click Here](https://i.imgur.com/47YUdmn.png) My problem is in the Edit view, it gets all the information except the logo.. my edit get controller is : // GET: Billers/Edit/5 public ActionResult Edit(string id, HttpPostedFileBase logo) { if (id == null) { return new HttpStatusCodeResult(HttpStatusCode.BadRequest); } Biller biller = db.Billers.Find(id); if (biller == … | |
i have made leaves managment system ,now i want to mentioned leaves days in attendance register if employee take leave from 1-1-2019 to 4-1-2019 then 5 day display in attendance register as a (L) . kindly guide me how it will get done. here is my attendance register query in … | |
Can I use the extensions forever or one year? | |
Hi, I have been programming C# for some time, and i recently learned about constructors and objects, but didn't fully understand. Can anyone please help me understand this, and please spell it out. I have tried googling it, but couldn't really find anything, that made me understand it. -What is … | |
| |
How can we apply Themes to an asp.net application? | |
string minute = "15"; string minute2 = "20"; string minute3 = "27"; string minute4 = "02"; TimeSpan first = TimeSpan.Parse(minute); TimeSpan second = TimeSpan.Parse(minute2); TimeSpan Third = TimeSpan.Parse(minute3); TimeSpan fourth = TimeSpan.Parse(minute4); TimeSpan now = DateTime.Now.TimeOfDay; if (now == first|| now == second || now == Third || now == … | |
Hi Guys! I have a website but we don't host in GoDaddy or any hosting website, because we use SQL database. And we have a large database that we are using , the website is for productions. We store a lot of data. We use the IP address because we … | |
Hi everyone i am getting an error that says Microsoft Office Excel error '800a03ec' Unable to get the Open property of the Workbooks class when i try to open an excel work book in my code . The line of code where i get the error is [icode] Set ExcelBook … | |
test for check more 5 items | |
$count1 = array(); $count1[0] = " 1"; $count1[1] = " 2 1"; $count1[2] = " 3 2 1"; $count1[3] = " 4 3 2 1"; $count1[4] = " 5 4 3 2 1"; $count1[5] = " 6 5 4 3 2 1"; for ($b = 1;$b <= 6;$b++) { echo … | |
| |
I have a asp.net page with the following on the page: [CODE]<asp:FileUpLoad id="FileUpLoad1" runat="server" /><br />[/CODE] but i need to get the pathname in that textbox to use with a stored procedure. Now the only thing i can get is the filename (not the path). Any ideas? This is my … | |
I makeing a website using VB .net inside visual studio. I have a database where I am storeing names. Than I am displaying these names inside a table. here is a ex: ---------------- | dave | bob | | john | bill | ---------------- I was to add a button … | |
Guys, ... and let's not forget the "Girls"! I am really starting to get pissed off at the searchengines. For 2 days now been googling (tried ask.com now too) searching for web proxy hosts as I want to run a free service like: http://anonymouse.org/anonwww.html But hardly any relevant results. You … ![]() | |
Hello everyone! Basically a user is able to select one or multiple rows using checkboxes in a GridView and then a delete button which deletes selected rows. The problem is, the code behind for deleting works until I started using UpdatePanel. It just broke and I have no idea what … | |
I haver an IIS server with an mvc 5 app im developing and i have had no luck so far getting the windows authentication working with my app, i have it set to windows authenication but the app will only auto login users when accessed from the server. Then once … | |
using (MySqlCommand cmd = new MySqlCommand("SELECT EmpId, Emp_Name, Salary , Start_date , End_date , CASE WHEN (Employees.End_Date is null) THEN DATEDIFF(DATE_ADD(Start_Date, INTERVAL 30 DAY), Start_Date) * Salary/30 ELSE DATEDIFF(End_Date, Start_Date) * Salary/30 END AS Total_Salary From Employees;")) { using (MySqlDataAdapter sda = new MySqlDataAdapter()) { cmd.Connection = con; sda.SelectCommand = … | |
How to can i do like this: datagridview1.row [i] = input value , and results(calculated) in datagridview2's row[i] = output value. it means input row and output rows are neeb to be same. i need to connect them. please help me. | |
Hello , i kinda need some help here. The below code is to check if a category already exists before adding it to the table category. If ever i insert a category that already exists, if gives me the message that it already exists. The thing is that if it … | |
How to set value from code to an asp.net TextBox with TextMode=Time? i want to set current time to textbox of textMode=time.. | |
I am creating a update member page. I would like the page to auto retrieve the information he or she originally used while registering on my site and display them into the individual textboxes of the update profile page, this is to prevent the hassle to rekey in every individual … | |
I would like to show content of a table in SQL database to a gridview in C# project, but there is a trouble, the gridview shows nothing. could you please help me to fix it! Thanks. Here is my code: protected void Page_Load(object sender, EventArgs e) { if (!this.IsPostBack) { … | |
How do i host my asp.net website online ? Another Question Are there free servers for asp.net ? | |
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly … | |
class AdvancedKeyboardTester { static void Main(string[] args) { for (; ;) { Console.ReadKey(); } } } | |
Hi, I am developing a website. I have a folder containing some images. Please somebody help me with the code so that the users can download the folder when they click on the download button. Bincy | |
I have problem while calling jquery functions it generates double output while when we do highlight questions and crossout on html content sometimes highlight and crossout also not working with selecting using Ctrl+A or select all. highlight and crossout values i am storing to database so, we can remain next … | |
The Membership table for our ASP.NET site has the encrypted passwords and password salts stored when a user logs in. The site is already served over an HTTPS connection, but we would like to give our clients the ability to download and save certain files and documents. We would like … | |
I am using visual basic, javascript, and html. I am trying to use google hierarchy chart api. I works fine on localhost but when I try to move the same code to the server than I get the following error: Error: Object doesn't support this action <%@ Page Language="VB" AutoEventWireup="false" … | |
Hi, I am working on membership concepts in asp.net. Now i want to reset new password and getpassword for specific user. this is my web.config code: <add name="MySqlMembershipProvider" connectionStringName="SQL2005DB380ConnectionString" applicationName="MyAppName" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Encrypted" enablePasswordReset="true" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> How can I get old password and reset new … | |
I have a delete button by createing <asp:ImageButton>. first row user cant delete the item so I dont want a delete button on first row? how can i do this? <asp:DataList ID="DataList1" runat="server" DataKeyField="ID" OnDeleteCommand="DeleteCommand" RepeatColumns="2" RepeatLayout="Table" RepeatDirection="Horizontal"> <ItemTemplate> <asp:ImageButton runat="server" ID="deleteIB" CommandName="Delete" ImageUrl="x-icon.png" /> <%# DataBinder.Eval(Container.DataItem, "PRINT") %> </ItemTemplate> … | |
Hello everyone, I have 2 Tomcat app servers (Tomcat1, Tomcat2) on 2 different hosts. Tomcat1 is my main J2EE web application that has a commercial certificate, and the application works correctly. Tomcat2 is a dependent component that has a self signed certificate. both tomcats are behind a load balancer. When … | |
getting conversion error I am creating a website using a VB Error: if I print getID1 Conversion from string to type 'Integer' is not valid. Error: if I print getID2 NullReferenceException was unhandled by user code. Object reference not set to an instance of an object. ** # .aspx file … | |
I am making a website using vb .net I have a datalist which has a datatable and delete button. the output llooks some thing like this below. 'X' is the delete button. --------------------- | X name1 | X name3 | | X name2 | X name4 | --------------------- When user … | |
How to create a datalist table layout in vb? I am using vb .net I have a following data: DataBase: databaseName Table : tableName -------------------- | ID | randomNames | -------------------- | 1 | name1 | | 2 | name2 | | 3 | name3 | | 4 | name4 … | |
How to create a datalist table layout in vb? I am using vb .net I have a following data: DataBase: databaseName Table : tableName -------------------- | ID | randomNames | -------------------- | 1 | name1 | | 2 | name2 | | 3 | name3 | | 4 | name4 … | |
Hi all, I want to have a button in a page like 'open File'. on which if user clicks, it should open open file dialog box to select a file and as soon as he clicks on the open button it should open the file (in same window or different … | |
![]() | Hi all, This is a very elementary question, but I'm a couple of days into this. Which web.config file should one store keys in? Keys to use within a Model/Controller? I see four different ones: Project > Views > Web.config Project > Web.config Project > Web.config > Web.Debug.config Project > … ![]() |
![]() | which is not possible. I have a dell e1505 running xp So I bought this [URL]http://www.newegg.com/Product/Product.asp?Item=N82E16822145113[/URL] and this [URL]http://www.newegg.com/Product/Product.asp?Item=N82E16817392009[/URL] Perhaps of note is that the HDD is OEM. I'm not really sure if that plays into any of the following. Installed HDD into enclosure per instructions and connected it to … |
 Please take a look at the attached image first. I would like to recreate this. I am using VB and bootstrap. Code: <div id="body_wrapper"> <div id="theCarousel" class="carousel slide" data-ride="carousel"> <!-- Text --> <div class="carousel-inner"> <div class="item active"> <div class="slide1"></div> <div class="carousel-caption"> <h1>my picture 1</h1> </div> </div> </div> <div … | |
How would you explain JavaScript closures to someone with a knowledge of the concepts that make up them (for example, functions, variables and the like), but does not understand closures themselves? I have seen the Scheme example given on Stack Overflow, unfortunatly it did not help. | |
Hi, I have the following html code I have for a task manager. <%@ Page Title="" Language="C#" MasterPageFile="~/Site02.Master" AutoEventWireup="true" CodeBehind="Tasks.aspx.cs" Inherits="DMS.Tasks" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div class="row-fluid sortable"> <asp:Button runat="server" ID="btnAddTask" CssClass="btn btn-success btn-toolbar" Text="Create Task" OnClick="btnAddTask_Click" /> <asp:Button runat="server" … | |
Hello everyone has in the past this site has been helpfull for any kind of project that i´ve done well, now it´s time for make some charges for the time that i been spending on those projects but i don´t know how, please ¿can you help me to make a … | |
Hi Guys Please help me I want to know that how can use google api in asp.net mvc. | |
I am using VB. How to select mult iteams in listbox using backend code? I have a listbox where user can select muti items. <asp:ListBox ID="lb" SelectionMode="multiple" runat="server" DataValueField="dv"> <asp:ListItem>red r</asp:ListItem> <asp:ListItem>blue b</asp:ListItem> <asp:ListItem>green g</asp:ListItem> </asp:ListBox> How can I set so the value of "blue b" and "green g" is … | |
Hello everyone please i need your opinion about a creation of a dashboard that can be seen on a webapplication i´ve trying with the controls of DEVEXPRESS but without success, if anyone knows a better way to achieve this kind of task please let me know another thing......all controls it … |
The End.