12,085 Topics

Member Avatar for
Member Avatar for Violet_82

I must admit I feel a little embarrassed to post this, but I don't seem to get this simple flipping application to work and I'm getting this error: Login failed for user ''. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack …

Member Avatar for Violet_82
0
3K
Member Avatar for Violet_82

Hi guys, I'm in a bit of a situation here and I was wondering if anybody has any suggestion. Basically, I need to retrieve some data from 2 or perhaps 1 SQL table (that's what I'd like you to help me finding out). OK, here are my two tables (sure …

Member Avatar for Violet_82
0
293
Member Avatar for sachin.sonawane3

write a program to display a square root and cube of 1 to 10 number in a website using asp.net

Member Avatar for faheemsial
0
79
Member Avatar for alaad

Hello, I'm working an application with asp.net, but I have a problem in session.. I searched a lot about how to kill a session when browser closed but it has not any solution. Thanks for help.

Member Avatar for faheemsial
0
151
Member Avatar for AwaisAhmed88

I am working on a project, where we need to access multiple Web Forums API, I need a Generic way by using that I can get the User Data and Posts. For example these forums (nationstates, steampowered, simplemachines, StackOverFlow) provide their Api. So it is difficult to write 4 Methods …

Member Avatar for faheemsial
0
151
Member Avatar for coder91

