|
-
December 22nd, 2010, 03:22 PM
#16
Re: Write data to SQL database
alright so when i make a SProc, where do i store it exactly? in the database itself? or where?
-
December 22nd, 2010, 03:36 PM
#17
Re: Write data to SQL database
I'd propose some reading. Use some samples and read a DB book. You will be able to run (solve) most of your queries.
http://msdn.microsoft.com/en-us/libr...v=sql.80).aspx
Last edited by talksandy; December 22nd, 2010 at 04:05 PM.
-
December 22nd, 2010, 04:00 PM
#18
Re: Write data to SQL database
 Originally Posted by talksandy
haha queries, database humor. lol
-
December 22nd, 2010, 04:18 PM
#19
Re: Write data to SQL database
 Originally Posted by rockking
 Originally Posted by talksandy
haha queries, database humor. lol
Excuse me, but what is the reason here to lol?
Victor Nijegorodov
-
December 22nd, 2010, 06:56 PM
#20
Re: Write data to SQL database
It's not like you have a choice of where to store them. by their very nature they are kept in the database. That said, it would be a good idea to store the sql scripts you used to create them so that if you need to make changes it's easier... those files you can store where ever you like, but what gets run is what's in the database.
-tg
-
December 22nd, 2010, 10:09 PM
#21
Re: Write data to SQL database
not sure. i was looking for something to take the stress away from trying to get this working. i did make a SProc for inserting data into a database. i need to create a few more, one to update and delete. i dont think they will be to bad, i am going to use the insert one as a sort of template. the only other thing i need to get working, is using a "config" file to give the dataconnection string. this way i can have the app available on more than just one machine, because it would allow for an easy way to change database paths.
-
December 23rd, 2010, 03:18 AM
#22
Re: Write data to SQL database
alright everyone. i have gotten the "config" file working. i have all my stored procedures created. now the ultimate part.
i need to select data in the database and return the data received. once returned it will be assigned to variables and those variable will be set to the text of the corresponding textboxes.
suggestions?
-
December 23rd, 2010, 07:12 AM
#23
Re: Write data to SQL database
It's geared towards VB, but the principles (and objects/namespaces) are the same....
http://www.vbforums.com/showpost.php...53&postcount=2
-tg
-
May 21st, 2015, 04:06 PM
#24
Re: Write data to SQL database
1. I have a jsp file which has dropdown containing product names which are fetched from the sql table. 2. My problem is, when i click the product name from the drop down, it should fetch the productID associated with the product name from the database and that product ID should be updated in another table. So everytime I select product name, it's product ID must be updated in another SQL table**
-
May 22nd, 2015, 02:44 AM
#25
Re: Write data to SQL database
 Originally Posted by vinayshirish
1. I have a jsp file which has dropdown containing product names which are fetched from the sql table. ...
And does your problem have to do with this 4.5 years old thread?
And what does this jsp file have to do with the C-Sharp Programming forum?

Please, start a new thread in the appropriate forum and describe your problem (if any) a bit more carefully!
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|