- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 4
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re: That is not even C a program. It's written in C++ using C header files. C doesn't support classes. it's not object oriented. | |
Re: Well if it's a recursive function, then why are you using two functions? it's just calling function. I don't know much in detail about this recursion, but from all th examples in my books, I know that you need to all the same function (one you declare) again and again … | |
Re: A simple way to print an XM data onto the Console window is by using an object of [inlinecode]XmlDocument[/inlinecode]. here is a sample code snippet: [code=csharp] XmlDocument doc = new XmlDocument(); doc.LoadXML(("<clientinfo><servicetype>korea</servicetype><servertype>sakray</servertype></clientinfo>")); doc.Save(Console.Out); [/code] This is one way to do it. Another way is pass an XmlTextReader object to the … | |
Re: WTF.. All she asked was the difference between ++i and i++, not such weird details. Can't you just say that, ++i will first increment the value of i and then assign it., while i++ will first assign the value and then increments (so the variable assigned before gets to keep … | |
Re: out of the topic question: What does credit actually mean? In my country, we don't have those and I couldn't find much info about it on the web? | |
| Re: There is no problem with your code. You just need to call the [inlinecode]this.repaint();[/inlinecode] after removing the component. |
Re: Wow! I don't know what to say to that. Are you sure you are a faculty? I'm sure your students are in the 'waiting queue of unemployment' for ever. I won't so much as tell anyone that I even glanced a code like that. | |
Re: > How to create Run as Administrator option of windows OS in c code.. Such a thing requires a direct call to the windows API. Refer to the MSDN documents in the Microsoft site. You'll also need a signed security certificate. Also the feature will differ from one OS version … | |
Re: Do a google search you'll find lots of working code lying around. | |
Re: Have you tried googling those errors? Most of the errors are simple enough to understand. If there is an error, most probably it's a syntactical error. Check your semi-colons, brackets, etc. After that you can try figuring out the logical errors you have. | |
Re: For the first problem if you require to make a new meaningful word out of a set of characters, then you need to have a dictionary with a number of words. Pass in the two strings as an array of characters. Iterate through your dictionary of words for the first … | |
Re: Seriously? You know it wouldn't hurt if you read the rules once in a while. | |
Re: [QUOTE=xponse;252551]I w'd like tom Download Turbo C (window version). Can any one sugget any site, thank in advance :confused:[/QUOTE] Well I'm also learning C. I tried the Turbo thingy, but it doesn't work that well. At our institute thy use GPP compiler, but it's real troublesome. I would suggest Visual … | |
Re: You don't need to feel down. It's just that people tend to get irritated and fed up with those who just come around here looking for ready answers. I'm sure you must have tried, but you didn't write anything about it. If you are stuck somewhere ask for help on … | |
Re: Well if you are using multiple connections, then you can try enabling pooling. MARS is also an option that uses a single connection to execute multiple queries, however is restricted to only DataReaders. | |
Re: Have you tried to use the Update method of the Adapter Class? [code=csharp] ... DataSet sqlDS = new DataSet("StudentDetails); adapter.Fill(sqlDS, "StudentDetails"); foreach(DataRow dr in excelDS.Tables["StudentDetails"].Rows) { sqlDS.Tables["StudentDetails"].Rows.Add(dr); } adapter.Update(sqlDS, "StudentDetails"); ... [/code] This will copy all data from excel to sql, if the structure of the data is the same. … | |
Re: Microsoft has books specifically for preparing those exams. You can search for them and read through those. However, I find the content there quite tough for a beginner. So I suggest you finish "Head First into C#" and get the basic done. Do some practice by taking small projects and … | |
Re: The problem is that there is no server running in your system. Install the IIS7 server in Vista. Look [URL="http://www.howtogeek.com/howto/windows-vista/how-to-install-iis-on-windows-vista/"]here [/URL]for directions. Also always use a port greater than 5000. And Do you have a ServerSocket running? I think you need it communicate with the Socket. | |
Re: The following websites might help your need. [url]http://blog.stevex.net/index.php/string-formatting-in-csharp/[/url] This MSDN article about [URL="http://msdn.microsoft.com/en-us/library/0c899ak8.aspx"]Custom Numeric Strings[/URL] has good examples | |
Re: Bondo, I'm sorry but there is no way to read not well-formed XML data in .NET. Since you want to use this XML Data into a SQL Server, it's more important for it to be well formed. You can create you own class so that it can ignore the "" … | |
Re: You can use the ComboBox class SelectedIndexChanged or SelectedValueChanged Events. Once the event is generated, you can update the DataSet and then display the data in the DataGrid. | |
Re: Didn't you post the same question in the C# forum? Have you tried searching the web? Just go into the [URL="http://msdn.microsoft.com/en-us/library/default.aspx?s=6"]MSDN [/URL]documentation, you'll find all your answers there. To print XML form a dataset, you can use the [inlinecode]WriteXml()[/inlinecode] function of the [inlinecode]DataSet[/inlinecode] class. | |
Re: You can have a class that just controls the movements. It can check the piece and move it. The board class will have the information about the pieces that are on it. If the region is free, then the piece can move also it'll check the rules defined for that … | |
Re: Can't you just store the values on a String and then accept a value for the count of recursion. Call the method passing the String and Integer. If you must use a char data type, then is a simple typecasting. | |
Re: The problem is your connection string. To connect to a SQL server Compact edition database you use the following: [code] Data Source=MyData.sdf;Persist Security Info=False; [/code] [QUOTE]How to specify the location of the SDF file Often times the .SDF database is not running in the current directory so it becomes necessary … | |
Re: In a disconnected artitechture provided by the ADO.Net will allow you connect to the database for all the DML,DDL and DQL statements. Once the results are acheved you can close the connection. The updated data will be stored in a local DataSet (DataSet follows the same artitechture as that of … | |
Re: Having different namespaces doesn't matter. Just while referencing to the form that you added, provide the full qualified path. Include the whole namespace path till your reach your desired Form Class. That should do the trick. | |
Re: Umm, Have you thought about creating separate PrintWriter objects? Define a rule collection and use switch case to check which rules match. Accordingly call the PrintWriter object's print method associated with the respective log files. | |
Re: What `masijade` is trying to say is that, JSP is a server - side scripting language. You can't only affect the server with it, to control the client side, you need to use a client-side scripts such as JavaScript, etc. |