1,576 Posted Topics

Member Avatar for behemothdave

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 …

Member Avatar for thines01
0
190
Member Avatar for king03

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.

Member Avatar for martin11ph
0
266
Member Avatar for Jesmak

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 …

Member Avatar for Jesmak
0
253
Member Avatar for naazsayed

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 …

Member Avatar for naazsayed
0
225
Member Avatar for toldav

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.

Member Avatar for toldav
0
222
Member Avatar for croussou

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 …

Member Avatar for croussou
0
113
Member Avatar for aayushmail007

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 …

Member Avatar for Netcode
0
302
Member Avatar for cyberwarezcp

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?

Member Avatar for Netcode
0
651
Member Avatar for deepsmehta

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?

Member Avatar for Netcode
0
4K
Member Avatar for coolbeanbob

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 …

Member Avatar for coolbeanbob
0
277
Member Avatar for challarao

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 …

Member Avatar for WaltP
0
324
Member Avatar for irffan

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]

Member Avatar for hericles
0
55
Member Avatar for hericles

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 …

Member Avatar for vadriaan
0
128
Member Avatar for bossie09

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 …

Member Avatar for Netcode
-2
215
Member Avatar for omotoyosi

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.

Member Avatar for thines01
-2
117
Member Avatar for ara_tul87

Post up your code. I doubt anyone on here wants to take blind stabs at what could be wrong.

Member Avatar for ara_tul87
0
263
Member Avatar for VengefulToast

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.

Member Avatar for bluehangook629
0
254
Member Avatar for binoy.mathew

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 …

Member Avatar for binoy.mathew
0
452
Member Avatar for toldav

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

Member Avatar for toldav
0
206
Member Avatar for jacob21

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 …

Member Avatar for hericles
0
418
Member Avatar for jacob21

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 …

Member Avatar for hericles
0
54
Member Avatar for muneeb213

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 …

Member Avatar for muneeb213
0
500
Member Avatar for hericles

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 …

Member Avatar for Netcode
0
216
Member Avatar for Manojyoti Roy

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 …

Member Avatar for hericles
0
36
Member Avatar for jnmisa

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 …

Member Avatar for jnmisa
0
190
Member Avatar for soft_coder

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.

Member Avatar for hericles
0
97
Member Avatar for lil_Is

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.

Member Avatar for hericles
0
230
Member Avatar for dwinn

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 …

Member Avatar for hericles
0
914
Member Avatar for pseudorandom21

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.

Member Avatar for pseudorandom21
0
223
Member Avatar for Shwetha Dali
Member Avatar for hericles
0
155
Member Avatar for sigridish

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 …

Member Avatar for sigridish
0
1K
Member Avatar for PM312

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 …

Member Avatar for PM312
0
547
Member Avatar for vammy

Check your other post that relates to this exact same question. I put an example SQL check constraint there.

Member Avatar for vammy
0
91
Member Avatar for vammy

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.

Member Avatar for vammy
0
120
Member Avatar for walid86

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

Member Avatar for walid86
0
104
Member Avatar for simpleonline12

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?

Member Avatar for hericles
0
206
Member Avatar for mags11

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

Member Avatar for hericles
0
406
Member Avatar for ameera123

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 …

Member Avatar for hericles
0
113
Member Avatar for manugm_1987

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 …

Member Avatar for manugm_1987
0
1K
Member Avatar for George_91

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 …

Member Avatar for hericles
0
213
Member Avatar for masala_curry
Member Avatar for djjavo

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 …

Member Avatar for djjavo
0
172
Member Avatar for vicky.soft
Member Avatar for jon4321

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 …

Member Avatar for jon4321
0
194
Member Avatar for M.Waqas Aslam
Member Avatar for praveendasika

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 …

Member Avatar for hericles
0
73
Member Avatar for saly+two
Member Avatar for Seesharp

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 …

Member Avatar for Sarama2030
0
178
Member Avatar for Romil797

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.

Member Avatar for Sarama2030
0
204
Member Avatar for Shwetha Dali

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

Member Avatar for Sarama2030
-1
120

The End.