391 Discussion / Question Topics

Remove Filter
Member Avatar for Violet_82

I just wanted to share this with the community, in case anybody finds it useful. I'm learning ASP.NET and started with Web Forms and now I'm moving slowly to MVC. As I have just started with MVC - which is significantly different from Web Form - I've been looking for …

Member Avatar for pritaeas
1
265
Member Avatar for Violet_82

I just came across something strange, and I posted it here because although it is C# it is still part of learning ASP.NET. Usually when you use setters and getters, you have proper methods to set and access private variables (I'm referring to C++ and JAVA mainly) but here in …

Member Avatar for Violet_82
0
145
Member Avatar for Violet_82

Hi, I run into an interesting thing. I'm looking into SQL a bit, and was reading some tutorial on W3C, so I built a small application to play with SQL queries: inserting info in a table and then retrieve it as it is, filter it etc. The table contains 5 …

Member Avatar for Violet_82
0
169
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
306
Member Avatar for Violet_82

HI guys, I need to format andn reinstall windows 7 on my dell xps 17. Two things though: I don't have any windows installation disk - I suppose there will be a windows 7 iso stored by the manufacter somewhere - and it's dual boot as I have linux installed …

Member Avatar for Violet_82
0
698
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 Violet_82

Hi chaps, I'm not terribly sure how to go about this. I've got a small site where I want to add some files for people - well me since nobody will ever use that website - to download, a sort of repository if you like a bit like github maybe, …

Member Avatar for Violet_82
0
218
Member Avatar for Violet_82

hi all, I've got something odd going on here. Basically I created a database table in visual studio 2012, using localDB and saved it OK. Now, I'm trying to amend something in it and when I right click on the table (Overtime) to "Open table definition", it loads for about …

Member Avatar for Violet_82
0
180
Member Avatar for Violet_82

Hi guys, I hope this is the right section to post. I need to develop an application in visual studio 2012 that uses SQL (please bear with me as I'm not very well versed in databases and SQL and therefore I don't know what SQL visual studio uses), and when …

Member Avatar for Violet_82
0
600
Member Avatar for Violet_82

Hi guys, I'm building a small asp.net application about montlhy expenses. I was given a bit of guidance in this thread https://www.daniweb.com/web-development/aspnet/threads/488532/building-monthly-expenses-application about how to organise the database. The situation currently is this. I have 2 tables in the same database, table "expenses" and "expenseCodes". The first contains the following …

Member Avatar for Violet_82
0
211
Member Avatar for Violet_82

