456 Posted Topics

Member Avatar for mandyCheong

The row and cell index's are dependent on which row and cell you want to store the value: ***This is for the first cell of the first row*** dataGridView.Rows[0].cells[0].value = textBox1.Text;

Member Avatar for ChrisHunter
0
142
Member Avatar for ChrisHunter

Now then, It's not often I start a thread but I'm struggling to find the answer after a lot of tries on Google. The issue is that I have a "Profession" comboBoxCell as well as a "Discipline" comboBoxCell which is populated/ repopulated with a short list of disciplines dependent on …

Member Avatar for james6754
0
2K
Member Avatar for <M/>

Music isn't allowed in my new office (which is a small scrafice for job satisfaction), but I used to listen to music in my old job too. Usually something repetitive and melodic, like trance, electro or dance. As muck as I love indie and other genres there's too many word …

Member Avatar for ImZick
0
104
Member Avatar for Mike Askew

It's taken me 5 hours longer than yourself and I only noticed it because of this thread or i would have been non the wiser.

Member Avatar for Mike Askew
0
61
Member Avatar for fakhra

How did you manage to get on a software engineering Masters course if you can't/ aren't really willing to engineer software? You could do some research on mobile technology in hospitals. what research has already been done, what mobile technology is currently use and reasearch into the future of mobile …

Member Avatar for ChrisHunter
-1
108
Member Avatar for howard.teoh.7

I'm not sure this can be done but it's worth a try. You can loop through the returned records and use the DateTime.Compare() method in the C# end to sequentially compare two dates and if the result is 2 years or more then for each year missing add a new …

Member Avatar for ChrisHunter
0
138
Member Avatar for ku.heng.7

**Int** can't store anything but numeric values. If your string is made of **ONLY** numeric values you can convert it like so: int MyInt = Convert.ToInt32("1234"); But you **CAN NOT** do: int MyInt = Convert.ToInt32("Chris 1234"); Have a look at [this link](http://msdn.microsoft.com/en-us/library/cs7y5x0x(v=vs.90).aspx), it will explain the different data types and …

Member Avatar for ChrisHunter
0
547
Member Avatar for ahmed_one

I'm assuming that you're hard coding it without adding a datasource so take a look at this [MSDN like](http://msdn.microsoft.com/en-us/library/fbk67b6z.aspx). It shows how you can retreive data from your database and bind it to your DataGridView (DGV) manually. To delete a record you could just delete it from the DGV and …

Member Avatar for ChrisHunter
0
437
Member Avatar for diya45

I take it you want the user to select the word "double" or "Single from a combo box but the value 1 or 2 to be shown in the room table when the selection is saved, depending on which room type was chosen ? If that is the case you …

Member Avatar for ChrisHunter
0
123
Member Avatar for happygeek

I've been following this app for a long time and looking forward to it's release but stupidly havent got the compatible iOS to get it. I think the SmartGlass works with SkyRim, showing you where you are on the map and what you have in your inventory. At the moment …

Member Avatar for ChrisHunter
2
609
Member Avatar for pritaeas

I'm a fairly new developer and think windows is easy to use but I've grown up with windows machines. That might be the case had I always used mac os though. BigPaw there is a Win8 camp in Manchester this Sunday (25th) and two in London on 30th and 1st. …

Member Avatar for BigPaw
2
199
Member Avatar for arohideep13
Member Avatar for Bob Hensley
0
296
Member Avatar for The Dude

Anything by One Direction or Lenoa Lewis' cover of Run by Snow Patrol (i'm a big Snow Patrol fan).

Member Avatar for <M/>
0
691
Member Avatar for abelLazm
Member Avatar for faroukmuhammad

eradication - and by this I mean eradication of everything. There'll be no one or nothing to fight with or over. **ROMIEO-DONE !**

Member Avatar for Xantipius
0
447
Member Avatar for Matt061

Why would you be bothered by the company tracking THEIR OWN laptop ? If the company have given you a laptop I'm guessing they gave it you to do work and not as a present for personal use. You should use the companies laptop like you would a computer in …

Member Avatar for dogbreath077
0
246
Member Avatar for howard.teoh.7

