1,576 Posted Topics
Re: I think the problem lies here: [code] intValue = Convert.ToInt32(userInfo); userInfo += intValue; [/code] intValue has no value specified and you set userInfo to zero at the start. So you are really saying intValue = 0, userInfo += inValue (which is 0 += 0). I think you should be using … | |
Re: Does that answer your question? ;) I have found that the answer is no, networking requires a different set of skills to programming. Knowledge of one might help you with the other to some degree but generally speaking there is no real cross over. Thats my opinion anyway. | |
Re: For things like comments and posts, which aren't actually files, you would simply store them in a database. For saving files you would want to set up a folder (or several) to house the files and then use a database to show what files are linked to which user. For … | |
Re: Sorry, is that code meant to simply insert the data the user entered in the text boxes into the database? For the second part of your question you need to use SQL to run a SELECT statement on the database, pulling out the record of one customer I assume, and … | |
Re: Most of us have objections to doing your homework for you. We will help you with parts of it and give advice but only after you've shown us you've made some effort. Right now you're asking us to do your assignment for you. Show us what you've done. | |
Re: So you want your alert box to be part of the page, not above it like the javascript alert box? You can do this by either including a div with the error message in your page and either: - toggling it visibility will you want it to display - initially … | |
Re: For a start make things easier on yourself and check in your SQl for a user name AND password. Then you don't need to do the second check, if the query returns a row you know the credientials are OK. Have you debugged your code? If you think an error … | |
Re: What have you done so far? Is it the SQL for the query you are having trouble with or the whole connection thing? For clarity, what is your table schema like? Are all three tables linked by the same foreign key? | |
Re: Well, you've got your factorial code already supplied in this answer. Thats the hard part done, now all you have to do is build the interface. What part are you having trouble with? | |
Re: Coders and sys admin need a good working knowledge of databases. But programmers will need more SQL query style knowledge and seldom need replication, back up, admin style knowledge of the database - thats what the sys admin is for. Whereas sys admin may not need the same exact skills … | |
Re: It doesn't look like you are considering the last name when sorting. If the names are already sorted by last name you should only be sorting the first names where the last names match. For example if you have the names Phil Doe, Jane Doe, Fred Doe, Bill Doe, Jane … | |
Re: The old <marquee> tag is deprecated. You can use a javascript library like jquery to do it pretty easily. There is a demo of some of the things you can do here: [url]http://remysharp.com/demo/marquee.html[/url] | |
Hi, I have heard of source forge and github and the like but I was wondering if anyone knew of a site that listed open source projects looking for members - so definitely WIP instead of a released project. I actually found just such site about 2 months ago, after … | |
Re: I think the question would be stronger if you defined it better. Data? What data? At its most basic level yes data is important but only when used by skilled people. Data left sitting on a hard drive is useless, as is data that is used incorrectly. Human resources, along … | |
Re: Well, I'm not sure what you expect us to do. We don't have access to the files and you haven't posted up any code. The first error is quite specific however - open the file and find the validation errors. | |
Re: Post up your code. I doubt anyone on here wants to take blind stabs at what could be wrong. | |
Re: There is a number of books on game programming for IOS (objective C) and Android devices. I know you want to use your VB.Net knowledge but those devices are probably going to be the mobile game platforms of the future. | |
Re: Hi, What database to use depends on how much data you expect to store (although that is also not that important unless the amount of data is expected to be HUGE). You could save your data in text or XML if you wanted but there would be a reasonable performance … | |
Re: Oddly enough you have the correct the code to make the lblWarning not visible, yet for the list you have coded lstCity.Visible = Not lstCity.Visible. try: [code] lstCity.Visible = false [/code] You never seem to sent toZone, only fromZone, so your check to see if they match can never match. … | |
Re: I'm not sure why you listed all that code. The part relevant to your SQL operation would have been adequate. I gave up looking for it so I don't know for certain the answer to your question but I would assume you are trying to insert a value into a … | |
Re: Your question is a bit hard to understand. if you are looking for a .Net control that can be used to display the records from a database on a webpage you can use a dataGridView or a Repeater control. Is the problem with your control or your data request to … | |
Re: Generally, if you are using a database the expiry date will be stored there. Without knowing more about what you want to achieve its hard to really help but, for example, if you were logging into a website and your password reset date was kept in the database, when you … | |
Hi, I'm hoping someone here can give me some insight. I'm looking to do some more Microsoft accreditation and am looking at exam 70-342. There are 2 main books on the topic: Mcts Self paced training kit - the official MS press book and The real MCTS Sql Server 2008 … | |
Re: In the listbox.selectedindexchanged() method select which item was selected with the items.selecteditem method and use that to populate the url for the image. If the item text isn't the image URL ( which is probably the case) store the URL in the value parameter of each list item and use … | |
Re: You would like to know more about this particular code in particular or cryptography in general? You can find plenty of articles on cryptography online but the maths involved in high level decryption can be daunting. And, if you want to know about this code, are you expecting us to … | |
Re: If the user control is simply javascript why can't you simply link to it as an external .js file? That will remove the error. | |
Re: You won't be able to use SMTP to send an SMS, it isn't the correct protocol. SMTP only handles emails. You will need to find and implement an SMS gateway provider. | |
Re: There are two ways of doing it. You can add the variable to a session variable: [code] Session["variable"] = some variable [/code] and then retrieve it in the page load of the next page. [code] variable = Session["variable"].ToString(); [/code]Or you can use POST or GET to include it in the … | |
Re: Yep, SELECT DISTINCT will provide you with a list of the unique values in the table. Records that are in the table twice or more will only be in the resulting dataset once. | |
Re: System.DateTime.Now(). This returns the current time of the machine. | |
Re: You only set your bool value to false If Convert.ToString(objSheet.Cells(excelRow, 1).value) == "" and never at any other point. In other words your loop runs and runs and runs if that bool is not false (which it won't ever be if it isn't the first time). you end up running … | |
Re: I think that is because all you are doing is subtracting 32 of KeyAscii. You're not doing anything with KeyAscii after that, remember it is just a variable you defined. You actually need to take that converted character and append it to the characters in the text box. Rather, if … | |
Re: Check your other post that relates to this exact same question. I put an example SQL check constraint there. | |
Re: negative values I believe. He's used the electrical shorthand. In your front end add a RangeValidator to the control where the numbers are entered and set the minimum value to 0. | |
Re: In text the power sign is normally given by the ^ character (above your 6 on the keyboard. E.g. 10^2 = 100. Using a word processor the 2 would generally be turned into superscript which places it above the other characters and smaller. In HTML you can use the <sup></sup> … | |
Re: Well,the error is saying it a nullException meaning your secondForm is empty or hasn't been loaded with anything. This is probably because you are trying to match it with elements on the page called "form2". Are you sure they exist on the target page? | |
Re: I can't actually see where you use the entered hours of labour. You use the constant version here: [code] SubTotalDecimal = PartsDecimal + HOURS_OF_LABOR_Decimal [/code] And later you have this: [code] ElseIf HOURS_OF_LABOR_Decimal > 0 Then [/code] The whole idea of a constant is just that - it never changes. … | |
Re: If you don't secure the end points of the transmission (via SSL or something similar) then a man in the middle can always find a way to access the packets. Steganography is just encryption with another name. If you don't want people to be able to see the packets use … | |
Re: I've used hidden fields on the page to do this. Others may have a better way but this has worked OK for me before. Include a label as a hidden field on the page and write the variable into it using javascript. Your .Net code can then read from the … | |
Re: Hi, You can use a GridView, ListView or a repeater control (for HTML) to do this. They can all be bound to the data extracted from the database. I normally extract the data into a dataTable and use the DataSource = dataTable method of the Grid,List or Repeater to connect … | |
Re: Not without seeing some code... | |
Re: You control this kind of thing in the web.config file. Locate the customErrors section and there is the ability to add the location of your custom page and specify what error it shows for (404, general exceptions, etc). Google .net customerrors and you should find something. OK, I just did … | |
Re: You have most likely created a event in your page code behind but failed to link it to your code behind. It is pretty easy to do in the designer. For example you might have added a button so it will have [code] onclick="Button1_Click" [/code] as part of its markup … | |
Re: Are you referring to using CSS to style the location of the button? | |
Re: Not sure, out of interest I looked into but couldn't see anything. My advice would be not to. Its the online equivalent of a store attendant asking if they can help with anything. Very annoying and 99% of your users are going to make closing it the first thing they … | |
Re: What controls are you using and what have you done so far? | |
Re: What exactly are you having trouble with? All you need to do is query the database for the email entered and see if it returns 0 or 1 (0 = not in database, 1 = email exists). If you have already coded part of the problem show it here and … | |
Re: I take it the user enters the data, possibly including file locations for images? Or is it presented to them by the website and the user is confirming a selection? If you explained exactly what you were trying to achieve we might be able to provide good advice. | |
Re: You mean using cookies to store your login info for the site? SO you can go back to that site at any time and not have to log in? If you want the browser to go directly to that page when you reopen it (the browser) thats something else entirely. … |
The End.