i'm new to this forum so please don't punish me if i do somethin wrong :).Okay what i need is a Marquee in ASP.NET C# which consits of something like buttons, hyperlinks or something like that.The arquee as it self is no problem at all. It Shows Data as a String from the SQL Database seperated by a "-"The problem is that i need for each "entry" of this marquee an onClick functionality and that each entry should hold a guid as property.So that if i click on one entry the onClick function fires and get's the guid property to get data from the database relating on that guid.
I have a update progress control linked with an updatepanel in my ajax application.
Currently the UpdateProgess control is placed right after a menu of my web app, there are some chart and grid on the page, I want to show the UpdateProgess control in the middle of the page, if possible, add some effect like gray out the background, is it possible? how do I do this?
My web form is pretty simple. It has to have three lines of text/ASP.NET elements. The Master page has a header and a footer. I need to center those three lines in the middle of the page vertically and horizontally, especially if the bottom changes. How do I do this with CSS?
We have a very simple ASP.Net page for uploading a file to our webserver. The page has no controls - a client uses it to automatically send us a file each night.
On occasion, the file seems to not get to us, but the client reports that they have sent it.
We added some logging statements to the page, and discovered something quite odd. The page ceases to execute right in the middle of a log statement. No exceptions, just up and dies.
Here is the code-behind:
I assume if there was a error in the transmission of the file that either an exception would be thrown from the reader.ReadToEnd() line. And if not an exception, I would expect the page processing to continue but that I may only receive part of the file (in which case it should log something).
The logging statement is only accessing a string variable, and it's inside a try-catch. NLog is the logging component we use, and we access that through the facade provided by the Simple Logging Facade project on Codeplex. So, we trust the logging component to be more or less bulletproof - we certainly don't see anything in our usage of it here that should be causing problems.
Why on earth could this page just up and stop processing like this?
The fact that we get a half-finished logging statement seems to point towards an error being swallowed in the logging system - but that just seems so unlikely - and we have NLog's internal logging on and it is not reporting any problems.
How I can create dynamic marquee in c#.net? That means I want to display announcements in home page, direction from top to bottom in allotted space, only two announcenets at a time, it should come dynamically.
I have an .aspx page. I have a <table> element. In that table, I have a text box. Based on the results of a database query, I will set the text property of that text box. But I want that text to move across the screen from right side to left. So I used marquee element. But the text doesn't move.
I am trying to use a marquee tied to a datalist. here is my code: The marquee does not scroll it only displays. If there are multiple items in the datalist, each shows with the label. How can I make the text scroll and only show the label once?
I'm barely new to asp. I need to display a marquee from right to left of the footer on my web page. Data has to come from my db in mssql. My friends tell me it can be done in jquery but other forums don't show how to do it.
in my asp.net+vb web with access database i iam willing to show a marquee with live data from database.
<marquee behavior="scroll" direction="left"> <div ><asp:Label ID="Label1" runat="server" Text="Label1"></asp:Label></div></marquee> .vb code Dim ConString As String = ConfigurationManager.ConnectionStrings("baijuep").ConnectionString Dim con As New SqlConnection(ConString) Dim CmdString As String = "SELECT KNo, companyto FROM (InOut) where PosnASOn >= now()-2" Dim Adpt As New SqlDataAdapter(CmdString, ConString) Dim KNo As New DataSet() Adpt.Fill(KNo) For Each dr As DataRow In KNo.Tables(0).Rows Label1.Text &= dr("KNo").ToString() + "<br />" Next End Sub
when i use the query (SELECT KNo, companyto FROM (InOut) where PosnASOn >= now()-2)
in query analyser it works fine and the data is displayed but when i use the complete code .vb is not dispying data in to label.