Click here to Skip to main content
15,905,566 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to check whether row has been selected or not in gridview using javascript Pin
Manas Bhardwaj25-Aug-08 21:19
professionalManas Bhardwaj25-Aug-08 21:19 
QuestionWeb deployment tool that supports IIS 7.0 Pin
boris.tarasevich25-Aug-08 20:43
boris.tarasevich25-Aug-08 20:43 
AnswerRe: Web deployment tool that supports IIS 7.0 Pin
Manas Bhardwaj25-Aug-08 20:53
professionalManas Bhardwaj25-Aug-08 20:53 
Questionjava script problem Pin
rajkumar.325-Aug-08 20:37
rajkumar.325-Aug-08 20:37 
AnswerRe: java script problem Pin
AhsanS25-Aug-08 20:43
AhsanS25-Aug-08 20:43 
GeneralRe: java script problem Pin
rajkumar.325-Aug-08 20:47
rajkumar.325-Aug-08 20:47 
AnswerRe: java script problem Pin
Christian Graus25-Aug-08 21:56
protectorChristian Graus25-Aug-08 21:56 
QuestionUsing Of Adrotor with xml file and Ajax in Asp.net Pin
G Dhiman25-Aug-08 20:23
G Dhiman25-Aug-08 20:23 
********* Laugh | :laugh: *********Use This Code in .aspx **********************************
<asp:scriptmanager id="ScriptManager1" runat="server" xmlns:asp="#unknown">

<asp:updatepanel id="UpdatePanel1" runat="server" xmlns:asp="#unknown">
<contenttemplate>

<asp:timer id="Timer1" runat="server" interval="2000">

<asp:adrotator id="AdRotator1" runat="server" advertisementfile="~/XMLFile.xml">



******************Use This Code in .aspx **********************************





*****************Use This Code in asp.vb**************************************
Sub WriteinXML()
Dim xwriter As New XmlTextWriter(Server.MapPath("XMLFile.xml"), Encoding.UTF8)
' start writing!
xwriter.WriteStartDocument()
xwriter.WriteStartElement("Advertisements")

Dim qry As String = "select * from tbl_PageImages where page_idfk=1"
Dim cmd As New SqlCommand(qry, con)
con.Open()
Dim dr As SqlDataReader = cmd.ExecuteReader
If dr.HasRows Then
While dr.Read
' Creating the <ad> element start
xwriter.WriteStartElement("Ad")
' Creating the <ad> element strat
xwriter.WriteAttributeString("timeVisited", DateTime.Now.ToString())
xwriter.WriteElementString("ImageUrl", "Images/PageImages/" + dr("img_name"))
xwriter.WriteElementString("NavigateUrl", "http://217.174.253.17/")
xwriter.WriteElementString("AlternateText", dr("img_ToolTip"))
xwriter.WriteElementString("Keyword", "Servers")
xwriter.WriteElementString("Impressions", "")
xwriter.WriteEndElement()
' Creating the <ad> element start
End While
End If
dr.Close()
cmd.Dispose()
con.Close()

xwriter.WriteEndElement()
' End writing!
xwriter.WriteEndDocument()
xwriter.Close()
End Sub






*****************Use This Code in asp.vb**************************************


Thanks & Regards,
Madan Gopal
Software Developer
One World Technologies Pvt. Ltd.
Email:madangdhiman@gmail.com, madangdhiman@yahoo.co.in

AnswerRe: Using Of Adrotor with xml file and Ajax in Asp.net Pin
Blue_Boy25-Aug-08 20:51
Blue_Boy25-Aug-08 20:51 
QuestionIs the Unload event fired when Page Caching is enabled? Pin
jrhea25-Aug-08 13:08
jrhea25-Aug-08 13:08 
AnswerRe: Is the Unload event fired when Page Caching is enabled? Pin
AlexeiXX325-Aug-08 16:22
AlexeiXX325-Aug-08 16:22 
GeneralRe: Is the Unload event fired when Page Caching is enabled? Pin
jrhea25-Aug-08 17:46
jrhea25-Aug-08 17:46 
GeneralRe: Is the Unload event fired when Page Caching is enabled? Pin
AlexeiXX325-Aug-08 17:59
AlexeiXX325-Aug-08 17:59 
GeneralRe: Is the Unload event fired when Page Caching is enabled? Pin
jrhea25-Aug-08 18:13
jrhea25-Aug-08 18:13 
QuestionTreeview Pin
Steve R Adams25-Aug-08 10:48
Steve R Adams25-Aug-08 10:48 
AnswerRe: Treeview Pin
AlexeiXX325-Aug-08 16:18
AlexeiXX325-Aug-08 16:18 
GeneralRe: Treeview Pin
Steve R Adams28-Aug-08 10:24
Steve R Adams28-Aug-08 10:24 
GeneralRe: Treeview Pin
AlexeiXX328-Aug-08 10:40
AlexeiXX328-Aug-08 10:40 
GeneralRe: Treeview Pin
Steve R Adams28-Aug-08 11:47
Steve R Adams28-Aug-08 11:47 
GeneralRe: Treeview Pin
Steve R Adams2-Sep-08 11:57
Steve R Adams2-Sep-08 11:57 
GeneralRe: Treeview Pin
AlexeiXX33-Sep-08 6:41
AlexeiXX33-Sep-08 6:41 
Questiongmail "more actions" menu? Pin
Todd Smith25-Aug-08 9:22
Todd Smith25-Aug-08 9:22 
AnswerRe: gmail "more actions" menu? Pin
Colin Angus Mackay25-Aug-08 10:51
Colin Angus Mackay25-Aug-08 10:51 
QuestionFileUpload and the content type Pin
Fernando A. Gomez F.25-Aug-08 9:07
Fernando A. Gomez F.25-Aug-08 9:07 
AnswerRe: FileUpload and the content type Pin
Christian Graus25-Aug-08 9:44
protectorChristian Graus25-Aug-08 9:44 

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.