456 Posted Topics
Re: According to MSDN which is the first search result when you Google "System.Uri", it ["Provides an object representation of a uniform resource identifier (URI) and easy access to the parts of the URI."](http://msdn.microsoft.com/en-us/library/system.uri.aspx) | |
Re: What have you done so far? If you're table has a date column in it do `SELECT field1, field2 FROM MyTable WHERE dateField >= date1 AND dateField <= date2` | |
Re: Also it looks like you're asking for an ATM application without having shown any evidance that you've attempted it yoursel. The rules also say you have to show you've attempted it yourself first. There's also a lot of help at hand if you use Google, there are examples of the … | |
Re: How are the two tables related, is there a parent ID in the child trable or a child ID in the parent table? | |
Re: Yeah that can be done, you could use a DataGridView or a TableLayoutPanel with simple text boxes or buttons that change colour when they're clicked. | |
Re: Try making the CloseForm method **private static void**. Next at the top of the Close form method put `Form frm = sender as Form();` and where you have `this.` in the CloseForm method swop it for `frm.`... see if it works. | |
Re: The default images are similar to the ones used on quite a lot of other forums that are like DaniWeb (i.e. MSDN form), I think they're used to avoid confusion if new user's have used other forums before. | |
Re: If you simply want to show and hide the DataGridView (DGV) when a particular label is clicked you only need check if the DGV is visible or not and then do `DataGridView.Visible = true;` (or = false if you want to hide the DGV), within the predefined clicked method for … | |
I haven't been very active over the last couple of months but I posted a few times before I went to Orlando, Fl for 2 weeks and as the old cliché I went on holiday and everything has changed!. I only had a quick look but I have to say … | |
Re: I think I'd probably sit in my living room trying to figure out how to fly the thing for an hour or two before getting frustrated, putting it back in it's box and realising it was a waste of money and that I p****d my girlfriend off for no reason... … | |
Re: I know exactly what you mean London-G, some stuff does stick but I do have to keep looking over previous code for help. Practise makes perfect I guess... | |
Re: You could create a class like the one below and bind that to the DataGridView. public class Calculate { public Calculate() { this.Clear(); } public float Number1 { Get; Set; } public flost Number2 { Get; Set; } public float Sum { get { return (Number1 + Number2); } } … | |
Re: If you want to allow the user to select more than 1 entry I would suggest using a list box control and changing the selection mode property rather than using a combo box because combo boxes should really only be used to select a single value. You don't actually ask … | |
Re: Can you print screen what your screen looks like when it messes up please? When I went to Uni we had to work in groups to create and modify a space invaders game in Java. If you're facing the same problem we did when we were trying to display the … | |
Re: I think the lesson to be learned here is instead of ranting about something, calm the arrogance and simply state the issue you're faced with, if it is a pre-existing issue and ask for a possible solution (whether it be a DaniWeb issue or browser issue). Also if all websites … | |
Re: I hate to be the one to crack this probably hated jokes but brace yourselves... - There are only 10 types of people in the world... Those who do understand binary and those who don't. | |
Re: Off the top of my head this is the only way to loop through reach row of a DGV (data grid view), check if the rows have any empty cells and then delete that row. //Only loop through if are rows to loop through if (dataGridView.Rows.Count > 0) { for … | |
Re: Snatch as in one of Guy Ritchie's legendary British films and on of the early Jason Stathem appearences with Vinny Jones and the not so British Brad Pitt? That, along with lock-stock and the more recent RocknRolla are massively under rated. As is Shane Meadows version of "Dead man's shoes" … | |
Re: **PRAISE THE LORD FOR PEOPLE WITH COMMON SENCE!** I tried explaining the security risks of web storage to people who use things like SkyDrive or iCloud or have spoken to a person with a fruit on their shirt and suddenly think they're tech gods. Explaining why it's not the best … | |
Re: It's a case of the company either needs to have enough funds to pay for a good website or know a dev that can do it for them at mates rates, other wise it's usually an off the shelf template or D.I.Y job. That doesn't necessarily mean it's a bad … | |
Re: If by Error message you mean an exception then you can put a Try/Catch in you method like this: private void myMethod() { try { ..... } catch (Exception ex) { MessageBox.show("" + ex); } } As for the obsolete problem can you not add DateTime.Now.ToString() to the end of … | |
Re: If you want to link Form1 to Form2 (in that you want to open Form2 when you click a button on Form1), first add a button to Form1 and in the button click event do the following: Form2 frm2 = new Form2(); frm2.show(); and SHAZZAM! Form2 opens and they're linked. … | |
Re: A friend of mine lost his iPhone and tried to get it tracked but the people he called said they can but only if it's a missing persons problem but not if it's just a lost phone. thats in the UK though. | |
Re: I use CodeMaid to organise my code and StyleCop to add the necessary formatting like blank lines, comments and the rest. Edit: I code in C# atm. | |
Re: It depends on what you want to do with the data when you've retrieved it. Doing a union all on ID columns will cause a lot of problems because the two tables will have conflicting IDs. For example, if you want to query some data using the ID of a … | |
Re: I heard a good'en when someone on the radio was asked the difference between rugby and football, "Football is pretending to be injured for 90 minutes. Rugby is pretending you're **NOT** injured for 80 minutes". If you don't agree with that you've either never heard of the Warrington Wolves player … ![]() | |
Re: The source should be the name of the server the DB is on and the catalog should be the name of the database so try adding a catalog attribute to the connection string just after the source attribute. EDIT: Sorry my advice is for an SQL server database and not … | |
Re: Do you mean you want to show a particular panel depending on the user **OR** do you want different panels which the user can switch between. If it's the first option simply use panels and show and hide them as is required. If It's the latter you should use the … | |
Re: Try just setting it in the properties window in design mode. | |
Re: Did you loose him? Mine is propbably not going on a 3 week road trip around America with a couple of friends, even though my parents offered to loan me the money. They're pretty good like that my parents, they'ed rather me borrow the money and experience something like that … | |
Is there a way to remove blank worksheets from an excel report that is generated in SSRS? I've done some research and i could find solutions such as removing blank rows and even entire sheets but only via marcor's in excel, which won't work in my case as the report … | |
Re: * Are you connected through wireless or a wired connection? * Is the router or modem turned on? * Are all cables connected correctly? (check them before answering in case one has come loose). | |
![]() | Re: Happy St Davids Day, I love Wales. I can't wait for the weather to pick up enough for camping and a bit of climbing. Hope you've had a good'n diafol |
Re: Have a look at [this](http://msdn.microsoft.com/en-us/library/ms189647.aspx), [this](http://support.microsoft.com/kb/2019698), [this](http://www.gotknowhow.com/articles/how-to-setup-sql-server-2008-automatic-daily-database-backups) and [that](http://stackoverflow.com/questions/3180007/how-to-schedule-backup-in-sql-server-2008). Google is amazing ! | |
Re: I spend at least 8hours a day 5 times a week infront of a computer in work, but if I don't go climbing or something like that after work it can be 12hours! | |
Re: Can you be a bit clearer please @bnitishpai Do you want to know how create a DB using a language like C# or Java in Visual Studios rather than straight in SQL Server Management Studios, if so what language are you using? | |
Re: There's a massive amount of tutorials out there that cover what you need to do. Have a look at these links to: [Insert new record.](http://msdn.microsoft.com/en-gb/library/ms174633(v=sql.100).aspx) [Update an existing record.](http://msdn.microsoft.com/en-gb/library/ms177523.aspx) [Delete and existing record.](http://msdn.microsoft.com/en-gb/library/ms189835.aspx) In the future you need to show us what you have done so we know you have … | |
Re: Haha ddanbe you can't get him to open a new thread and then tell him to refer to the old one... saying that it's made me laugh!. peymankop, to get the location (opsition on the form) of the button, simply create 2 int variable called X and Y and store … | |
Re: Do you want the button to show when you put the cursor over a particular text box or when a particular textbox is clicked? | |
Re: Sorry to do this... Sweet **child** of mine - Guns and roses | |
Re: You can create a table type in SQL server 2008 onwards which can be used to pass a data table into a stored procedure which should take up less resources and time than executing the stored proc for each row you need to update. I tried to use them in … | |
Re: define a private and public property like this: private int _age; public int Age { get { return _age; } Set { _age = value; } } and to set the value of _age you pass the value to Age, or you can just do `public int Age { get; … | |
Re: Post the SaveChanges() method. What error did you get? | |
Re: Happy Birthday <Michael>... but where's your birthday bunny? Mine is 14th July and on that day: * Billy The Kid was shot. * The French revolution. * Capital punishment is abolished in Canada. | |
Re: Can you post the SQL statements you were using please? | |
Re: Take a look at these links: http://social.msdn.microsoft.com/Forums/zh/sqlsetupandupgrade/thread/f5847d66-6d17-4a17-ac9f-7f0cdc18002d http://support.microsoft.com/kb/888228 All I did was copy and paste the error into Google so if the above links don't help there Google it again and you might be able to find a solution. |
The End.