5,346 Posted Topics

Member Avatar for smoore
Member Avatar for smoore
0
111
Member Avatar for sandli28

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?

Member Avatar for Piya27
0
1K
Member Avatar for anusha88
Member Avatar for anindo87

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.

Member Avatar for anindo87
0
461
Member Avatar for karamjeet2004
Member Avatar for kvprajapati
0
85
Member Avatar for Donish

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]

Member Avatar for dnanetwork
0
1K
Member Avatar for babbu

Use [code=vb.net] oledbcom.CommandText = "Select * from .... like *?*" [/code]

Member Avatar for babbu
0
98
Member Avatar for kerek2
Member Avatar for Rockpile

Rockpile, TryParse Method [code=c#] int n; int.TryParse(Console.ReadLine(), out n); [/code]

Member Avatar for Rockpile
0
103
Member Avatar for danielagaba

danielagaba, You must have to use .mdf (sql server database) not .sdf(sql server database compact).

Member Avatar for danielagaba
0
95
Member Avatar for biofly

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]

Member Avatar for kvprajapati
0
167
Member Avatar for Faiz Azani

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] ... …

Member Avatar for kvprajapati
0
92
Member Avatar for laghaterohan

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]

Member Avatar for kvprajapati
0
107
Member Avatar for majc

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]

Member Avatar for sknake
0
376
Member Avatar for jbrock31

jbrock31, >Which database product are you using? >It is possible that database server is not started.

Member Avatar for kvprajapati
0
128
Member Avatar for ravikiran032
Member Avatar for Stefano Mtangoo

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]

Member Avatar for Stefano Mtangoo
0
228
Member Avatar for pltndragon

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 …

Member Avatar for NathanOliver
0
2K
Member Avatar for zeusofolus

zeusofolus, Which foreach? Post only a section of source code where you got some problems.

Member Avatar for zeusofolus
0
217
Member Avatar for Dizzzy

Dizzzy, [code=sql] SELECT * FROM Calendar where dayno=27 [/code] [code=sql] SELECT * FROM Calendar where dayno='27' [/code]

Member Avatar for Ramesh S
0
149
Member Avatar for dimplemodi
Member Avatar for BabyEyes

BabyEyes, To upload an image, use html tag. SQL won't help you. You may save content of a file into database programmatically. Most probably stored procedures or parameterized queries are used for the same.

Member Avatar for kvprajapati
0
63
Member Avatar for xVent
Member Avatar for Questions???

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]

Member Avatar for Questions???
0
936
Member Avatar for mcgarry101

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.

Member Avatar for kvprajapati
0
97
Member Avatar for jcollins85

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]

Member Avatar for jcollins85
0
156
Member Avatar for sonia sardana

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]

Member Avatar for sonia sardana
0
132
Member Avatar for MrNoob

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, …

Member Avatar for MrNoob
0
149
Member Avatar for BestJewSinceJC

>>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.

Member Avatar for ~s.o.s~
0
134
Member Avatar for buchanan23

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 …

Member Avatar for buchanan23
0
2K
Member Avatar for josi.martarelli

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 …

Member Avatar for sknake
0
194
Member Avatar for xuexue

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]

Member Avatar for kvprajapati
0
93
Member Avatar for innocent.boys

innocent.boys, Show us your code please. Wrap up source code with bb code tags. [noparse] [code=php] ... statements... [/code] [/noparse]

Member Avatar for kvprajapati
0
297
Member Avatar for laghaterohan
Member Avatar for pltndragon

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]) << " "; …

Member Avatar for pltndragon
-1
2K
Member Avatar for wingers1290
Member Avatar for mimsc
Member Avatar for mimsc

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.

Member Avatar for mimsc
0
113
Member Avatar for pltndragon

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 …

Member Avatar for pltndragon
0
423
Member Avatar for Para2x

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 …

Member Avatar for Aia
0
125
Member Avatar for bil050

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]

Member Avatar for kvprajapati
0
128
Member Avatar for 141550

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.

Member Avatar for kvprajapati
0
122
Member Avatar for thr
Member Avatar for Ramy Mahrous
0
237
Member Avatar for lakshay

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]

Member Avatar for ede
0
168
Member Avatar for babbu

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 …

Member Avatar for kvprajapati
0
157
Member Avatar for CodeBoy101

CodeBoy101, >>how do I run [icode]servlets within JSP pages?[/icode] Send request for servlet to the webserver.

Member Avatar for peter_budo
0
127
Member Avatar for llazar

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.

Member Avatar for kvprajapati
0
264
Member Avatar for alsoumhi

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 …

Member Avatar for kvprajapati
0
98
Member Avatar for memegha123
Member Avatar for memegha123
0
91
Member Avatar for TheParadox
Member Avatar for kvprajapati
0
55

The End.