490 Posted Topics
Re: Another variation on what Ryshad indicated is to simply use the [URL="http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex.split.aspx"]Regex.Split[/URL] method which works the same as the single character split but allows string definition for the split markers. This can be done by first defining a regex pattern then using that pattern in your split command as such:[CODE]Regex … | |
Re: As an additional note, if you never set any un/pw credentials when you set up your SQL server then odds are it's utilizing windows authentication (based on computer/user name). When setting up a database for a web deployed project using windows authentication generally won't work out too well for you. … | |
Re: Wow... well first, this is completely in the wrong forum... from the look of things you're looking for either VB.Net or ASP.Net forum. Second, it would've been great if you'd used the code-tags to surround your code segments above. Hopefully a moderator will clear all of that up for you … | |
Re: This request is very vague in nature and so, to be honest, I'm not sure what to suggest. What I might recommend is first to start off with a planning stage... Utilize [URL="http://www.google.com/#hl=en&source=hp&q=pseudocode+examples"]pseudocode[/URL] to plan out the workings of the application and pre-plan your way around any bugs/issues you can … | |
Re: [QUOTE=LevyDee;1310825]For instance, in my for conditions, I cant say, (int i = 0; i != songs.count; i++) like I would be able to in c++.[/QUOTE]For that one I would say this instead:[CODE]for (int i = 0; i < songs.Count; i++)[/CODE]Since Count is based on numbers starting at 1 and the … | |
Re: Ya, um... after digging through the page source at the URL you provided I'm going to guess it's something easily solved by setting padding to 0 on either the DIV or the table within the DIV for your top 2 DIVs on your website. But then again I could be … | |
Re: The only way you're going to have the buttons in the exact same location relative to the background on "any monitor" is with [URL="http://www.w3schools.com/css/css_positioning.asp"]absolute positioning[/URL]. If you follow the link above, it leads through a tutorial on CSS and Absolute Positioning that may help you out. Essentially, by using absolute … | |
Re: I'd recommend that you check out the following [URL="http://www.google.com/#hl=en&q=text+append+io+site%3Amsdn.microsoft.com"]search[/URL] for many links related to the process you're looking for :twisted: What you're looking for is the Append file access mode which opens an existing file for writing but places new content at the end of the file instead of overwriting … | |
Re: AngelicOne Generally when it tells you that you cannot implicitly convert a variable to another type there's a simple solution :) What cannot convert implicitly must be converted explicitly. What this means is... Rather than use something like[CODE]string varString1 = someInteger;[/CODE]Which would be an implicit cast from integer to string … | |
Re: Question: Is your iframe within another container such as a DIV? If so, it is very possible that the DIV itself is restricting the iframe's height as opposed to an issue with the iframe itself. | |
Re: Realistically... if you had the resolution of the screen and the actual monitor dimensions (inside dimensions vertical and horizontal) then you could do a straight ratio conversion. For example, my resolution is 1680x1050 but I don't have an actual measuring tape handy to tell you the height and width of … | |
Re: I think the key point here (as far as potential employers are concerned upon your return) is that you don't plan to just let your skills vegetate while you're abroad. You've indicated that you plan to suppliment your travel costs by freelancing while you travel which means that you'd still … | |
Re: Well, for starters, when you say it's not working properly... what exactly is it doing compared to what it should be doing? Are you receiving any error messages? Are you simply receiving incorrect results? A bit more information would be helpful to determine the nature of the problem, particularly as … | |
Re: Step 1: Open a web browser (I recommend Firefox) Step 2: In the address bar, type [url]http://www.google.com[/url] and hit enter Step 3: Find [URL="http://www.google.com/#hl=en&source=hp&q=asp.net+word+site%3Amsdn.microsoft.com"]the answers[/URL] you're looking for Personally I recommend [URL="http://social.msdn.microsoft.com/Forums/en-US/worddev/thread/363b65fd-a730-4060-802c-d989d9d7d6c6"]the following link[/URL] as it appears (at first glance) to be closest to the single sentance question you posted. … | |
Re: Well I guess if this thread had to be resurrected I might as well participate... I've noticed that a lot of the arguments [B]for[/B] piracy seem to center around 'unfair pricing of the product being pirated' and the fact that the pirates would 'never have purchased the item at it's … | |
Re: The only drawback I can see with jbisono's suggestion is that it may not be 100% accurate. As an example, my B-Day is in December 1978... if we use the formula:[CODE]int years = DateTime.Today.Year - Convert.ToDateTime(txtDOB.Text).Year;[/CODE]Then what we get is 2010 - 1978 = 32. However, at least for the … | |
Re: One thing you might want to look into is the IsPostBack property of Page. You can use the [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.page.ispostback.aspx"]Page.IsPostBack[/URL] property to control various elements of your page to only run on postback or only run if it's not a postback and so forth. Hope that helps :) | |
Re: Skyboy, did you ensure that the host you are using is providing their hosting services on a Windows server as opposed to a *nix server? ASP.Net will only run on a windows server running IIS with the appropriate ASP.Net handlers installed. Hope this helps. :) | |
Re: [QUOTE=jv_web;1303378]Unfortunately I wish to add the "selected items" ( listType.SelectedItem.Text ) to the body of the email...[/QUOTE]Just because Rohand's specific example utilized the objEmail.To.Add() example doesn't mean that would be the only thing that would work in this scenario. Simply replace the unneeded segment with the logic required to insert … | |
Re: Curious... Was there a reason why you had to create another thread instead of simply adding to [URL="http://www.daniweb.com/forums/thread302739.html"]the one you created before[/URL] for the same topic? Just seems like you decided that, since you didn't get the answer you wanted 5 days ago, you were going to re-post the question … | |
Re: [QUOTE=Zinderin;1306474]Unless you're doing a massive amount of batch inserts (1000s at a shot), breaking them down into individual blocks of code with their own testing, trapping and reporting [I]is not[/I] going to be a hit on your performance.[/QUOTE]And realistically, ease of use > performance even then. But yes, as Zinderin … | |
Re: I, for one, am very curious about the ever increasing number of people who are completely stumped when it comes to coming up with topics for their university projects. Granted, I understand that it can be a bit much to expect originality and 'forward thinking' from today's college/university crowd but... … | |
Re: Ok, a brief note on backgrounds... Size of the background in the web browser (IE, Chrome, Firefox, etc.) is based on the resolution of the screen displaying it (minus the number of pixels required for the borders/menu bar/etc of the browser itself). Generally it's not a good idea to try … | |
Re: For starters, please don't take this as a personal attack against you... you're just the latest of many people I see doing this of late. Code Snippet is generally for use in providing 'working code' as example to the community of how to do something. Questions should be kept to … | |
Re: Have you perhaps tried running a check against [URL="http://msdn.microsoft.com/en-us/library/system.io.file.getcreationtime.aspx"]File.GetCreationTime[/URL] for the files in the list to determine the created date for the file(s) against the date range you're targeting? Hope this helps :) | |
Re: I might reference you to the 4 links I provided in [URL="http://www.daniweb.com/forums/post1300247.html#post1300247"]this post[/URL] that are all local DaniWeb posts related to transferring variables between forms in C#. Hopefully one of them helps in your scenario :) | |
Re: Nice intro :) nice to see when someone makes an effort instead of posting a one liner (or half liner) to the community intros forum. Welcome to DaniWeb. | |
Re: Simply put, because you don't always want to wait until the end of the program to free resources that are no longer needed by the application. For example, if you were to hold on to the memory allocated every single time the program calls a class object, or every time … | |
Re: Well, welcome to the forums :) And if I might make a suggestion, make the change from Vista to 7 asap... 7 is (in my humble experience) the best of the bunch. Microsoft finally got something right with Win7. Only one thing I would watch for and that is in … | |
Re: welcome kasakit :) Hope you enjoy your stay with DaniWeb | |
Re: [QUOTE=new SE;1304948]Hi, what should i use to make the data inserted is in all capital letter? here is insert statement: [CODE] string query = "INSERT into Categories values (' " + textbox5_value + " ', ' " + textbox6_value + " ', ' " + textbox7_value + " ' )";[/CODE] … | |
Re: [QUOTE=ramjo;1304908]Have u tried what hugvu said when you go to the logon screen press CTRL+ALT+DEL enough times till u see a dialog box then type Administrator and leave the password blank and press enter[/QUOTE]I assume you didn't notice that the thread you posted in was from December 2007? :twisted: Pretty … | |
Re: Perhaps I'm misreading this but... It sounds to me like you're passing the UN/PW to the DB to check if they're valid for a login and want to then get the UN back from the DB for the purpose of a welcome page. This may sound silly but... why not … | |
Have you ever found yourself watching TV and seen a spoof or comedy routine involving an invention that you would just LOVE to see in use in real life? [URL="http://www.google.ca/url?sa=t&source=web&cd=9&ved=0CDoQFjAI&url=http%3A%2F%2Fwww.funnyhub.com%2Fvideos%2Fpages%2Froberts-toot-tone.html&ei=NrBkTPbqIsmTnQfpoZmYDQ&usg=AFQjCNGQ1qgldpk4ONlxEluI9bdyK6mYiw"]This one[/URL] makes me laugh every time [URL="http://www.cbc.ca/22minutes/"]This Hour has 22 Minutes[/URL] reruns the episode it was in. Anyone else have … | |
Re: General rule of thumb in C# (not sure about VB) is that @ basically indicates a literal value of the variable to follow. @varName differs from varName (assuming both are string variables) in that the @ version will ensure that every character of the string is read and none of … | |
Re: I'm sorry, you're looking for a list of known IE issues? Do you realize how much database storage space that would take? :S All joking aside though, I don't know of any place that has compiled this information as it tends to be somewhat fluid in nature (one day they … | |
Re: Why resurrect a thread from 2004 just to tell us you're having problems with a web-based email service that has it's own dedicated technical support team? :twisted: | |
Re: >>when I create 2 datagridview with each using different bindingsource, and I click on next for the first datagridview, the other datagridview also automatically paginate to the next one. Have you perhaps looked into the event handler(s) you are using? It's possible that the two DGVs are somehow sharing the … | |
Re: I might recommend one of the following 2 resources to help you solve your issue (depending if you're running on a windows or a unix server)[LIST=1] [*][URL="http://www.google.com/#hl=en&source=hp&q="Learn+PhP""]Resource #1[/URL] (Non-Windows Server) [*][URL="http://www.google.com/#hl=en&q="Learn+ASP.Net""]Resource #2[/URL] (Windows Server that supports ASP.Net) [/LIST]Hope those help :) | |
Re: Maybe try changing the following:[CODE]string sel = "DELETE FROM acomodation WHERE A_ID=" + A_ID;[/CODE]to this instead:[CODE]string sel = "DELETE FROM acomodation WHERE A_ID='" + A_ID + "'";[/CODE] | |
Re: And by "check out the msdn reference" you're referring to [URL="http://msdn.microsoft.com"]msdn.microsoft.com[/URL] right Ryshad? | |
Re: Is it just me, or does nobody do any research prior to coming here and posting questions? I mean, even without going to external sources (Google.com, msdn.microsoft.com, etc.) I'm able to pull together the following list of posts within DaniWeb alone that are related to sending mail from an ASP.Net … | |
Re: >>How they can access to other computer, How virus made, etc. Starting to sound pretty black-hat to me... Just sayin' | |
Re: If you're working in ASP.Net that also means you're running in IIS... Which also means you can set up multiple application working directories and all applications running within their specified working directories would (in theory) run in their own app space. Can't recall where I was reading about the processes … | |
Re: Should be a Discussion Topic instead of a Code Snippet... other than that tho, on my way out the door and hopefully someone else can help you out :) | |
Re: What we would need to see (since what you're using is a stored procedure for your inserts) is the Stored Proc you're using. The above code shows a call to the Stored Proc but nothing of the proc itself which makes it impossible for anyone to determine if there are … | |
The End.