Click here to Skip to main content
15,914,066 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionExcel.Quit doesn't work Pin
scorpvg10-Dec-06 22:22
scorpvg10-Dec-06 22:22 
AnswerRe: Excel.Quit doesn't work Pin
GaryWoodfine 10-Dec-06 22:39
professionalGaryWoodfine 10-Dec-06 22:39 
GeneralRe: Excel.Quit doesn't work Pin
scorpvg10-Dec-06 23:50
scorpvg10-Dec-06 23:50 
GeneralRe: Excel.Quit doesn't work Pin
GaryWoodfine 11-Dec-06 0:40
professionalGaryWoodfine 11-Dec-06 0:40 
AnswerRe: Excel.Quit doesn't work Pin
Vasudevan Deepak Kumar11-Dec-06 4:32
Vasudevan Deepak Kumar11-Dec-06 4:32 
SuggestionRe: Excel.Quit doesn't work Pin
g01dHaCkEr7-Jul-11 19:45
g01dHaCkEr7-Jul-11 19:45 
Questionsub-folders? Pin
il_manti10-Dec-06 22:21
il_manti10-Dec-06 22:21 
Answerform methods Pin
RoswellNX11-Dec-06 0:10
RoswellNX11-Dec-06 0:10 
il_manti wrote:
PS: my biggest problem here is: the code behind will still need what username i am viewing in order to retrieve the data from the database (something like getImageList(username)). how can i read the username with my method -- or yours -- since it's not in the address bar as a query?


The form method you are familiar with is called "get", where the browser passes the variable data along by appending a '?' followed by the variable name, an '=' and the variable data to the target url. Multiple variables are seperated by an ampersand (&).

i.e. user_reply.asp?forumid=12076&main=/script/comments/forums.asp&select=1798826

It's a quick way to pass information and the model also allows you to create dynamic links (which you will no doubt need in your project).



Another method you might remember or have seen at least once is "post". Post is often used to transmit more sensitive information such as login names and passwords, birthdates and credit card information which should not be visible to the user. It is adviseable to use this method when working with a secure connection, or when transmitting a large string such as this paragraph. It may also help prevent SQL injection.

A variable passed using "post" is not displayed in the url, but may be used in much the same way. If you are looking for a cleaner look you may use this method, but you should also consider the fact that you must balance functionality and SEO. Search engines might not be able to effectively crawl a site that uses a "post" form method as a means of navigation, unless you include an xml sitemap that is constantly updated as new directories are created.

Roswell

"Angelinos -- excuse me. There will be civility today."
Antonio VillaRaigosa
City Mayor, Los Angeles, CA

QuestionAsp.net - newbie problem :) Pin
john3410-Dec-06 21:07
john3410-Dec-06 21:07 
AnswerRe: Asp.net - newbie problem :) Pin
RoswellNX10-Dec-06 21:23
RoswellNX10-Dec-06 21:23 
GeneralRe: Asp.net - newbie problem :) Pin
il_manti10-Dec-06 22:11
il_manti10-Dec-06 22:11 
AnswerRe: Asp.net - newbie problem :) Pin
ednrgc11-Dec-06 3:25
ednrgc11-Dec-06 3:25 
GeneralRe: Asp.net - newbie problem :) Pin
5150.Net11-Dec-06 9:03
5150.Net11-Dec-06 9:03 
GeneralRe: Asp.net - newbie problem :) Pin
ednrgc11-Dec-06 9:08
ednrgc11-Dec-06 9:08 
GeneralRe: Asp.net - newbie problem :) Pin
5150.Net11-Dec-06 9:51
5150.Net11-Dec-06 9:51 
QuestionServer Execution failed Pin
jhe_boy10-Dec-06 19:16
jhe_boy10-Dec-06 19:16 
AnswerRe: Server Execution failed Pin
Guffa10-Dec-06 20:22
Guffa10-Dec-06 20:22 
AnswerRe: Server Execution failed Pin
ednrgc11-Dec-06 3:18
ednrgc11-Dec-06 3:18 
QuestionReg : OLE Pin
venkatasivaramaprasad10-Dec-06 19:15
venkatasivaramaprasad10-Dec-06 19:15 
QuestionServer cannot found, DNS error Pin
jhe_boy10-Dec-06 19:15
jhe_boy10-Dec-06 19:15 
AnswerRe: Server cannot found, DNS error Pin
ednrgc11-Dec-06 3:23
ednrgc11-Dec-06 3:23 
QuestionEmbed Flash file into Web Page Pin
M.Sivapandi10-Dec-06 18:57
M.Sivapandi10-Dec-06 18:57 
AnswerRe: Embed Flash file into Web Page Pin
MIHAI_MTZ10-Dec-06 20:46
MIHAI_MTZ10-Dec-06 20:46 
AnswerRe: Embed Flash file into Web Page Pin
ednrgc11-Dec-06 3:26
ednrgc11-Dec-06 3:26 
Questionproblem in C# Pin
Imran Khan Pathan10-Dec-06 18:54
Imran Khan Pathan10-Dec-06 18:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.