Click here to Skip to main content
15,888,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to export images to Excel/PDF/WORD in ASP.NET using VB? Pin
Christian Graus21-Apr-09 18:25
protectorChristian Graus21-Apr-09 18:25 
GeneralRe: How to export images to Excel/PDF/WORD in ASP.NET using VB? Pin
leungoiyu21-Apr-09 20:10
leungoiyu21-Apr-09 20:10 
GeneralRe: How to export images to Excel/PDF/WORD in ASP.NET using VB? Pin
Ashfield21-Apr-09 21:05
Ashfield21-Apr-09 21:05 
QuestionHow to pass array in asp.net(c#) from one page to other? Pin
pradeepsimha21-Apr-09 15:40
pradeepsimha21-Apr-09 15:40 
AnswerRe: How to pass array in asp.net(c#) from one page to other? Pin
Yusuf21-Apr-09 15:53
Yusuf21-Apr-09 15:53 
AnswerRe: How to pass array in asp.net(c#) from one page to other? Pin
Christian Graus21-Apr-09 15:54
protectorChristian Graus21-Apr-09 15:54 
AnswerRe: How to pass array in asp.net(c#) from one page to other? Pin
pradeepsimha21-Apr-09 16:10
pradeepsimha21-Apr-09 16:10 
AnswerRe: How to pass array in asp.net(c#) from one page to other? Pin
jai_10121-Apr-09 16:55
jai_10121-Apr-09 16:55 
Hi,

You can Use Querystring for Passing Array from one Page to Another page.
I hope the following Sample Code will Help You.


Let's start by creating the array in CreateArray.asp

'Create an array that contains
'the days of the week
Dim aWeekDays(6)
aWeekDays(0) = "Sunday"
aWeekDays(1) = "Monday"
aWeekDays(2) = "Tuesday"
aWeekDays(3) = "Wednesday"
aWeekDays(4) = "Thursday"
aWeekDays(5) = "Friday"
aWeekDays(6) = "Saturday"

Now, to store the array contents in the querystring, we will loop from LBound(aWeekDays) to UBound(aWeekDays). For each element, we'll add an item to the querystring, having the array name, an equals sign, and then the value of the particular array element.




'Build the querystring
Dim iLoop, strQueryString
For iLoop = LBound(aWeekDays) to UBound(aWeekDays)
strQueryString = strQueryString & "WeekDays=" & aWeekDays(iLoop)
strQueryString = strQueryString & "&"
Next

'Cut off the last character
strQueryString = Left(strQueryString, Len(strQueryString) - 1)

'Now, create the actual hyperlink
%>


ReceiveArray.asp


Bye
Jai
GeneralRe: How to pass array in asp.net(c#) from one page to other? Pin
pradeepsimha22-Apr-09 1:55
pradeepsimha22-Apr-09 1:55 
QuestionFootball Application Pin
sjmclean21-Apr-09 12:23
sjmclean21-Apr-09 12:23 
AnswerRe: Football Application Pin
Christian Graus21-Apr-09 14:01
protectorChristian Graus21-Apr-09 14:01 
AnswerRe: Football Application Pin
sjmclean21-Apr-09 20:49
sjmclean21-Apr-09 20:49 
QuestionChanging Sort Direction in GridView Pin
AndyASPVB21-Apr-09 11:51
AndyASPVB21-Apr-09 11:51 
AnswerRe: Changing Sort Direction in GridView Pin
Christian Graus21-Apr-09 14:02
protectorChristian Graus21-Apr-09 14:02 
AnswerRe: Changing Sort Direction in GridView Pin
jai_10121-Apr-09 17:04
jai_10121-Apr-09 17:04 
QuestionOpening MS Word 2003 in ASP.Net Pin
AndyASPVB21-Apr-09 11:45
AndyASPVB21-Apr-09 11:45 
AnswerRe: Opening MS Word 2003 in ASP.Net Pin
Christian Graus21-Apr-09 14:02
protectorChristian Graus21-Apr-09 14:02 
QuestionQNXT health cae product Pin
valli rajya lakshmi21-Apr-09 7:27
valli rajya lakshmi21-Apr-09 7:27 
AnswerRe: QNXT health cae product Pin
Yusuf21-Apr-09 7:52
Yusuf21-Apr-09 7:52 
Questioncreate more than one user account. using wizard Pin
Learner52021-Apr-09 5:57
Learner52021-Apr-09 5:57 
QuestionRe: create more than one user account. using wizard Pin
Deshbir Singh21-Apr-09 8:31
Deshbir Singh21-Apr-09 8:31 
QuestionASP.Net 2.0 Dropdownlist custom control optgroup Pin
Sangi Dham21-Apr-09 5:36
Sangi Dham21-Apr-09 5:36 
AnswerRe: ASP.Net 2.0 Dropdownlist custom control optgroup Pin
Yusuf21-Apr-09 7:53
Yusuf21-Apr-09 7:53 
QuestionRegular expression to validate strings Pin
mukkanti00721-Apr-09 4:22
mukkanti00721-Apr-09 4:22 
AnswerRe: Regular expression to validate strings Pin
MidwestLimey21-Apr-09 4:28
professionalMidwestLimey21-Apr-09 4:28 

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.