- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 13
- Posts with Upvotes
- 10
- Upvoting Members
- 11
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
69 Posted Topics
Re: *gasp* you are using Bing ? :) Now really, i like the dream in code forum, they have very usefull advices and tutorials, and i'm glad you included rob miles book very usefull for beginners Also Read this [Where do i start](http://www.dreamincode.net/forums/topic/292468-question-collapse-game-in-c%23/page__p__1705211&#entry1705211) And this[ learning resources](http://www.dreamincode.net/forums/topic/241613-are-cookbooks-good-for-learning/page__p__1400743&#entry1400743) | |
Re: why are you deploying a full blown SQL Server database with your application? Does multiple instances of your application run and need to share the same data? Or does your application run locally and only need the data for itself? If it's the latter, you should look into using a … | |
Re: Do you mean compare the size of audio file? Maybe something like this? http://support.microsoft.com/kb/320348 | |
Re: Here is an example private static void Insert(String name, String lastName, int phone) { string cmdStr = "INSERT INTO Person (FirstName ,LastName ,Telephone) VALUES (@FirstName, @LastName, @Telephone)"; using (SqlConnection connection = new SqlConnection(ConnectionString)) using (SqlCommand command = new SqlCommand(cmdStr, connection)) { command.Parameters.AddWithValue("@FirstName", name); command.Parameters.AddWithValue("@LastName", lastName); command.Parameters.AddWithValue("@Telephone", phone); connection.Open(); int affectedRows … | |
Re: Don't forget about using this http://msdn.microsoft.com/en-us/library/fs2xkftw.aspx and how was this thread locked when a newbie can post in it? | |
Re: Answer is MDI(Multiple-Document Interface ) http://www.dreamincode.net/forums/topic/57601-using-mdi-in-c%23/ http://msdn.microsoft.com/en-us/library/xyhh2e7e(v=vs.110).aspx | |
Re: Programming is not all about the syntax and is the least of your problem, programming is, i would say 80% problem solving and logic and math, first you must know what you want to make(program) then proceed to break that problem into smaller chunks that will help you get the … | |
Re: Why are you using a txt file(not very safe) use a Database. Tell me what have you done so far code wise. You use [StreamReader](http://www.dotnetperls.com/streamreader) to read from a file | |
Re: No, he already defined it as bool on line 4. I agree with Ancient dragon, he should probably use if else if and put return for each of that if statement. | |
Re: Read about http://www.dotnetperls.com/extension extension methods. An extension method has simplified calling syntax. It represents static methods as instance methods. An extension method uses the this-keyword in its parameter list. It must be located in a static class. | |
Re: This is something i learned from a friend on other forum. Before i write 1 line of code, i need to plan out at least some functionalities of the solution i'm gonna write. You start with a whiteboard and plan. What is it you need? For starters: * You know … | |
Re: > "i can able to add textbox Don't you mean "i'm able to add to the textbox?" please work on your english language and grammar so it can be easier to comunicate your problems here. | |
Re: On line 66 don't forget to checki if selected file is image //should check if FileName property is Image Image img = new Bitmap(openFileDialog1.FileName); An insert command on line 191 should be written with sql parameter or else it will be open to sql injection attack | |
Re: Hello there sir, the number you are dialing is not in service anymore, please hold, someone will be there shortly. In the meanwhile please post the error you are getting with the error message. Thanks | |
Re: This is perfect example how not to make program, learn about OOP, C# is OOP language it will reduce this mess, and make it more maintainable. In OOP you make Player class with properties like name, score etc ... and methods like calculate average, then you make instance of the … | |
Re: Have you read what [String.Contains](http://msdn.microsoft.com/en-us/library/dy85x1sa.aspx) actually does > Return Value > Type: System.Boolean > true if the value parameter occurs within this string, or if value is the empty string (""); otherwise, false. Have you actually checked that StartIndex is > 0, in the remove method check those parameters if … | |
Re: Why you wanna do that, use the FBD object to get the path and store it in a string. You are doing things backward. | |
Re: what is inside Random() ? http://xkcd.com/221/ | |
Re: List<Team> is what is know a [Generic list](http://msdn.microsoft.com/en-us/library/512aeb7t(v=vs.110).aspx) | |
Re: [QUOTE=ajnabidost;1317516]please help me out to connect oracle database in c# a complete example program is needed! please help[/QUOTE] Read this topic from the start. HINT: [url]http://www.connectionstrings.com/oracle[/url] | |
![]() | Re: Don't forget to see how to properly create your connection string http://www.connectionstrings.com/ |
Re: Call it a streach, but can't you use 2 combobox one has main items and second will contain submenu items | |
Re: So what you essentialy want is to convert metric to imperial? | |
Re: After you create textboxes use the the foreach to loop through all controls, check if control is textbox, parse using TryParse to the desired type and add them together | |
Re: I agree with Ryshad, why use textbox that is ment for string when there is perfectly good control(numericUpDown) that is ment for integers. | |
Re: Read this [Where do i start](http://www.dreamincode.net/forums/topic/292468-question-collapse-game-in-c%23/page__p__1705211&#entry1705211) And this [learning resources](http://www.dreamincode.net/forums/topic/241613-are-cookbooks-good-for-learning/page__view__findpost__p__1400743) | |
Re: You really like to resurect 5 years old topics. | |
Re: Here, enjoy http://youtu.be/Rvn6mCzRRpU "Tech Support" scammer held on line for 75 minutes http://www.youtube.com/watch?v=kjKjyMKj3n4&feature=related Scamming the scammer http://www.youtube.com/watch?v=nhqxOFH2rmI&feature=related this is weird one | |
Re: http://www.csharpcourse.com/ here, it is free to dl. If this is not enough Read this [Where do I start?](http://www.dreamincode.net/forums/topic/292468-question-collapse-game-in-c%23/page__view__findpost__p__1705211) | |
I have 1 picturebox loaded with an image, what i'm trying to do is every time i click on loaded image the same picture loads into empty picturebox. Now for 1 picturebox is easy, all i do is picturebox1.Image = img; I'm trying to make an event that will load … | |
Re: C# doesn't have final keyword, that is in Java something similar is here http://stackoverflow.com/questions/1327544/what-is-the-equivalent-of-javas-final-in-c | |
How to print portion of the List<int>, it contains 30 elements but i only want to print first 7 elements? List remains unchanged but is should only prints first 7 elements of the list | |
Re: No, strings aren't int, they are different data types. use int total = fundsTextbox + betTextbox; then convert the total to string | |
| |
Re: Where is the error in code, have tried to run your sql code in access? | |
This tutorial is about extension methods in c# **What is an extension method** Sometimes it is necessary to add functionality to a library for which you do not own the source code and where using inheritance to subclass functionality is not viable. This problem can be overcome with the careful … | |
Re: show me where in code have you initialized the connection string | |
I have GroupBox that is populated by Button controls, and a combobox that populates the groupBox based on the selected number in combobox(8, 16, 32). This is my populateGroupbox method private void populateGroupbox (GroupBox gBox, int number ) { for (int i = 0; i < number; i++) { Button … | |
Re: Nice way to resurrect a 7 year old thread :) | |
Re: Or another useful site [DeveloperFusion](http://www.developerfusion.com/tools/convert/vb-to-csharp/) | |
Re: He probably means to show him the entire C# code(do his work for him) for this particular program | |
Re: textBox_Leave(object sender, EventArgs e) is an event it occurs whenever a control is no longer an active control on a form | |
Re: Why can't you use [databinding](http://msdn.microsoft.com/en-us/library/b6y3aby2(v=vs.80).aspx) | |
Re: Did anybody noticed that this topic is 5 years old? | |
Re: [C# yellow book by Rob Miles](http://www.robmiles.com/c-yellow-book/Rob%20Miles%20CSharp%20Yellow%20Book%202011.pdf) The C# Book is used by the Department of Computer Science in the University of Hull as the basis of the First Year programming course. We give away a free printed copy to students when they arrive in the department, and we also give … | |
Re: [Object-Oriented Thought Process, The (3rd Edition)](http://www.amazon.com/Object-Oriented-Thought-Process-The-Edition/dp/0672330164) And [Microsoft Visual C# 2010 Step by Step ](http://www.amazon.com/Microsoft-Visual-2010-Step/dp/0735626707) also don't forget MSDN for C# [Click Here](http://msdn.microsoft.com/en-us/vstudio/hh388566.aspx) | |
Re: In your INSERT statement adb is table not database, (studentid) is column an @s is the value you are inserting the general expreseion goes like this INSERT INTO table_name (column1, column2, column3,...) VALUES (value1, value2, value3,...) | |
Re: If i understand correctly, you want Birthday date cell in dgw to reflect the datetimepicker control? Can you confirm that? |
The End.