5,346 Posted Topics
Re: smoore, Use setFocusLostBehavior method of JFormattedTextField. | |
Re: sandli28, Duplicate Thread : [URL="http://www.daniweb.com/forums/thread204221.html"]http://www.daniweb.com/forums/thread204221.html[/URL] [QUOTE]Then how its possible when we used save button.how its insert into database.[/QUOTE] I didn't get you. Where is a problem? | |
Re: anusha88, Use applet to draw such things. | |
Re: anindo87, [ICODE]...but i'v tried ths code....it isn't working.... [/ICODE] hkansal has wrote an expression for you. Post your source code. Use BB code tags. | |
Re: Conflict between Javaee.jar and tomcat's servlet-api.jar. Both loads Servlet in a same class hierarchy. | |
Re: Use paypal. Read this [URL="https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks"]PayPal ASP.NET API[/URL] | |
Re: Use [code=vb.net] oledbcom.CommandText = "Select * from .... like *?*" [/code] | |
Re: kerek2, Use string functions in crystal report design. | |
Re: Rockpile, TryParse Method [code=c#] int n; int.TryParse(Console.ReadLine(), out n); [/code] | |
Re: danielagaba, You must have to use .mdf (sql server database) not .sdf(sql server database compact). | |
Re: Welcome biofly, I think your code needs more .java files. Read following before you post anything, 1.[URL="http://www.daniweb.com/forums/announcement118-2.html"]Homework policy[/URL] 2.[URL="http://www.daniweb.com/forums/announcement118-3.html"]How to post source code?[/URL] Source code must be surrounded with code tags. For example, [noparse] [CODE=Java] statements .... [/CODE] [/noparse] | |
Re: Welcome Faiz Azani. Error message says that your query missing columns of your table. i.e. query has invalid column name. Read following rule: 1.[URL="http://www.daniweb.com/forums/announcement118-2.html"]Homework policy[/URL] 2.[URL="http://www.daniweb.com/forums/announcement118-3.html"]How to post source code?[/URL] 3.Title of thread must reflect your question. Source code must be surrounded with code tags. For example, [noparse] [CODE=vb.net] ... … | |
Re: laghaterohan, You should have to post in ASP.NET forum. echeck() require an argument. [code=c#] protected void btnvalidate_Click(object sender, EventArgs e){ txtemail.Attributes.Add("onclick", "echeck('Something');"); } [/code] | |
Re: majc, @method is a null reference - [URL="http://msdn.microsoft.com/en-us/library/24fxedak(VS.95).aspx"]http://msdn.microsoft.com/en-us/library/24fxedak(VS.95).aspx[/URL] @target is a null reference -or- method is a null reference - [URL="http://msdn.microsoft.com/en-us/library/24fxedak(VS.95).aspx"]http://msdn.microsoft.com/en-us/library/24fxedak(VS.95).aspx[/URL] @Application code attempts to access this member late-bound, for example, by using the Type - [URL="http://msdn.microsoft.com/en-us/library/24fxedak(VS.95).aspx"]http://msdn.microsoft.com/en-us/library/24fxedak(VS.95).aspx[/URL] | |
Re: jbrock31, >Which database product are you using? >It is possible that database server is not started. | |
Re: ravikiran032, Use Thread class method. | |
Re: LPCDLIST is pointer to struct. GetCDLists code : [code=cplusplus] if (GCDLists !=0){ LPCDLIST lpcd; // Pointer to struct GCDLists(lpcd); // <-- no place for data ..... [/code] [CODE=cplusplus] if (GCDLists !=0){ CDLIST lp; // struct variable GCDLists(&lp); // an address of struct std::cout << lp.cd[0].info.vendor; ..... [/code] | |
Re: pltndragon, Use code tags. See # icon at toolbar. for example, [noparse] [code=cplusplus] .. .. statements [/code] [/noparse] See the difference, [code=cplusplus] #include <iostream> #include <iomanip> using namespace std; void arrSelectSort(float *, int); void showArrPtr(float *, int); void showAverage(float, int); int main() { float *scores, //To dynamically allocate an array … | |
Re: zeusofolus, Which foreach? Post only a section of source code where you got some problems. | |
Re: Dizzzy, [code=sql] SELECT * FROM Calendar where dayno=27 [/code] [code=sql] SELECT * FROM Calendar where dayno='27' [/code] | |
Re: dimplemodi, It's a problem regarding to PHP & MySQL version. | |
| |
Re: Welcome Question??? You must have to read rule at daniweb, 1.[URL="http://www.daniweb.com/forums/announcement118-2.html"]Homework policy[/URL] 2.[URL="http://www.daniweb.com/forums/announcement118-3.html"]How to post source code?[/URL] 3.Title of thread must reflect your question. Source code must be surrounded with code tags. For example, [noparse] [CODE=Java] ... statements.. [/CODE] [/noparse] | |
Re: mcgarry101, Add a reference of System.Data.OracleClient.DLL into your application. >TNS: could not resolve the connect identifier specified. It's name of server (listener) - Try name of computer. | |
Re: jcollins85, missing end of file check. [code=c] for(count = position; getc(input) != '\r' && !feof(input); count++){ fseek(input, count, SEEK_SET); ch = getc(input); putc(ch, stdout); } [/code] | |
Re: break; - no need to post source code. sonia sardana - read this, [URL="http://catb.org/esr/faqs/smart-questions.html"]http://catb.org/esr/faqs/smart-questions.html[/URL] | |
Re: MrNoob, at post #7 [QUOTE]yah i know now but what if i wanna count like row by row like {1,3,4} {3,5,6} it will count 1 + 3 and 3+5 and 6 + 4 ? should i switch variables x first then i 2nd ? [/QUOTE] Here is two dim array, … | |
Re: >>But I guess I am going about [icode]creating a file connected to that resource wrong?[/icode] Nope. Instances of [B]File [/B] class may or may not denote an actual file-system object such as a file or a directory. | |
![]() | Re: Thanks BestJewSinceJC for valuable suggestion. Do not use static modifier unless it is required. static modifier is used when we want to declare someting globally. In your program it is unnecessary. Anonymous Inner class is the best practice to attach event handler. [code=java] ... nextButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent … ![]() |
Re: sknake you didn't read OP's question. He/She has no problem to fetch value of identity column before insert a row into a table. [code=sql] SELECT IDENT_CURRENT ('tablename') [/code] will retrieve latest value of an identity column. @josi.martarelli>> Does anyone know if there is a way to get this value from … | |
Re: xuexue, Joomla is a free content management system entirely written with PHP. [URL="http://www.joomla.org/"]http://www.joomla.org/[/URL] [URL="http://developer.joomla.org/"]http://developer.joomla.org/[/URL] [URL="http://www.joomla.org/about-joomla/getting-started.html"]http://www.joomla.org/about-joomla/getting-started.html[/URL] | |
Re: innocent.boys, Show us your code please. Wrap up source code with bb code tags. [noparse] [code=php] ... statements... [/code] [/noparse] | |
Re: laghaterohan, Post your complete code or attach .zip of project. | |
Re: pltndragon, In your program, function arguments - array of float pointers is unnecessary. Use float pointer. [CODE=cplusplus] void arrSelectSort(float *, int); void showArrPtr(float *, int); [/code] Array index must be unsigned int. [code=cplusplus] void showArrPtr(float *array, int size){ for (float count=0; count< size; count++) cout << *(array[count]) << " "; … | |
Re: Use TryParse or TryParseExact methods of value types. | |
Re: Move this thread to PHP forum | |
Re: mimsc, >how Can I pass my jsp as the contents of a email? Yes, after all jsp page is also a text file. Attachment of jsp page or assign the content of jsp to message body. | |
Re: pltndragon, Some suggestions for you: numElements is declared at file context (global) and hence it's value is 0. [CODE=C++] values = arrAllocator(numElements); // arrAllocatator(0) ? [/CODE] First, read value into numElements and then go for allocation. [CODE=C++] cout << "\nEnter an array size: " << endl; cin >> numElements; values … | |
Re: Welcome Para2x, In your post #3, you said [QUOTE]i want to write my program in C . with xxxxx C 3 [/QUOTE] Your compiler is 13 to 15 years [B]old standard com[/B]piler. Now, it's time to change your compiler. There are number of free C++ compilers. Read more about standard … | |
Re: Welcome bel050, It would be [B]virtual A[/B]. [CODE=C++] struct C: virtual A, virtual B { C(): A(1) {} virtual void a(){} virtual void c(){} }; [/CODE] Use code tags. Source code must be surrounded with code tags. For example, [noparse] [CODE=C++] ... statements.. [/CODE] [/noparse] | |
Re: Little addition to AD's post. Destructor is a member function or method of class which is called automatically when an object loose it's reference. Destructor is used to implement object specific cleanup code. | |
Re: [URL="http://www.daniweb.com/forums/thread204603.html"]thr[/URL] | |
Re: lakshay, Use code tags. Source code must be surrounded with code tags. For example, [noparse] [CODE=Java] ... statements.. [/CODE] [/noparse] [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to post source code?[/URL] ![]() | |
Re: babbu, Set dataGridView2.AllowUserToAddRows = False. Why not DataAdapter? [CODe=VB.NET] ..... Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = "Select Code,Weight,Unit from Contents where id = ? and [combination name] = ?" oledbcom.Connection = oledbcon oledbcom.Parameters.Add("?", OleDb.OleDbType.VarChar) oledbcom.Parameters.Add("?", OleDb.OleDbType.VarChar) oledbcom.Parameters(0).Value = dataGridView1.Item(0, dataGridView1.CurrentRow.Index).Value oledbcom.Parameters(1).Value = lstColour.SelectedItem.ToString Dim adp As new OleDb.OleDbDataAdapterReader(oledbcom) Dim … | |
Re: CodeBoy101, >>how do I run [icode]servlets within JSP pages?[/icode] Send request for servlet to the webserver. | |
Re: Welcome llazar, >Is it possibile to [icode]insert SQL in JSP?[/icode] SQL(structured query language) is query language or an interface to work with database. You can write java program (code) in jsp to connect with database and execute queries, stored-procedures, and functions. Use classes and interfaces from java.sql package. | |
Re: alsoumhi, It's not easy to find a question. Do you want to write something into response buffer using servlet? or Do you want to forward request and response from one servlet to another servlet? [icode] I know I can send the web page by coding the web page in the … | |
Re: memegha123, Did you work out on this issue? Do you know about HTTP response headers? | |
Re: TheParadox, Use common event handler for different components. |
The End.