Click here to Skip to main content
15,892,737 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: \0 character? Pin
N a v a n e e t h8-Jun-09 16:44
N a v a n e e t h8-Jun-09 16:44 
GeneralRe: \0 character? Pin
devvvy8-Jun-09 16:45
devvvy8-Jun-09 16:45 
AnswerRe: \0 character? Pin
Christian Graus8-Jun-09 16:11
protectorChristian Graus8-Jun-09 16:11 
GeneralRe: \0 character? Pin
devvvy8-Jun-09 16:30
devvvy8-Jun-09 16:30 
GeneralRe: \0 character? Pin
N a v a n e e t h8-Jun-09 16:30
N a v a n e e t h8-Jun-09 16:30 
QuestionHyperlink in Asp.Net [modified] Pin
mahichandu8-Jun-09 11:12
mahichandu8-Jun-09 11:12 
AnswerRe: Hyperlink in Asp.Net Pin
Christian Graus8-Jun-09 11:28
protectorChristian Graus8-Jun-09 11:28 
QuestionUrl variables to output xml Pin
bruhol8-Jun-09 9:37
bruhol8-Jun-09 9:37 
Can someone help me to get url variables to output xml in an aspx page ? The code below fails

The page is expecting url variables

courses2.aspx?Profession=Audiology&Framework=UG

This is my code

'url variables
Dim Profession As String = Request.QueryString("Profession")
Dim Framework As String = Request.QueryString("Framework")

' create the connection, DataAdapter and DataSet
Dim connectionString As String = WebConfigurationManager.ConnectionStrings("xxxxxxConnectionString").ConnectionString
Dim sql As String = "SELECT Code, [Certificate Title], Status, [Level], [Total Credits], [Entry Requirements 1], Profession, Framework, Marketing_Text FROM ProgrammesForWeb

WHERE Profession="&Profession&" AND framework="&Framework

Dim conn As SqlConnection = New SqlConnection(connectionString)
Dim da As SqlDataAdapter = New SqlDataAdapter(sql, conn)
Dim ds As DataSet = New DataSet()

da.Fill(ds, "programmes")

response.Write( ds.GetXml() )
AnswerRe: Url variables to output xml Pin
ToddHileHoffer8-Jun-09 10:16
ToddHileHoffer8-Jun-09 10:16 
GeneralRe: Url variables to output xml Pin
bruhol8-Jun-09 23:23
bruhol8-Jun-09 23:23 
QuestionMultiView inside ListView ItemTemplate? Pin
Wes Jones8-Jun-09 8:14
Wes Jones8-Jun-09 8:14 
AnswerRe: MultiView inside ListView ItemTemplate? Pin
Wes Jones8-Jun-09 18:29
Wes Jones8-Jun-09 18:29 
Questionhow to pass (arraylist)Session from popup window to parant window. Pin
avvaru.murali8-Jun-09 7:29
avvaru.murali8-Jun-09 7:29 
AnswerRe: how to pass (arraylist)Session from popup window to parant window. Pin
ToddHileHoffer8-Jun-09 8:10
ToddHileHoffer8-Jun-09 8:10 
AnswerRe: how to pass (arraylist)Session from popup window to parant window. Pin
Abhijit Jana8-Jun-09 8:27
professionalAbhijit Jana8-Jun-09 8:27 
QuestionGridview template column having imagebutton Pin
d_smit8-Jun-09 6:25
d_smit8-Jun-09 6:25 
AnswerRe: Gridview template column having imagebutton Pin
Not Active8-Jun-09 6:56
mentorNot Active8-Jun-09 6:56 
AnswerRe: Gridview template column having imagebutton Pin
Herman<T>.Instance9-Jun-09 2:18
Herman<T>.Instance9-Jun-09 2:18 
QuestionCross Page Postback Vs Server transfer Pin
NetQuestions8-Jun-09 5:33
NetQuestions8-Jun-09 5:33 
AnswerRe: Cross Page Postback Vs Server transfer Pin
Manas Bhardwaj8-Jun-09 7:14
professionalManas Bhardwaj8-Jun-09 7:14 
QuestionObfuscate a site web in .Net Pin
ycorre8-Jun-09 5:29
ycorre8-Jun-09 5:29 
AnswerRe: Obfuscate a site web in .Net Pin
Not Active8-Jun-09 6:52
mentorNot Active8-Jun-09 6:52 
GeneralRe: Obfuscate a site web in .Net Pin
ycorre8-Jun-09 7:06
ycorre8-Jun-09 7:06 
GeneralRe: Obfuscate a site web in .Net Pin
Not Active8-Jun-09 7:17
mentorNot Active8-Jun-09 7:17 
Questionmodalpopupextender & confirmbuttonextender problem (want to use confirmText) Pin
vOlcer18-Jun-09 5:25
vOlcer18-Jun-09 5:25 

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.