|
If you spit out a csv, excel can just open it. But only one sheet, and you can't name the sheet.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hey y'all,
I am uploading a file to a directory in my root named "Pictures" and it works fine.
I also add a title , url, and name of the picture in a XmlDatasource, and this works fine.
In my masterPage.master file I have;
<div id="image-area">
<a id="linkPart" runat="server" href="http://www.pic_site.com>
<img id="imagePart" runat="server" src="pictures/pic.jpg" alt="Image of the Day" /></a>
<p id="captionPart" runat="server">The rules according to Luna</p>
</div>
And in my masterPage.master.cs code behind file I have;
XmlNode elem = GetRandomPictureNode();
linkPart.HRef = elem.SelectSingleNode("url").InnerText;
str = elem.SelectSingleNode("file").InnerText;
string path = Server.MapPath("~/pictures/");
imagePart.Src = path + str;
captionPart.InnerText = elem.SelectSingleNode("title").InnerText;
The value that gets put into .Src is correct but the image doesn't display I get the alt "Image of the Day" instead?
P.S. The link and title work fine its just the image that doesn't work!
What the heck have I overlooked or don't understand?
Any help appreciated!
Mike
Semper Fi
http://www.hq4thmarinescomm.com[^]
My Site
modified on Wednesday, April 23, 2008 9:19 AM
|
|
|
|
|
Hi
Test this:
";
Response.Write(img);
%>]]>
you must replace img tag with this code.
|
|
|
|
|
hello friends
i am working on making Setup in vb.net. So there
i want add one more setup file in .net Setup because
i want when my Setup instal thn it first instal setup which
i add setup in setup application.
how it possible please help me
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Good tongue twister
.....
|
|
|
|
|
What happen man
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
ok..Have u created the setup project? if so right click on the setup project in the solution. In the menu click on View->CustomActions. Now in the Custom Actions window under install tab add the second setup file u wish to add.
.....
|
|
|
|
|
it not working yaar,i have done this.i add second setup file in the install tab but its not working.
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
ok..but is the second setup u are adding is created using .NET? then add both .exe and .msi files ...i think it should work then
.....
|
|
|
|
|
But my setup hav not Extention .exe it Extention is .msi and when i instal this on system then got .msm file .then what i do?
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Hi
how can I implement progress bar while uploading file.
like-how much in percent(%) has been completed or remaining.
and page should not be crashed untill process is completed.
I want to implement time concept also like-clock will be continue along with uploading.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Your best bet here is to buy a control that does this using AJAX. Without AJAX, you can't have a progress control at all, but AJAX can't send a file, so I'm not sure how the commercial contros fudge it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi
how can I upload file in database through .net coding and how can I save this file in database(sql server2005).
How can I down load file also.
File may contains data more than 40mb.
I will appreciate.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Read the article I link to in my sig.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
can we use checkboxlist as radiobuttonlist
|
|
|
|
|
i think its nnot posible both r very defrent in nature
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Why do you want to do like that? Is there any problem in using radiobuttonlist?
Apurva Kaushal
|
|
|
|
|
yes it is possible but what do you want to do?
the different betwin radiobutton and checkbox is on radiobutton system automatically handle a event of clicking on each object and on checkbox you(programmer) have to handled events.
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
I want to change Browser name coming in alert header.
Nitin
|
|
|
|
|
I don't believe you can.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello Friends
I have stored a file in webserver and its path in database . and tried to retrevie the file using the path. My problem is , i used "Response.Addheader()" to display a dialogbox , i'm able to get the dialogbox but cant able to open the file which is stored in webserver.
how to solve this.
ArunVijay
|
|
|
|
|
Can you provide the source code? Are you getting an error or does it just get stuck?
|
|
|
|
|
I am starting on a new project and see how powerful LINQ is. One thing I need to know before we begin is if there will be any problems using LINQ to run queries against a Sun (Oracle) Database server. Any input is welcome.
Thanks!
|
|
|
|
|
|
Hi fellas, this should be a pretty simple question.
Is it possible to restrict a datagrid or datalist in the number of records displayed? For example, I only want to show 1 record in a datagrid. (Since I have a bunch of records each time it ends up displaying everything retreived)
I tried using Paging feature and manage to display only 1 record at a time, however the "page changer buttons ( < > )" is displayed, can it be disabled?
Worse, Datalist doesn't seem to support paging, how exactly do I set the number of data to be displayed?
Many, many thanks for the help.
|
|
|
|