456 Posted Topics
Re: 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; | |
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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: **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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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. … | |
Re: Battle Field 3 on the Xbox. Happy Geek please say it's just for the Zombies ?? | |
Re: Anything by One Direction or Lenoa Lewis' cover of Run by Snow Patrol (i'm a big Snow Patrol fan). | |
Re: eradication - and by this I mean eradication of everything. There'll be no one or nothing to fight with or over. **ROMIEO-DONE !** | |
Re: 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 … | |
Re: 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? | |
Re: 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 … | |
Re: 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... | |
Re: 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 … | |
Re: 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? | |
Re: [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. | |
Re: 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. | |
Re: 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... | |
Re: 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. | |
Re: 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) | |
Re: 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. | |
Re: have you tried using Val or Value ? it should store the value you store in it in the most appropriate format type. | |
Re: 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 … | |
Re: 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 | |
Re: 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. | |
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 … | |
Re: 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 … | |
Re: 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. … | |
Re: 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 … | |
![]() | Re: 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 … |
Re: 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). | |
Re: 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 … | |
Re: 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 … | |
Re: Tried Form1.Refresh() that might do the job | |
Re: 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) | |
Re: 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. | |
Re: 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 … | |
Re: 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). | |
Re: 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 | |
Re: 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. | |
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 … | |
Re: 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 … |
The End.