Hi I am trying to export a gridview to CSV except i am getting an error due to some of the columns in the gridview not being visible. Was wondering if anyone knows how to fix this or a different way to export to csv. protected void gv_RowCreated(object sender, GridViewRowEventArgs …

Member Avatar for faheemsial
0
160
Member Avatar for jay.barnes

Hi, all I'm working with an aspx file that's supposed to check on a directory (on the same server the file lives on) to see if a file of a particular name exists. Based on its response, it's either supposed to create a link to that file, or, well, do …

Member Avatar for jay.barnes
0
186
Member Avatar for Sana Qureshi

Ok so i have been trying and trying to solve this issue, but to no avail. Therefore, i am posting here. Please note that i am a self learner and don't really know things in depth, just trying to learn.. So please be gentle. Here is my aspx code: <div …

Member Avatar for Sana Qureshi
0
302
Member Avatar for SpottyBlue

Can help? When in debugging mode of the database page (Database.aspx), I try to update the details by modifying the fields in the EditItem template. But then, when I click "Update", the data cannot be updated and shows the error message: "Data could not be updated. Please try again." ![Slide1.PNG](/attachments/large/4/b16bf4527be258f1bb5c1a405a0f878a.PNG …

Member Avatar for SpottyBlue
0
131
Member Avatar for jed.brundidge

I'm building an application in asp.net mcv, using Entity Framework and am running into some problems. My requirements are to take a pdf template and fill the pdf with information form a database. When try to return the data from the databse all I get is the EF genearted sql. …

Member Avatar for clairestreb
0
162
Member Avatar for batoolhussain

hi all.I have a project that include creation of web page in asp.net and the language for my project is in vb.net2010 and I want to learn the language. Is it possible to propose a site or a book to help me to learn the language.

Member Avatar for JorgeM
0
85
Member Avatar for yoyoo

Hello there, I need to convert mdf file into sdf file using C#. Please any help will be greatly appreciated. Thanks a lot, yoyoo

Member Avatar for muka12
0
68
Member Avatar for coder91

Hi, I have a stored procedure that I have to send one parameter to. I then have to use the same stored procedure to display results, I'm not sure how to do this. Basically the system should allow the user to select an item, push a button (which is when …

Member Avatar for coder91
0
97
Member Avatar for SpottyBlue

When I was debugging the database page (Database.aspx), I encounter one problem. When I want to edit something by clicking the “Edit” button, some values were mismatched to other options instead to matching to the related option. ![help.png](/attachments/large/4/b0fcde48465b822d7f762bd21534c3cc.png "align-center") Actually, if I click the "Edit" button in the Item template …

0
125
Member Avatar for KhuramJan

I am using Visual Studio 2012 Ultimate , MySql Database , MySQL ODBC 5.1 Driver I have created a user DSN from Administrative tool in Control Panel (same on both my development PC and Server computer i-e Windows Server 2008) I have deployed web application from my PC to Server …

Member Avatar for KhuramJan
0
502
Member Avatar for coder91

Hi, trying to get the username of the user logged into a computer but it doesn't appear to be working. I was using `Label1.Text = User.Identity.Name;` to check if it did work but it wasn't displaying anything. The only reason I need the username is to send it through to …

Member Avatar for JorgeM
0
162
Member Avatar for Violet_82

Hello, I'm building an expenses application in asp.net and I'm attempting to insert some data in a SQL database in visul studio but I get the following error (screenshot here http://s13.postimg.org/4kjmn4nev/SQL_error.jpg): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_expenses_ToexpenseCode". The conflict occurred in database "Applications", table "dbo.expenseCode", column …

Member Avatar for djjeavons
0
3K
Member Avatar for xrjf

By means of Mates8, graph coding becomes a bit easier. The web page has four textboxes so the figure gets bounded to the left, right, top and bottom; and a draw button. Additionally, a panel control will contain the image generated by the code after the button is pressed.

Member Avatar for xrjf
0
563
Member Avatar for coder91

Hi, so for my .net project I've to use HTML/CSS provided by another colleague. Ive copied this into the site master page in .net but it doesn't appear in the child pages, anyone have any ideas how I can fix this. The code is: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" …

Member Avatar for coder91
0
309
Member Avatar for pritaeas

I have the following: <h1><asp:Literal runat="server" Text="<%$ Localize:LoginRequest %>"/></h1> <fieldset> <legend></legend> <input runat="server" class="form-control" placeholder="E-mail" type="text" /> <input runat="server" class="form-control" placeholder="Password" name="password" type="password" value="" /> <button runat="server" type="submit" class="btn btn-default"><asp:Literal runat="server" Text="<%$ Localize:Submit %>"/></button> </fieldset> `Localize` is a custom expression builder to translate my strings from a resource file. I …

Member Avatar for pritaeas
0
188
Member Avatar for coder91

The project i am currently working on has an HTML/CSS layout which consists of 3 columns, the first contains a menu to access the various pages. When one of these options is selected the page appears in the second column and the same for selecting anything from the second column …

Member Avatar for JorgeM
0
148
Member Avatar for coder91

Hi, recently started a new job where I will creating .net applications, however there is one person who designs the html and css in notepad++ and then puts it onto the local server which I can then pull down onto my own machine. I was just wondering how I link …

Member Avatar for coder91
0
180
Member Avatar for Salvius12

I cannot figur this out ive been researching. Changeing code structure, Everthing I could think of to get this to work but it keep giving me errors here is the error I get Im pretty sure somewhere in the code its holding onto the file but I dont know where …

0
174
Member Avatar for SpottyBlue

I have problems with the enable/disable of textboxes if the radio button is selected/deselected. Normally, if I select "Others" from the radio button group "Project List", the textbox is enabled. But if I select other than "Others", the textbox is not disabled. This also happens on the radio button groups …

Member Avatar for madCoder
0
2K
Member Avatar for yoyo30

When user click on the button "back",it should go back to "HomeStudent.aspx",but unfortunately its not working and no error shown.Do help me. <%@ Page Title="Advertisement" Language="C#" MasterPageFile="~/AccommodationStudent.master" AutoEventWireup="true" CodeFile="Advertisement.aspx.cs" Inherits="Advertisement" %> <%@ Register TagPrefix="ajax" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> <style type="text/css"> .style1 { width: 224px; } </style> </asp:Content> …

Member Avatar for yoyo30
0
3K
Member Avatar for pritaeas

I'm looking for a user login (or identity) tutorial/example on MVC5 that uses an existing SQL Server database and user table, so NOT code first, and NOT using Entity. Can't see the forest through the trees apparently, because I cannot seem to find one.

Member Avatar for pritaeas
0
1K
Member Avatar for coder91

Hi, I have an SQL database with data stored in it but I'd like to create reports that will allow the user to enter two dates and return the data in an excel spreadsheet. Not sure how to accomplish this in .net with C#. I've created PDF reports using ITextSharp …

Member Avatar for coder91
0
110
Member Avatar for Deepak_27
Member Avatar for jean_5
Member Avatar for denmarkstan

I am new to vs2012.I am trying to run MVC3 tutorial to experience the working of vs2012. I have ran thesame tutorial on vs2010 successfully and inserted new record. Now I want to run thesame tutorial on vs2012. On both cases, i am using sqlserver management studio and entity framework(dotnet …

0
97

The End.