Can you help me where i should put the code...
-
Hello there, i just need your opinion about this...i have now database and all i need to do is to connect it on this page..my question is..where i should put the code of connecting this page to my database that has a column of "ID" and "Password" and it has already a data of "ID:054806054" and PAssword:"blitz2bleach"...can i access it on my database..should i used a "connection string" on it?what is the easy to used "data Source"?sqlDataSource or AccessDataSource?...i dont want to include some ado.net on it...it is possible to code it only in asp.net?.. this are the codes hope you can help me and should i get your opinion what code i should remove and add..and in where i should put it... sorry but i know that all you can do is to make a comment but this is urgent..it is our project to bulid a website and im new in progamming in asp.net, i read books and have aself study on it..but the things is actual teaching is the best, but here no one in my professor can teach me.. hope you can help to figure out what should i add and remove code.. for now thank you for you cooperation and for the help you will given me n advance...:-D;):) ----.this code is from the file name "index.aspx"
Username
Password
-
Hello there, i just need your opinion about this...i have now database and all i need to do is to connect it on this page..my question is..where i should put the code of connecting this page to my database that has a column of "ID" and "Password" and it has already a data of "ID:054806054" and PAssword:"blitz2bleach"...can i access it on my database..should i used a "connection string" on it?what is the easy to used "data Source"?sqlDataSource or AccessDataSource?...i dont want to include some ado.net on it...it is possible to code it only in asp.net?.. this are the codes hope you can help me and should i get your opinion what code i should remove and add..and in where i should put it... sorry but i know that all you can do is to make a comment but this is urgent..it is our project to bulid a website and im new in progamming in asp.net, i read books and have aself study on it..but the things is actual teaching is the best, but here no one in my professor can teach me.. hope you can help to figure out what should i add and remove code.. for now thank you for you cooperation and for the help you will given me n advance...:-D;):) ----.this code is from the file name "index.aspx"
Username
Password
-
Hello there, i just need your opinion about this...i have now database and all i need to do is to connect it on this page..my question is..where i should put the code of connecting this page to my database that has a column of "ID" and "Password" and it has already a data of "ID:054806054" and PAssword:"blitz2bleach"...can i access it on my database..should i used a "connection string" on it?what is the easy to used "data Source"?sqlDataSource or AccessDataSource?...i dont want to include some ado.net on it...it is possible to code it only in asp.net?.. this are the codes hope you can help me and should i get your opinion what code i should remove and add..and in where i should put it... sorry but i know that all you can do is to make a comment but this is urgent..it is our project to bulid a website and im new in progamming in asp.net, i read books and have aself study on it..but the things is actual teaching is the best, but here no one in my professor can teach me.. hope you can help to figure out what should i add and remove code.. for now thank you for you cooperation and for the help you will given me n advance...:-D;):) ----.this code is from the file name "index.aspx"
Username
Password
I hope you didn't just give us your actual password. Anyway, you store your connection strings in Web.config, or Machine.config. I prefer to use machine.config because it's more secure, and I can have a different connection string on my development machine, and my junior guys don't fuck it up when they upload web pages. The documentation for web.config and machine.config is very complete and it's on the web and in your MSDN files. Should be easy to find.
"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles. -
I hope you didn't just give us your actual password. Anyway, you store your connection strings in Web.config, or Machine.config. I prefer to use machine.config because it's more secure, and I can have a different connection string on my development machine, and my junior guys don't fuck it up when they upload web pages. The documentation for web.config and machine.config is very complete and it's on the web and in your MSDN files. Should be easy to find.
"Quality Software since 1983!"
http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.well thank you..and the password i put is just a sample..im not that stupid..thanks again...:)