473,549 Members | 4,476 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

1 Display Images in DataList, and 2 saveas file with a different name !

I am facing 2 problems:

1. I have files uploaded to the server and have the relevant information in
database, and now I want to pull the image name and path from database and
have the images dynamically loaded into DataList, but I am not able to
display images in DataList , can u help me please to sort out the problem ,
OR it would be better if u give me source , as u said in the above Post .

2. .i have a file upload (asp.net control) I am successfully uploaded file
to the server , but I want the original file name should be changed to some
user defined name i.e. if I am uploading a file named (LearningASP.tx t),
should be save as (001.txt) , any ideas how ?

Thanking you in advance

Nov 19 '05 #1
0 1321

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2473
by: Joe Van Meer | last post by:
Hi, Is the datalist meant for one table or can I use it to display information from 2 different tables? Or should I be looking at a datagrid instead? I began my code and kinda ran into a snag where my last two columns I am displaying are ID fields, one for clientid and the other for empid. What I would really like is to display their...
0
989
by: Luis Esteban Valencia Muñoz | last post by:
I have a DataList, which looks a bit like this: <asp:DataList id="dlstCheeseType" runat="server" RepeatColumns="4" RepeatDirection="Horizontal" ShowHeader="False" ShowFooter="False" ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="25%" Width="100%"> <ItemTemplate> <asp:RadioButton ID="cheeseChoice" Text='<%#...
1
6973
by: Jameel | last post by:
hello code Gurus, i want to display images in DataList, the image name are stored database, help me please , thanks in advance
0
1747
by: Jameel | last post by:
I just happened to visit ur post: http://groups.google.co.in/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/ae471e2fdeeca01e/95061c1f95e30127?lnk=st&q=display+images+in+DataList+using+asp.net&rnum=35&hl=en#95061c1f95e30127
2
3084
by: wstsoi | last post by:
hi I have to read images from spreadsheet, is it possible to do with php?
2
1912
by: RB | last post by:
Hi there, I'm having a problem with an ASP.NET/VB.NET Control I am writing. The control is a simple gallery control, which shows a set of thumbnails (using a DataList), and a main image of the selected thumbnail. It also has "Add Picture" and "Delete Picture" buttons. "Add Picture" will add a new picture, while "Delete Picture" will...
2
2211
by: Dyny | last post by:
Hi frends.... I'm in a trouble pls help me..... i need to display smages and the details from database through datalist.... only the images are not displaying.... Here is the code i have given SqlConnection con = new SqlConnection(); con.ConnectionString = ConfigurationManager.AppSettings.Get("connectionstring");
1
2096
roswara
by: roswara | last post by:
Dear all, Currently, I am working on a project to make a web-based application using ASP 2.0 and C#. This application will ask user to input for an excel file which has graphs in it. Then the application will grab the graph as image file, and this image will be displayed as thumbnail in the page. Is it possible to accomplish this feature? ...
0
1044
by: AlDave | last post by:
What I'm trying display is after the user chooses the product (1st category) from a dropdown, then the dataview will display; The category any reports under that subcategory any reports under that
0
7526
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7455
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7723
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7962
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7814
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5092
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3504
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3486
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
769
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.