5,691 Topics

Member Avatar for
Member Avatar for Rushabh Verma

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?

0
215
Member Avatar for khalilbnzz

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 == …

0
341
Member Avatar for akhter_1

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 …

0
352
Member Avatar for Катя_1
Member Avatar for madamx

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 …

Member Avatar for SeanDevoy
0
457
Member Avatar for Pranu_1
Member Avatar for Pranu_1
Member Avatar for shreyas_3

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 == …

Member Avatar for PsychicTide
0
386
Member Avatar for Jessica_16

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 …

Member Avatar for Jessica_16
0
564
Member Avatar for PotaZinga

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 …

Member Avatar for Mounika_6
0
4K
Member Avatar for Kang_1
Member Avatar for Arjen_2

$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 …

Member Avatar for ryantroop
0
446
Member Avatar for Nonny_1
Member Avatar for Nonny_1
-2
360
Member Avatar for phoenix_dwarf

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 …

Member Avatar for Ibrahim_16
1
4K
Member Avatar for Link_1

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 …

Member Avatar for RobinR
1
393
Member Avatar for UI

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 …

Member Avatar for diafol
-5
811
Member Avatar for Eric_20

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 …

Member Avatar for tonym001
0
438
Member Avatar for berserk

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 …

Member Avatar for rproffitt
0
297
Member Avatar for Himanshu Chawla

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 = …

Member Avatar for rproffitt
0
474
Member Avatar for Khaliunaa

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.

Member Avatar for ddanbe
0
389
Member Avatar for Alv45525

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 …

Member Avatar for Alv45525
0
456
Member Avatar for HaxNain

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

Member Avatar for rproffitt
1
230
Member Avatar for Naters_uk

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 …

Member Avatar for ajeet_4
0
2K
Member Avatar for Twee Nguyen

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) { …

Member Avatar for deceptikon
0
378
Member Avatar for DATAMART

How do i host my asp.net website online ? Another Question Are there free servers for asp.net ?

Member Avatar for Dani
0
87
Member Avatar for Amr_3
Member Avatar for Clif40RD

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 …

Member Avatar for Xavier_5
0
2K
Member Avatar for Abdalla_1

class AdvancedKeyboardTester { static void Main(string[] args) { for (; ;) { Console.ReadKey(); } } }

-2
209
Member Avatar for bincy_2050

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

Member Avatar for sai_10
0
10K
Member Avatar for Rahul_56

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 …

0
236
Member Avatar for zachattack05

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 …

Member Avatar for rproffitt
0
589
Member Avatar for Link_1

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" …

Member Avatar for Link_1
0
3K
Member Avatar for visweswaran28

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 …

Member Avatar for Jitesh Kumar_1
0
3K
Member Avatar for Link_1

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> …

Member Avatar for rproffitt
0
547
Member Avatar for newbee_jv

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 …

Member Avatar for newbee_jv
0
2K
Member Avatar for Link_1

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 …

Member Avatar for wazztech
0
333
Member Avatar for Link_1

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 …

0
208
Member Avatar for Jim_12
Member Avatar for Link_1

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 …

Member Avatar for rproffitt
0
734
Member Avatar for Link_1

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 …

0
375
Member Avatar for Nareshp_123

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 …

Member Avatar for Ankur_6
0
4K
Member Avatar for RudyM

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 > …

Member Avatar for RudyM
0
303
Member Avatar for jamst149

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 …

Member Avatar for Konstantinos_2
0
1K
Member Avatar for Link_1

![as1.png](/attachments/small/4/e567c7cd76bf9f6460345131854df142.png "align-left") 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 …

0
198
Member Avatar for _1_30

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.

Member Avatar for rproffitt
0
176
Member Avatar for Naheed_2

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" …

0
294
Member Avatar for pezzinae

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 …

Member Avatar for rproffitt
0
242
Member Avatar for Zack_4
Member Avatar for Jonas_1
1
94
Member Avatar for Link_1

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 …

0
175
Member Avatar for pezzinae

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 …

Member Avatar for pezzinae
0
191

The End.