Hi Howard, I'm not sure what you're asking for. * Have you created a windows form using code? * Do you want to create this textbox before the appliction is run?

Member Avatar for howard.teoh.7
0
195
Member Avatar for kaharas

Your question isn't very clear. - Do you want to be able to controle all the sub forms from the main form? - Do you want to be able to open more than one sub form at a time? Do you have any more code than above to show us …

Member Avatar for kaharas
0
186
Member Avatar for nesa24casa

As Momerath said, use a higher resolution image, the reason the image isn't smooth is because there aren't enough pixels per-inch. After all a dish is only as good as its ingredients...

Member Avatar for nesa24casa
0
178
Member Avatar for tmohney

The best thing to do is to use a comboBox with predefined values which you can set and the user will choose from. This limits the amount user input and reduces the chance of human error. You should use the predefined method called 'SelectedIndexChanged' (this comes built-in to the object …

Member Avatar for Mike Askew
0
147
Member Avatar for rebang

I'm guessing you're asking for the pseudocode and not just writing a random statement ? Have you got any evidance that you have attempted it yourself yet? Do you want guidence in how its done?

Member Avatar for Israel82
0
115
Member Avatar for gelmi

[Have a look at This](http://msdn.microsoft.com/en-us/library/cs7y5x0x(v=vs.90).aspx) its the MSDN website with examples of how the different types are used.

Member Avatar for ChrisHunter
0
108
Member Avatar for lorens5

Have a look at the links below they may be of use: http://www.homeandlearn.co.uk/net/vbnet.html http://howtostartprogramming.com/vb-net/ Have fun and good luck.

Member Avatar for jhai_salvador
0
93
Member Avatar for BigPaw

Coffee, water and what ever I made for tea the night before. I'd like to say beer but they're a bit fussy about you drinking in the office...

Member Avatar for deceptikon
0
199
Member Avatar for compulove

Start simple with a cumputerised address book or something similar and work up to a library system and the likes. There is a book called 'Head First C#' that is a more hands on book which has you developing application that grow in complexity as you read on.

Member Avatar for compulove
1
106
Member Avatar for hannahabigail.lewis

Post in the Java forum and show your attempt at the problem first [Click here for the Java forum](http://www.daniweb.com/software-development/java/9)

Member Avatar for JamesCherrill
0
88
Member Avatar for Harvi

As good practise you should have a class seperate from your interface methods (i.e. button clicks) so that they aren't as accessible and to organise your application better. Simply make another class with the connection and insert command in and simply call that from the button click events.

Member Avatar for ChrisHunter
0
108
Member Avatar for stefilina

have you tried using Val or Value ? it should store the value you store in it in the most appropriate format type.

Member Avatar for pritaeas
0
141
Member Avatar for Ancient Dragon
Member Avatar for BigPaw
0
111
Member Avatar for getnit

what type of DB will you be using ? you could just create stored procs specific to each application and just use a single DB. Or You could have a number of DB's on a single server and just access then when and where they are needed. It's easily done …

Member Avatar for Momerath
0
110
Member Avatar for emirsah07

Hay a look at the links below they should help you out: http://www.dijksterhuis.org/building-a-tcpip-server-using-c/ http://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj150599.aspx

Member Avatar for ChrisHunter
0
160
Member Avatar for Lexang

if you're still looking for a solution to this take a look at this [link](http://dotnetslackers.com/articles/net/Binding-a-Microsoft-Chart-with-a-Dataset.aspx#1343). It's a walk through of how to databind a chart in both C#.NET and VB.NET.

Member Avatar for ChrisHunter
0
696
Member Avatar for ChrisHunter

Does anyone own a set of [these](http://www.ebuyer.com/370669-tp-link-tl-pa411kit-av500-mini-powerline-adapter-stater-kit-tl-pa411kit) TP-Link Mini Powerline Adapter or any powerline adapters for that matter ? I'm looking at getting a set to save trailing wires around the house and pulling up carpets to lay them. I've read the review from eBuyer but just wanted to see …

Member Avatar for rubberman
0
154
Member Avatar for NoCodeMonkey

Put your CV on a job website (such as 'Monster' in the UK), look for student placements and under grad jobs. I was in your position whilst at university but managed find a job. Be confident, sell yourself and focus on what you have to offer and not what you …

Member Avatar for ChrisHunter
0
235
Member Avatar for dinhunzvi

tbl1 is the name of the table with the PK you want to reference and ID will be the PK you want to reference. myForeignKey int FOREIGN KEY REFERENCES tbl1(ID) Do this when you creating the second table, if you the table already exists do it in an ALTER statement. …

Member Avatar for ChrisHunter
0
197
Member Avatar for Brick Wall

When the user is entering the 5 values are they entering one value, clicks save and then entering the next value ? if they are entering them in the same box at the same time (e.g. 12 34 56) then you may need to tokenise the input. Also have a …

Member Avatar for Brick Wall
0
6K
Member Avatar for iamthwee

I climb a minimum of 1 day a week but that's it at the moment (I've just moved house and started a new job). I've refused to join a gym so far because I wanted to get ripped without one but might give in soon (not that i've been trying …

Member Avatar for Mike Askew
0
437
Member Avatar for aabbccbryanmark

It looks like it's the foreach close bracket... Keep the positioning of your curly brackets the same, make its more readable and consistant (you have some on new lines and some at the end of lines).

Member Avatar for JamesCherrill
0
128
Member Avatar for tendaimare

If there is already a background worker taking up the resources the lock will mean the new background worker wont be able to access the resource so you will have to put an action listener in to check when the resources become available. Also try to make your queries more …

Member Avatar for ChrisHunter
0
201
Member Avatar for Darth Vader

You might have already solved this but you would probably benifit more from using a console app and just opening the other application depending on the result of your IsProcessOpen method. It would be quicker because it doesn't have to initialise the UI componants of the Win Forms app and …

Member Avatar for ChrisHunter
0
239
Member Avatar for optimus_prime_1
Member Avatar for sundog1
Member Avatar for mcmanuel20

You haven't closed off the Contact class before defining the Details class. You should take unnecessary white spaces out to make it more readable (but not so it's one continuous word)

Member Avatar for Mike Askew
0
125
Member Avatar for sai.ayilavarapu

So when you add new details do they get save straight to the DB or do they go to the GridView first ? Can you take all the random empty lines out of your code too, it looks messy and makes it a pain to read through.

Member Avatar for ChrisHunter
0
260
Member Avatar for beck0760

I did one for my final project at univercity but although it was only about 18 months ago I'm a bit rusty, i think in the context of a project (Rather than a disortation/ research) you should try to find articles and books on developments, made by others, within the …

Member Avatar for ChrisHunter
0
169
Member Avatar for RickCJ7

If you want to be able to switch to a particular database depedent on a particular condition you could use a case statement withing your DB connection method which references at spacific connection string dependent on the case (if statements will work too).

Member Avatar for ChrisHunter
0
166
Member Avatar for israruval007

Have a look at these threads they might be of some use to you: http://www.daniweb.com/software-development/csharp/threads/420976/easiest-way-to-read-and-write-xml-files http://www.daniweb.com/software-development/csharp/threads/406137/dealing-with-xml http://www.daniweb.com/software-development/csharp/threads/387500/xml-reader-help

Member Avatar for ChrisHunter
0
262
Member Avatar for panchdeo

Google 'MP3 player in C#'. Also have a look at these links: [Existing DaniWeb thread](http://www.daniweb.com/software-development/csharp/threads/292695/playing-mp3-in-c) [This is a thread on the MSDN forum on the same subject](http://social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/1968a9f6-8fe4-4a87-8850-62ed7a7fdf1e) Get stuck in and let me know how you get on with it.

Member Avatar for aaruj
0
206
Member Avatar for ChrisHunter

I wasn't quite sure where to post this so I thought considering SSRS in VS 2005 produces XML scripts i thought this would be the best forum. I have a table grouping which produces a number of tables using the same section of xml code. Due to this the problem …

0
120
Member Avatar for general45

If this isn't a perfect example of someone wanting someone else to do their homework for them then I don't know what is. Google it, the code is out there but if you're on a programming course and don't put the effort in to understand it you're going to be …

Member Avatar for ChrisHunter
-1
83

The End.