456 Posted Topics

Member Avatar for pardeepkhatri

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)

Member Avatar for ChrisHunter
0
140
Member Avatar for Madhumathi_89

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`

Member Avatar for ChrisHunter
0
89
Member Avatar for brylle.kunot
Re: atm

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 …

Member Avatar for ChrisHunter
-1
89
Member Avatar for DaniwebOS

How are the two tables related, is there a parent ID in the child trable or a child ID in the parent table?

Member Avatar for ChrisHunter
0
172
Member Avatar for TerenceZ

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.

Member Avatar for ChrisHunter
0
139
Member Avatar for Michael Owuor
Member Avatar for fuhanspujisaputra

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.

Member Avatar for ss125
0
218
Member Avatar for nitin1

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.

Member Avatar for nitin1
0
253
Member Avatar for ahmed.talha.16

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 …

Member Avatar for ahmed.talha.16
0
166
Member Avatar for ChrisHunter

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 …

Member Avatar for Dani
2
202
Member Avatar for happygeek

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

Member Avatar for ChrisHunter
0
192
Member Avatar for london-G

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

Member Avatar for <M/>
0
119
Member Avatar for mikeoabban

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); } } …

Member Avatar for ChrisHunter
0
903
Member Avatar for ss125

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 …

Member Avatar for ss125
0
209
Member Avatar for Petranilla

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 …

Member Avatar for Petranilla
0
720
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
1K
Member Avatar for james.lu.75491856

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.

Member Avatar for james.lu.75491856
0
476
Member Avatar for fugio

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 …

Member Avatar for ChrisHunter
0
2K
Member Avatar for webecedarian

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

Member Avatar for Reverend Jim
0
266
Member Avatar for mgold

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

Member Avatar for james.lu.75491856
0
454
Member Avatar for somjit{}

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 …

Member Avatar for somjit{}
0
201
Member Avatar for khiemkim.xuan

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 …

Member Avatar for ChrisHunter
0
131
Member Avatar for abelLazm
Member Avatar for derrick.kofi.14
Member Avatar for james89

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

Member Avatar for ChrisHunter
0
92
Member Avatar for drameshgar1

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.

Member Avatar for atlasequipments
1
1K
Member Avatar for NardCake

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.

Member Avatar for deceptikon
0
565
Member Avatar for prateek29chandra

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 …

Member Avatar for prateek29chandra
0
249
Member Avatar for happygeek

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 …

Member Avatar for diafol
1
1K
Member Avatar for MARKAND911

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 …

Member Avatar for RvSon
0
195
Member Avatar for RvSon

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 …

Member Avatar for RvSon
0
305
Member Avatar for sundog1
Member Avatar for Mike Askew
0
251
Member Avatar for <M/>

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 …

Member Avatar for <M/>
0
432
Member Avatar for ChrisHunter

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 …

Member Avatar for ChrisHunter
0
1K
Member Avatar for profcollinson
Member Avatar for orisa macaulay

* 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).

Member Avatar for CimmerianX
0
155
Member Avatar for diafol

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

Member Avatar for ChrisHunter
0
265
Member Avatar for HibaPro

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 !

Member Avatar for cyberdaemon
-1
137
Member Avatar for hitman007

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!

Member Avatar for Chickzer
0
249
Member Avatar for bnitishpai

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?

Member Avatar for pssingh1001
0
174
Member Avatar for vusa.m.mpofu

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 …

Member Avatar for pssingh1001
0
126
Member Avatar for peymankop

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 …

Member Avatar for ChrisHunter
0
97
Member Avatar for peymankop

Do you want the button to show when you put the cursor over a particular text box or when a particular textbox is clicked?

Member Avatar for ChrisHunter
0
237
Member Avatar for linux
Member Avatar for <M/>
0
3K
Member Avatar for danimischiu

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 …

Member Avatar for pitic
0
1K
Member Avatar for ryan311

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

Member Avatar for ChrisHunter
0
265
Member Avatar for denmarkstan
Member Avatar for <M/>

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.

Member Avatar for <M/>
5
186
Member Avatar for ayyazm64
Member Avatar for pearl.kumar1

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.

Member Avatar for pearl.kumar1
0
195

The End.