I want to make a user control of marquee so that from admin where marquee text, marquee behaviour (like left to right, right to left etc.) can be defined. so that it can be easily drag and drop any where we want to use.
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 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?
here I can find some info on how to display data from my MSSQL database in something like old style tables (table,<tr>,<td>) becouse I used to done it like this in classic asp but i had a formula for calculating where to put tr or td and it becomed very confused, not to mention displaying gruped records like 10 on each page...I tried gridview in VisualStudio but I can not find any info how to use sql in it so I think it can not help me becouse it is to much predefined and I do not know where I can change code for it like what data source to use, sql and other important thing
Equipment has a unique Field EqID for each item in the file plus Name, vin#, etc. Addtionally, there's a Last Service Date and Service Interval for each Equipment Item.
Transactions Table has many entries for EqID representing usage hours transactions by date for a specific item EqID in Equipment Table.
I want to display all items from Equipment Table on a DataGrid and Highlight those items that are Due for Service.
Due for Service Criteria is: When Total of all Usage Hours recorded in Transaction File for a the specific Equipment Item since Equipment Last Service Date is Greater Than or Equal To the Equipment Service Interval then it's due for service.
I could do a batch process and store True/False in a ServiceNow field of the Equipment table but it would take some time to process 500 Equipmet items and 1000's of Transactions.
Therefore it's my preference to calculate if DueForService as datagrid is being populated.
I have a database that has several Yes or No fields. When I insert a Label control into my site and connect it to the Yes or No field it displays "True" for Yes and "False" for No. I would like to display them with the text Yes or No. I have tried the following:
how to display images from a database cant cant seem to find quite what im looking for.
I have a site that allows users to upload their own photos, i would like to be able to display these images, with the discription of the photo underneath or on top of the photo, on the website and allow other users to comment on the photos.
The display can be every photo in the database, later ill impliment a search to narrow it by user later.
Right now I have my database table set up to take the img path, username that uploaded the picture, time it was uploaded, and a description of the photo.
I have a database that has residential listings for a real estate website. On the home page I have a Featured Listing section that graps a random record. The problem is that I would like for the featured listing to be updated every day, but the SQL statement that I found on these forums causes it to be updated every few seconds. Here is my SQL statement:
SELECT TOP 1 Residential.ListingID, Residential.Address, Residential.City, Residential.Reduced, Residential.Comments, Residential.Price, Residential.ApproxSqFt FROM Residential WHERE (((Residential.[Sold])=False)) ORDER BY Rnd(-10000000*TimeValue(Now())*ListingID);
I'am Developing a commercial website using vs2005 and sql 2005,where my users will download and upload wallpapers and ringtones,so my issue
I'am displaying the categories at the side,
Animal Wallpapers - (20) Bollywood wallpapers - (30)
i want to display the no.of wallpapers as a count at the side of my wallpaper categories,this is my first issue, and the second is i want to display the number of downloads for each of the wallpaper and ringtones at the bottom of the wallpaper and ringtone images for example,
My database table contains the image file path which will be stored from a file upload control.The image path in the table will be like "C:ProjectsprojectnameprojectfolderFiles1_129308367798080000_images1.jpg"
I am trying to display that image through a datalist control as follows
I have a database with Customer details in it (fname / lname / address / suburb / postcode / contactnumber) and I've set up a ListView to display the suburbs. There are over 100+ records in this database so what i want to do is have the ListView display a list of suburbs, and then I can view the people in each suburb. Right now when I run the page I'm getting the result something like this:
Suburb: area1 area2 area2 area1 area3
Its repeating the suburbs being displayed. I don't want that, what I want is just:
How do i display URL from database with Gridview in userinterface in such a way that it will form a link at the userinterface, i was able to display the URL from database using the Gridview on the userinterface using SqDataSource configuration, but the URL did not appear as link, it appear just like the way i put it in the database. for example [URL] and asp.net , also if failed to give a link, i use hyperlink in the gridview but it failed to work, in my research i discover some issue like using server URLencode but i dont know how to write or get the conversion code.
i want a situation whereby URL stored in the database can show in userinterface like form and it will display as link so that it go to the neccessary destination when click on it.
there was a problem of SQL gridview in showing technical specs that i discussed last month [URL]
we were displaying gridview with product name and all the technical specs related to that product, but now i am working on product.aspx page in which i would like to display only technical specs of that product that is in the query parameter.
whatever product is being displayed on the product page according to the Query Parameter like [URl]
Now along with the other information of product having id5 it should display the technical specs of that product only with productid = 5
To start with - I'm using VS 2008/.NET 3.5 and working in a company-provided template that leaves me restricted to some/many settings that go beyond the body of the page itself. That said, I need to create a page that will display data from individual cells in a database table that, when lined up would look like a normal sentence. Based on certain criteria I would have certain sections of the sentences hide (ex. if it contains a key phrase or if it's empty).
I've seen a method in which Labels could be used to achieve this effect, where I would assign it the grid coordinates of the cell in a table, but I could never get it to work. I've been successfully connected to the table (LINQDataSource) but still have a blank canvas without this fundamental display technique as that will be all that's in it.
I have a sql database and want to store the image format into the database. I want to then display the image in a gridview. For the database I have entered the location of the image and not sure if this is the right thing to do. I'm not very good at this stuff so could you make it as simple as possible.
What I have below is currently working on my site to display information within an article. What I am wondering is that within a lot of stories I have more than one 'SchoolID' included. All of these IDs are in our database within the 'ArticleSchool' table and linked to an 'ArticleID.' The statement below is only displaying the first 'SchoolID' listed within an article. Is there a way I would be able to display every 'SchoolID' within an article to grab information from? Will it not work in a label if there are multiple values? The 'ArticleSchool' table has rows for every article and a new instance if more than one 'SchoolID' is attached.
Displaying dynamic records from database using any data presentation contol.Requirement is like this,for any particular week events will be present.On a single day there can be more than one event at different times.Based on user login the user should see the events,if he log's in after the scheduled event time then only "Descripition" (Database field ) of the event should be seen else Events-Name,UserName,Image will be displayed.
My problem is I need to show only 7 records all together irrespective of Number of events present for that week i.e for 7 days in a week 7 records only.In each record more than one event can be present (or) if present should be displayed.For achiving this task I can take any of the data presentation control,but i dont seem to get any idea of solving this requirement.
I have a coloumn in a database table in which i am storing the candidates photo in a binary format.
now i have to show these photo in a gridview according to the candidates rollno. i am trying to use the imagefield of a gridview control to display the photo but it is not displaying the photo in a grid view
I have a "back end" database on a network, which I then have a number of employees who use a "front end" on their local machines to connect to the database. They're putting information into the database.
I also have an ASP based intranet site that's used to display what's in the database - never to write information to it, but to pull information out of it. At the moment the ASP script connects to the actual backend db file. The problem is that if one of my colleagues has their front end open and is putting new info into the db, the intranet fails as it says the db is already open (File in use). I thought if I created another front end that connected to the tables in the back end specifically for the asp pages that'd , but it's still saying the file is in use.
Is there any way I can be pulling data out of the db through my asp scripts whilst other people are adding info in (through split tables etc) using access? Does the fact that the ASP script won't be writing (and doesn't need to) make it any easier?
I have setup my business object to have a create_date and edit_date members both datetime datatypes. My company want to display the create_date and edit_date fields in a gridview for each transaction. The problem i have is that after insterting a record it will have a valid create_date but no edit_date and when displayed in the gridview it defaults to datetime.minvalue (My default). How on earth do i show an empty field in my gridview for a null datetime field in the database?
I am using similar architecture to the Imar Spaanjaars example of a tiered solution. With a few small tweeks it has worked well for me for ages. I am passing a List<Database> to my object datasource which connects to my gridview.