No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
17 Posted Topics
Hye all; I want dataReader to read int values into integer variables. Which conversion do i need. Please help?? [CODE] while(reader->Read()) { temp_string = reader["ID_varchar"]->ToString(); // OK } [/CODE] What about code below ? [CODE] while(reader->Read()) { temp_int = reader["ID_int"]->GetInt32(); // ERROR } [/CODE] | |
Re: Hi, Could you please clear the point. What do you mean by Day 1 , "Enter High temperature 1: (for column[0]) " ?? | |
Hello all, In a desktop database application i encountered a really interesting situation. I write a double value into a textbox as usual. Then i convert the value into double to use in a calculation but the original value is lost ! double doubleVal = 0.0 ; doubleVal = Convert::ToDouble(textBox3->Text) … | |
Hello all, Visual Studio 2010 SP1 is running on a XP SP3 pc. Its C++/CLI IntelliSense support is enabled according to default configurations. However it also gives the message Intellisense unavailable. Do smb know how can this issue can be fixed ? Do i need to install an update, patch … | |
[CODE] System::String ^name_string; SqlCeConnection ^sqlConnection = gcnew SqlCeConnection("Data Source=Northwind.sdf"); sqlConnection->Open(); SqlCeCommand comSelect = gcnew SqlCeCommand("SELECT * FROM tablo WHERE id = 33 ", sqlConnection); SqlCeDataReader ^reader = comSelect->ExecuteReader(); name_string = reader["name"]->ToString(); sqlConnection->Close(); [/CODE] What's the mistake on the code above ? :?: | |
Hi! I am new in hibernate annotations so i am practising it on the console. In here i am using hibernate3.jar(came with Hibernate 3.5.1), hibernate-annotations-3.4.0.GA.jar etc. However when i run the main the application didn't start and following errors were generated. Any idea,please help.. !?? 0 [main] INFO org.hibernate.cfg.annotations.Version - … | |
Hi ! I've been trying to use hibernate with spring framework for a week by using hibernate annotations. I am using hibernate-distribution 3.6.5 final and Spring framework 3.0.5 in the application. Error log and code is here :[URL="http://www.daniweb.com/software-development/java/threads/378043"]http://www.daniweb.com/software-development/java/threads/378043[/URL] I wait for some suggestions. Please hlp ! | |
Hi ! I've been trying to integrate hibernate with spring framework for a week by using hibernate annotations. I am using hibernate-distribution 3.6.5 final and Spring framework 3.0.5 in the application. Error log looks like as below which troubles me a lot. Any piece of idea will be appreciated, please … | |
Hi all, I'm using Hibernate, HSQL and Spring. But i have the following ugly errors. I don't know what to do. Any help will be appreciated. [code=text]org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate … | |
Hi all , I have collected php shell scripts on various sites on web. However the only script which works is this : $ php helloWorld.php [CODE] <?php $var = "honey"; print "hello $var"; echo "world"; ?> [/CODE] Any other script which has different commands doesn't work on the system … | |
I seem to have a problem refreshing the data within my JTable. I know the code is being run through. I have a JTable which is populated from a selection in a combo box, on first click within the combo box the table displays the correct data. So basically the … | |
[CODE] Rectangle ^ClientResolution = gcnew Rectangle(); ClientResolution = Screen::GetBounds(); float CurrentWidth = 1366 ; float CurrentHeight = 768; float RatioWidth = ((float)ClientResolution->Width / (float)CurrentWidth ); float RatioHeight =((float)ClientResolution->Height / (float)CurrentHeight); this->Scale(RatioWidth,RatioHeight); [/CODE] error C2661: 'System::Windows::Forms:: Screen::GetBounds' : no overloaded function takes 0 arguments Any help would be much appreciated. | |
The application has a screen size and resolution problem . What should be done since it looks very funny on desktops . | |
I have read countless exception examples on the web but i could not find "item not found exception " . Before it drives me nut, please hlp | |
Re: The issue is when user enters xzzjm which is not exist on the table and also which is not exist in user options both the query executes RETURNS LAST KNOWN RESULTS and "such a key not exist", ITEM NOT FOUND messages displays. [CODE] if (a||b||c||d||e) { if(a){textBox1.text = "a" AND … | |
When i insert value into table row (data type float), smt rounds decimal values into zeros. Here is the dramatically simplified code in order to see the situation.Interestingly, assigning a single array value into a variable (as usual) doesn't work here ! Is this a SQLite bug ?? | |
We have been working to solve the issue early in the morning. This is a sample code to clearly show the situation. There are also more than 100 tables are waiting to get their records to calculate the results . Any idea ? conn.h #include "stdafx.h" static double global ; … |