- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 117
- Posts with Upvotes
- 99
- Upvoting Members
- 55
- Downvotes Received
- 11
- Posts with Downvotes
- 10
- Downvoting Members
- 8
Distinctly average . . .
- Interests
- Climbing, gaming, driving, swimming, motorbikes, surfing, PUB !
- PC Specs
- If I had one that works I'd post them...
456 Posted Topics
Re: "it's not the years in your life it's the life in your years" - abraham lincoln | |
Re: I'm with happyGeek on this one. I watch the odd TV show like Men Who Jump Off Roofs or The Island but the majority of it is un watchable. I have to endure The Only Way Is Essex and Big Brother... | |
Re: Quote ... Raining Cats and Dogs" doesn't mean a thing! Things are about to get messy | |
Re: Porridge made using water instead of mild and a cup of black coffee... I'm on a lean mass building diet and this my second breakfast of the day... I'm bored of eating already! | |
![]() | Re: Went to see the new Bond: Skyfall on Sunday and thought it was amazing! I wasn't a fan of the older Bond films because they were too light and toung and cheek (which they are supposed to be), but the Daniel Craig ones are darker, gritty and not about ridiculous … |
Re: [QUOTE=johnwords;1402279]parents should be cautious when let children play some games because some may really do harm to your kids[/QUOTE] I've never been punched in the face by a video game in over 15 years i've been playing. Games can help with geography, i went to Venice and knew my way … | |
Re: > i want to make a new sheet one each button click in excel Can you clarify this a little please? is the button on an spread sheet or on the C# WinForm? | |
Re: Los Angeles’ full name is “El Pueblo de Nuestra Senora la Reina de los Angeles de Porciuncula”. | |
| |
I'm currently doing some encoding work to protect a site from XSS attacks. We've stuck a bunch of `<script>debugger;</script>` tags in the db. Dispite my best efforts, the strings I've encoded to stop the debugger getting hit (to prevent an XSS attack), are still getting hit in developer tools. Is … | |
Re: I'll get this one in there first... DaniWeb is great for learning C#. If you have any questions people will answer and there's quite a few helpful code snippets. I used to use [C-SharpCorner](http://www.c-sharpcorner.com/code/) when I was at Uni and there's also a site, called [Pluralsight](http://www.pluralsight.com/), which is useful when … | |
Re: Plenty of hail stone showers, rain, wind and cold temp today. Temp has dropped quite a bit lately. Pales in comparison to the Philippines at the moment though so I count myself lucky. | |
Re: I agree with riteshbest make sure you don't jump into it all head first so as not to confuse yourself early on. although i said don't jump in head first a few books are: Head first C# Object orientated programming consepts and design (good idea to understand the consepts too) | |
Re: Apologies but I don't fully understand your question. When you click a row in the first dataGridView, do you want to select that same row in the second dataGridView?. | |
Re: Hi Kiran, You should start a new thread for your question. You may receive more responces if you do. | |
Re: Are you just trying to set the value to blank? If so just do textBox.Text = string.Empty; | |
Re: Why don't you create a stored procedure to search for a record based on an ID passed in from the data grid view, instead of doing the query in your VB code? It means all your stored procedures are in one place and have can be easily identified and modified. … | |
Re: **Granted:** but only for 10 seconds... I wish I was a little bit taller... | |
Re: I had good knees until I had a scooter accident about 8 years ago and they've been weak ever since. They usually give in every 12 months or so and it's back to limping around with knees the size of foot a ball. I'd take anyother joint pain over knee … ![]() | |
Re: Try this: UPDATE table1 t1 SET table2.b = t1.b WHERE t1.a = table2.a Let me know if this works or not. | |
Re: It's because you trying to put a string, descd.Text, into your decimal parameter without converting it. `Convert.ToDecimal(descd.Text);` | |
Re: Google is your friend... http://msdn.microsoft.com/en-GB/library/ms173156.aspx http://www.csharp-station.com/Tutorial/CSharp/lesson13 http://www.dotnetperls.com/interface | |
Re: Refraction of light through particles in the earths atmosphere, that's not really a stupid question that gets a stupid answer. What was the last war Napoleon Bonaparte fought before his death in 1821 ? | |
![]() | Re: Ford Focus Zetec 1.6 for the last 4 years which I'm selling because I don't use it much anymore :( I now ride a Suzuki SV650 SK8 in blue which is why I don't use my car anymore. Always wanted a bike, even over a car, I can't get enough … |
Re: From what I've just read you might need to intall the version of .NET framework you used to build your application, on the machine you've installed it on as it may not already be installed. | |
Re: Eating while typing is one of my worst but biting the inside of my mouth while I'm coding is the wors. I look like I'm praticing for a gurning competition and it hurts like hell by the time I'm finished! ![]() | |
Re: Use a JOIN clause to join information from more than one table. This should show all rooms that are available on the specified dates. SELECT r.RoomID, r.RoomNumber, r.RoomType, r.PricePerNight, b.CheckIn, b.CheckOut FROM Rooms r LEFT JOIN Bookings b on b.RoomID = r.RoomID WHERE (Convert(datetime, b.CheckIn, 103) NOT BETWEEN Convert(datetime, @CheckInDate, … | |
Re: Replace `saveFileDialog1.Close();` with `Application.Exit();` saveFileDialog1.Close(); terminates the application | |
Re: Try something like the following int number if (int.TryParse(textBox1.Text, out number)) { // value is valid whole number. } else { // value is not a valid whole number. } | |
Re: Mine is more stubble than a beard. I trim it every week and haven't clean shaved in about 4 years but still can't get it to join fully on the right side!. Since sporting the stubble at 21 I've had a maid at a hotel said "my son is his … | |
Re: Can you not just return an empty string? You could always throw an exception. It's not recommended but it's an option. | |
Re: Hi dd2308, What do you mean by the code doesn't work when you put it in the form load event, does it give you an error? | |
Re: It's because your application is trying to connect to a database that doesn't exist. You need to set up a connection, from the other machine, to the database for it to work. | |
Re: What does the error message say? If they're on the same server you just have to put the name of the database before the schema and table names. For example: SELECT * FROM Database1.dbo.Table1 db1t INNER JOIN Database2.dbo.Table2 db2t ON db1t.ID = db2t.ID You should also list the specific fields … | |
Re: In you stored procedure, define the datetime variables to default to null values like this: @StartDate datetime = null, @EndDate datetime = null This will let you pass null values into your stored proc. At the moment you convert your datetime variables to a varchar which means they're no longer … | |
Re: If you're writing the stored proc within the C# code us double quotation marks instead of single when you're writing the SQL string. Single quotation marks are used define chars in SQL so it might be trying to pass in the charactors @StartDate ranter than a datetime. Or have you … | |
Re: You can always convert the word entered by the user into to a char array and take the charactor in the first index Something like: Char[] charactorArray1 = textBox1.ToCharArray(); string newString = charactorArray[0].ToString(); Char[] charactorArray2 = textBox2.ToCharArray(); string newString = newString + charactorArray2[0].ToString(); Char[] charactorArray3 = textBox3.ToCharArray(); string newString = … | |
Re: As Fenrir() said you should generate the ID in within your database. If you generate the ID within your application you risk generating duplicate IDs which will cause errors. You should make the ID the primary key for in a table because it is be the unique identifier for each … | |
Re: If you want to delete the recipe from the favourites all together you could do the following **You need 3 tables:** * **UserTable** * UserID (primary key) * **RecipeTable** * RecipeID (primary key) * **FavouritesTable** * FavouritesID (primary key) * UserID (foreign key) * RecipeID (foreign key) **You'll also need … | |
Re: Try using `While (True)`. It should to infinite loop until the user closes the application. | |
Re: My brother had an S4 and he had a problem with the battery swelling up and not charging properly/ loosing charge quickly. Turned out to be a know fault and they replaced it so do a few searches to see if it's a known fault. Hopefully they might replace the … | |
Re: Edit: This thread was near the top of the list because it had been resurected by another user. I need to look before I comment | |
Re: You need to bind the DataGridView to a data source [Have a look at this tutorial](http://www.codeproject.com/Articles/24656/A-Detailed-Data-Binding-Tutorial) | |
Re: Apparently it's easier to learn C# if you already know Java, than it is to learn Java if you already know C#. I've been told it's because C# is a younger language so it was created to close to be a slightly higher level language than Java. I don't know … | |
What is the best way to get the object, within a list of that object type, that has the highest ID number? I've been trying to figure it out and I can manage to get the highest ID number but not the object containing that ID number. Any help would … | |
Re: Take it from one of the slowest learners in history, you **CAN** make a career out of it. You just have to want it enough and don't expect to be a top dev straight away. Plenty of vets in the industry will tell you they still don't know everything. I … | |
Re: Unless human1 and human2 will never be used outside of MakeReference() you should define them outside of the method: public class myHuman { string name; int age; } public class myClass { public myHuman person1; public myHuman person2; public void MakeReference() { person1 = new myHuman(); person1.name = John Key; … |
The End.