Forum: Python 20 Days Ago |
| Replies: 5 Views: 272 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... |
Forum: Python 20 Days Ago |
| Replies: 4 Views: 218 Seriously? You know it wouldn't hurt if you read the rules once in a while. |
Forum: C May 8th, 2009 |
| Replies: 33 Views: 68,428 Please don't try to awaken dead threads. Reads the Rules & Regulations. It's annoying for us. On top of that, Turbo C is BAD and showing novices path to destruction is even worse. |
Forum: C# Mar 5th, 2009 |
| Replies: 19 Views: 924 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... |
Forum: C# Mar 5th, 2009 |
| Replies: 7 Views: 433 To enable pooling:
String connectionString = "Data Source=./SQLExpress; Initial Catalog=StudentDetails; Integrated Scurity=SSPI; Connection Timeout=20; Pooling = true";
You can also specfy the... |
Forum: C# Mar 5th, 2009 |
| Replies: 2 Views: 345 Have you tried to use the Update method of the Adapter Class?
...
DataSet sqlDS = new DataSet("StudentDetails);
adapter.Fill(sqlDS, "StudentDetails");
foreach(DataRow dr in... |
Forum: C# Mar 5th, 2009 |
| Replies: 7 Views: 433 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... |
Forum: C# Feb 28th, 2009 |
| Replies: 11 Views: 970 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... |
Forum: C# Aug 1st, 2008 |
| Replies: 8 Views: 1,946 Sure but how do you explain getting "1234 -> 1234" or "123 -> 0123"? That is not a solution, but just hard coding all your requirements. That we could have done from the beginning, =_=; What we want... |
Forum: C# Jul 24th, 2008 |
| Replies: 10 Views: 3,904 >But printing in this way formatting will be
>omitted which is not solution of my
>problem
What more do you want? We told you how to "get" a formatted XML output and save it. We also told you... |
Forum: Java Jul 22nd, 2008 |
| Replies: 9 Views: 1,669 Amazing, This code is really helpful. |
Forum: C# Jul 22nd, 2008 |
| Replies: 4 Views: 3,743 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. |
Forum: C# Jul 22nd, 2008 |
| Replies: 4 Views: 1,040 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... |
Forum: C# Jul 22nd, 2008 |
| Replies: 10 Views: 3,904 AmirBedair, Please use the code blocks while posting your code. Refer to the rules section of the forum.
>string text = sr.ReadToEnd();
This is a big no no. Do you even realize if the file... |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 3 Views: 1,159 >I fact i have posted this after searching over
>two days over internet
Well it seems like you haven't searched well. Anyways, you can find all the information about it in MSDN.
Just create a... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 2,775 Maybe you don't have your Sql Server running? Try starting/restarting it using the surface area configuration manager or services. |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 2,775 The problem is your connection string. To connect to a SQL server Compact edition database you use the following:
Data Source=MyData.sdf;Persist Security Info=False;
Data Source=" +... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 3 Views: 1,497 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... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 3 Views: 1,159 Didn't you post the same question in the C# forum?
Have you tried searching the web? Just go into the MSDN (http://msdn.microsoft.com/en-us/library/default.aspx?s=6)documentation, you'll find all... |
Forum: C# Jul 21st, 2008 |
| Replies: 4 Views: 2,098 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... |
Forum: C# Jul 21st, 2008 |
| Replies: 8 Views: 1,946 The following websites might help your need.
http://blog.stevex.net/index.php/string-formatting-in-csharp/
This MSDN article about Custom Numeric Strings... |
Forum: C# Jul 21st, 2008 |
| Replies: 10 Views: 3,904 A simple way to print an XM data onto the Console window is by using an object of XmlDocument.
here is a sample code snippet:
XmlDocument doc = new XmlDocument();... |
Forum: Java Jul 19th, 2008 |
| Replies: 4 Views: 7,188 There is no problem with your code. You just need to call the this.repaint(); after removing the component. |
Forum: Java Jul 19th, 2008 |
| Replies: 5 Views: 1,001 Yeah your right, =_= I was too lazy to read your post. Sorry.
But Just so you know, having a switch case here is less prone to error. But still whichever you use, in the end, how you program it... |
Forum: Java Jul 19th, 2008 |
| Replies: 5 Views: 1,001 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... |
Forum: Java Jul 19th, 2008 |
| Replies: 19 Views: 2,553 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... |
Forum: Java Jul 19th, 2008 |
| Replies: 6 Views: 4,548 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... |
Forum: Java Jul 19th, 2008 |
| Replies: 19 Views: 15,844 You can use the following to create an EchoServer and then use it along with your EchoClient.
http://www.cs.princeton.edu/introcs/84network/EchoServer.java.html
A more complex version from Sun... |
Forum: Java Jul 19th, 2008 |
| Replies: 19 Views: 15,844 >i don't know whether to mark this as solved or not
Well like I said, the problem lies in the fact that you need to conect to another system in your network, I don't know how to create a self echo... |
Forum: Java Jul 19th, 2008 |
| Replies: 19 Views: 15,844 As you can see, you need to have an echo server already running. So the hostname can be any computer on you network. I don't have any network connection open so I can't test this application. You... |
Forum: Java Jul 18th, 2008 |
| Replies: 1 Views: 415 hymm, it should be present. Either way which version of JDK are you using? I think you need the J2EE verson. Servelets are related to jsp pages and applets, right. |
Forum: Java Jul 18th, 2008 |
| Replies: 19 Views: 15,844 The problem is that there is no server running in your system. Install the IIS7 server in Vista. Look here (http://www.howtogeek.com/howto/windows-vista/how-to-install-iis-on-windows-vista/)for... |
Forum: Java Jul 18th, 2008 |
| Replies: 7 Views: 721 >I mean the superclass of the char .Or can extend other original data type ,
>give it more function
Why do you want to bother doing all that stuff? When a simple typecasting is enough. |
Forum: Java Jul 17th, 2008 |
| Replies: 7 Views: 721 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... |
Forum: C# May 21st, 2008 |
| Replies: 17 Views: 9,943 As much as I love getting this info on using templates, Please DO NOT revieve dead threads. Aslo if you only need like two returns from a fuction, there is no need to use templates. It's just more... |
Forum: C# May 12th, 2008 |
| Replies: 2 Views: 2,128 Firstly, Sorry for the long delay. I went out for a short trip.
umm, too hard to debug? There is nothing to debug.
The second class Expressions( should be Extensions, but never mind) , you... |
Forum: C# May 4th, 2008 |
| Replies: 3 Views: 3,905 If you want you can change the size of the char to 1 byte too.
I don't really know how, but some detail might be in the specification or MSDN
this might help... |
Forum: C# May 4th, 2008 |
| Replies: 2 Views: 1,153 I agree with the above poster. However it'll be easier if you implement LINQ. You can also retrieve few questions from the Database and display them, or you can use the Random Class to generate a... |
Forum: C# May 4th, 2008 |
| Replies: 2 Views: 2,128 I want to implement that using C#'s Generic LinkedList and the new features of C# 3.0. But I'm stuck now. the code add's the polynomials with matching exponents but doesn't add the rest of the nodes... |