hi guys, in one of my .NET applications I need to connect to localDB but the code I wrote originally was for sql express and now it's returning an error understandly. Does anybody know what's the equivalent of this for localDB please? protected void submitData(object sender, EventArgs e) { hookUp …

Member Avatar for Violet_82
0
130
Member Avatar for Violet_82

Hello guys, I wonder if you can help me at all. I have received a battery charger pack (6000mAh) for mobile phones, tablets and cameras, here is a screenshot of it ![2bf1d890310c83236eb46f24619d9e6c](/attachments/large/2/2bf1d890310c83236eb46f24619d9e6c.jpg "2bf1d890310c83236eb46f24619d9e6c") It has several connectors and can charge differend brands like apple android etc. OK, so I have …

Member Avatar for Violet_82
0
242
Member Avatar for Violet_82

HI guys, I'm having a problem with hiding and showing a panel that contains a text box. Basically the panel is hidden and whenever a radio box is selected the panel should show but it won't work. Here is the code: <div class="expensesForm"> <div class="control-group"> <label class="control-label" for="rent">Rent</label> <div class="controls"> …

Member Avatar for Violet_82
0
2K
Member Avatar for Violet_82

Hi all, I just came across something odd. I'm just building a simple form, like this in visual studio <div class="control-group"> <label class="control-label" for="rent">Rent</label> <div class="controls"> <asp:RadioButton ID="rent" runat="server" GroupName="expenses" /> </div> </div> and when I viewed it, I expected to be able to click on the label and get …

Member Avatar for Violet_82
0
4K
Member Avatar for Violet_82

Hi guys, does anybody have any experience with Azure at all? I finally deployed a test site I built http://web-dev.azurewebsites.net/About.aspx and unfortunately there seems to be a problem when you submit the form (obviously I tested the form many times before deploying the site and it was definitely working in …

Member Avatar for Violet_82
0
289
Member Avatar for Violet_82

Hi guys, I was thinking to work on a new interactive project but I might need some advice before I start. So, essentially, I want an interactive map and I want to give users (they will have to have login details of course) the possibility to add as many markers …

Member Avatar for Masterblank
0
351
Member Avatar for Violet_82

Hi all, just to practice a bit more with asp.net and c#, I was thinking to build a small application to keep an eye at my monthly and yearly expenses (rent, car, bills, food shopping). I have a few ideas but I thought I'd check with you guys what's the …

Member Avatar for Violet_82
0
243
Member Avatar for Violet_82

Hello guys, I wonder if you could kindly explain this to me. Basically, I've got a form and a thank you message above it, here they are: <asp:Content ID="Content5" ContentPlaceHolderID="contentPlaceholder" Runat="Server"> <div class="thankYouMsg" id="thankYouMsg" runat="server"> <h2>Thank you for your feedback.</h2> </div> <div class="contactForm" id="contactForm" runat="server"> <h2>Contact me</h2> <div class="form" runat="server"> …

Member Avatar for Violet_82
0
218
Member Avatar for Violet_82

Hello guys, I'd like to clarify a few things with IDs and classes. As I've learned so far, ASP.NET adds its own id and overwrite the previous one, if there was any. Let's just take a recent example, the panel I added in my previous thread: <asp:Panel ID="ThankYouPanel" runat="server"> <div …

Member Avatar for Violet_82
0
235
Member Avatar for Violet_82

Hello guys, I have a simple asp.net form and ideally, upon submission, I'd like to forward the form data to an email address. Here is the form: <div class="contactForm"> <h2>Contact me</h2> <div class="form"> <div class="control-group"> <label class="control-label" for="title">Title</label> <div class="controls"> <select id="title" runat="server"> <option>Mr</option> <option>Ms</option> <option>Miss</option> <option>Mrs</option> </select> </div> </div> …

Member Avatar for Violet_82
0
551
Member Avatar for Violet_82

Hi all, I have visual studio 2008 and as I recently started to use it, I still develop the HTML from scratch and then move it to ASP.NET. Anyway, when I did my last site and uploaded the CSS in visual, I got quite a lot of CSS 3 error …

Member Avatar for Violet_82
0
737
Member Avatar for Violet_82

Hello guys, I wonder if you can help. I've got an existing site that I want to "convert" to an ASP.NET one and I gave a good read at the master template tutorial suggested in another thread, but I'm having a few problems deciding what goes in the master page …

Member Avatar for Violet_82
0
401
Member Avatar for Violet_82

Hi all, I was just wondering, how do I go about making an asp.net application accessible on the internet? The application is also linked to a SQL database (created in visual studio). I have got server space available but I'm not sure where the sql database needs to be copied …

Member Avatar for JorgeM
0
683
Member Avatar for Violet_82

Hello guys, I have a t-rb22 logitech trackball and at the moment it's not working properly. I have thinkered with it a bit, I think I know what the problem is and I need to replace a small switch inside (pictures attached). ![7deee63990f867790dc8d2589191b6cc](/attachments/large/2/7deee63990f867790dc8d2589191b6cc.png "7deee63990f867790dc8d2589191b6cc") ![cd517819478df412d7a20c4d88486dc7](/attachments/large/2/cd517819478df412d7a20c4d88486dc7.png "cd517819478df412d7a20c4d88486dc7") This switch - well …

Member Avatar for Jason_13
0
413
Member Avatar for Violet_82

Hi all, I was having a look at this tutorial on asp.net master pages http://www.asp.net/web-forms/overview/older-versions-getting-started/master-pages/creating-a-site-wide-layout-using-master-pages-cs but alas I have to apply this the other way around: as you would normally expect, you'd create the master page first and then content pages, but I have content pages and now I have …

Member Avatar for Violet_82
0
170
Member Avatar for Violet_82

Hello guys, since I have now effectively completed my first asp.net application (it's a very basic application where people...ahem, where I can record overtime) I was wondering what the best way is to add some validation. The page which allows you to upload the details needed (date, hours worked and …

Member Avatar for Violet_82
0
238
Member Avatar for Violet_82

Hi guys, as I'm fairly new to visual studio and asp.net, I might be missing something really obvious here...basically I have created a CSS file which is referenced in the aspx file (I dragged the css file from the project to my aspx file). Then I created another aspx file …

Member Avatar for BMXDad
0
330
Member Avatar for Violet_82

Hi there, I need to buy a new netbook for my sister. She isn't IT so I don't need a super expensive and powerful machine, she will just use it for word processing and browse the internet. Does anybody have any suggestion at all? I myself have a samsung nc10 …

Member Avatar for oriclon
1
132
Member Avatar for Violet_82

Hello all, I'm trying to change the innerHtml of a div in the code behind and noticed an interesting thing. If I have this situation: aspx file: <div id="displayPanel" runat="server"> </div> C# while(reader.Read()){ ... displayPanel.InnerHtml += "<span>"+ name + " has donated £ " + donation + "</span>"; } everything …

Member Avatar for mtyide
0
3K
Member Avatar for Violet_82

Hello guys, I wonder if anybody could clarify this for me. I've created a new website (File > New > Web site) and as we all know I now have a aspx file (Default.aspx) and a aspx.cs file (Default.aspx.cs). The aspx file contains a form and when submitted, it sends …

Member Avatar for Violet_82
0
2K
Member Avatar for Violet_82

hi guys, I have a dell xps 17 and I am thinking to purchase an extra Hard Drive - as I have an extra slot available. Ideally I don't want less than 1TB, maybe even more (probably not solid state as they are still too expensive) so I was wondering: …

Member Avatar for Violet_82
0
150
Member Avatar for Violet_82

Hello guys, a while back I posted something about what was needed to build an overtime app that stored data permanently on the server (here is the post https://www.daniweb.com/web-development/php/threads/467433/change-content-of-html-page-with-php) and I was told to use PHP. I have to say I've never got around that, but now I'm looking into …

Member Avatar for Violet_82
1
890
Member Avatar for Violet_82

Hi guys, quick question. When I work with asp.net controllers (so say a TextBox or a Label) if I want to get what's inside them I will use the Text property: for asp.net listboxes instead I use the Value property. If I instead, say, I ditch completely the asp.net controllers …

Member Avatar for Violet_82
0
176
Member Avatar for Violet_82

Hello all, I am very very new to ASP.NET - just started looking into it a few days ago - and I got a book out to get the basics of APS.NET, Visual studio (which I haven't installed as yet) and C# (the book is ASP.NET 3.5 a beginners guide …

Member Avatar for Violet_82
0
242
Member Avatar for Violet_82

HI chaps, I was wondering if it is possible to add a meta tag using jquery to an html page before the page loads. The reason why I ask, is because I have a page with no viewport meta tag on and it should have it only when the resolution …

Member Avatar for Ajith_1
0
5K
Member Avatar for Violet_82

Hi all, I have come across something weird today. In my HTMl page I have an iframe pulling content from somewhere else. The height and the width of the iframe as set in the CSS. In the head tag of the Iframe there are 2 CSS files, one for desktop …

Member Avatar for almostbob
0
1K
Member Avatar for Violet_82

hi guys, I am doing some tests on e.currentTarget vs $(this) to get things clear in my head. It is said that the two are equivalent, so I created a test page with the following code in (among the other things of course): <div class="testLink"> <a href="#">Link</a> </div> The script …

Member Avatar for Violet_82
0
170
Member Avatar for Violet_82

hi all, I wanted to build a small and easy interface where I have some text and two buttons, one to increase the size of the text and one to decrease it. I haven't built anything as yet, I am still thinking what's the best way to go. In terms …

Member Avatar for Violet_82
0
429
Member Avatar for Violet_82

Hi all, I started to look into event handlers, and there is something I would like to ask, sorry if this is a silly one. I can see that different Java components generate different events when the user interacts with them, but when it comes down to 1)which interface the …

Member Avatar for Violet_82
0
310
Member Avatar for Violet_82

hi guys, I posted something similar a long time ago, but I had the same issue againt today. I wanted to upload some files onto the forum (a small java program ) but I couldn't do it. Now, I know that .java files are not allowed to I saved them …

Member Avatar for JasonHippy
0
208
Member Avatar for Violet_82

Hi guys, I run into a problem. I am trying to write a small program. There should be 4 radio buttons and each of them controls the colour of the Content Pane. The problem I have is with the anonymous inner class (I hear JamesCherrill muttering "why do you bother?", …

Member Avatar for JamesCherrill
0
298
Member Avatar for Violet_82

HI guys, I wonder if you can help me understanding this please. Take the following code: // Fig. 14.23: ListFrame.java // JList that displays a list of colors. import java.awt.FlowLayout; import java.awt.Color; import javax.swing.JFrame; import javax.swing.JList; import javax.swing.JScrollPane; import javax.swing.event.ListSelectionListener; import javax.swing.event.ListSelectionEvent; import javax.swing.ListSelectionModel; public class ListFrame extends JFrame { …

Member Avatar for Violet_82
0
198
Member Avatar for Violet_82

Hi, I am trying to add an event handling feature to an old program I wrote. Here is the relevant code: public class CalculatorLayout extends JFrame{ private BorderLayout layout;//layout object. Do I need a flowlayout at all? private JPanel numberKeysPanel;//contains the number keys panel //private JPanel calculationAreaPanel;//contains the calculation panel …

Member Avatar for Violet_82
0
2K
Member Avatar for Violet_82

HI all, I am very new to LESS, literally just started today. I had a look at some tutorials, and got my first LESS webpage - or should I say CSS - to work in Firefox, but when I moved to other browsers the CSS doesn't pick up any style. …

0
182
Member Avatar for Violet_82

Hi, I have a question about animating anchor links with jquery. I had a look online and for some hints and then I came up with this code: HTML <div class="navWrapper"> <img src="images/mobile_quick_nav.png" alt=""> <ul> <li><a href="#num1" class="navLink">Home</a></li> <li><a href="#num2" class="navLink">Panel 2</a></li> <li><a href="#num3" class="navLink">Panel 3</a></li> <li><a href="#num4" class="navLink">Panel 4</a></li> …

0
163
Member Avatar for Violet_82

Hi all, I am testing an overlay and I can't get it to work correctly in IE7 and 8, in that the full page is not visible the opacity is set to 0. Here's the link http://antobbo.webspace.virginmedia.com/various_tests/overlay/test.htm It works ok in every browser and also IE9. This is the css …

Member Avatar for charlesbecon
0
201
Member Avatar for Violet_82

Hi guys, I wonder if you can help me at all, I am a bit stuck here. Having this HTML: <div class="formWrapper"> <h2>Form box</h2> <div class="unstyledForm"> <p>These form fields have minimal styles applied to it, so that tehy look the same in every browser and device</p> <div class="row"> <label class="control-label" …

0
199
Member Avatar for Violet_82

Hello, since I have realised how little I have understood of the GridBagLayout, I thought I'd open a thread where I could clarify one by one all my doubts. I have produced a very small and simple GUI which I will use to test the GridBagLayout and ask questions as …

Member Avatar for Violet_82
0
666
Member Avatar for Violet_82

Hello peeps, I hope you can help me with this. I have just bought a new “high capacity” battery for my gt-i900 android phone (it currently has a 1500mAh battery), a 3700mAh. Now, what should I do the first time? I was thinking to leave the battery in charge for …

Member Avatar for Bandarigoda123
0
215

The End.