|
Hi
I am working on asp.net and i want to write a program in asp.net i.e to get the date and time of different countries on selecting the countries name.So can any one help me out?
Thanks...
Deepti
|
|
|
|
|
deeptis wrote: I am working on asp.net and i want to write a program in asp.net i.e to get the date and time of different countries on selecting the countries name.So can any one help me out?
I'm sure there are many people. What part are you stuck with?
|
|
|
|
|
Hi all , I'm studying a case study from Microsoft about CommonWealth Bank using SOA.
Any way ..during studying I'm facing some problems in imagination for implementing some features..
1)how to add specific pieces of information or data to the response and request in order to be passed from one module for example to another or from the server to client and vice versa?
2)how can I get access to the that response of the WebSerice ?-can just call method from proxy class-
3)what is Soap Handlers ? Have not heared about it before!!!
4)Attributes have the ability to generate code for method at run time or maybe link this method to the implementation at run time ?
5)Any idea about what is LDAP and AZMAN and how to use them in authorization with active directory ?
that is what have been saied and what i'm trying to understand .. I really appreciate your help or linking me to helpful resources
My Regards
Davids Maguire
|
|
|
|
|
how can i put the datalist up in the top of a table because its coming in the middle of the table row. all i have is just 1 record into a datalist and it is coming with alot of space inside the table and the datalist in the middle of that space. why is this?
Thanks
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
I guess you only need to change the valign property in the the table row to top and it will be displayed properly.
Mohamed El Gohary
|
|
|
|
|
Hi all
I have written a code for uploading a photo.
but my code does this :
insert the picture into database.
but my aim is to upload a picture in a web page and then the picture will be shown in the webpage ( explorer)
Can you help me please?
What should I do?
the picture will be sent in database but how to show it from database to webpage??
I use Visual studio2003 and SQlserver2000 and my language is C#
Thanks alot.
-- modified at 8:53 Sunday 17th December, 2006
|
|
|
|
|
How about doing a query to the DB get the Image then bind an Image control to the DB
|
|
|
|
|
hi
I used "insert to " to insert the picture into database.the picture is now in the database.but how can I view it in a webpage?
I cant understand what u meant : "bind an Image control to the DB"
What do u mean?
can u tell me the code plz? the code for showing picture?
|
|
|
|
|
Well why don't you go ahead and display the picture (the gpeg or whatever format file) you have in the browser before storing it to the database. You can do that by setting the imageUrl property of an Image control to the path where you are putting the image. For instance localhost/MyApp/Pictures/myPicture.gif. Make sure you create this folder (Picture) with the image and dump it in your project folder and then also add it in your application.
Good luck
|
|
|
|
|
I use crystal report to export pdf file in my web application.
My crystal report file name is testreport. I user these commands to export:
testreport report = new testreport();
report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, "aaa.pdf");
But when I run it I have error:
"Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Error in File C:\DOCUME~1\EHSAN-~1\ASPNET\LOCALS~1\Temp\temp_5a2db3c1-f7ea-455d-a5c1-c37a91b5f8a9.rpt: Access to report file denied. Another program may be using it."
I never use this file:"C:\DOCUME~1\EHSAN-~1\ASPNET\LOCALS~1\Temp\temp_5a2db3c1-f7ea-455d-a5c1-c37a91b5f8a9.rpt"
But the error is that file is in use. Please help me.
I develop with visual studio 2003, my language C#.net.
Thanks
Rastgar
|
|
|
|
|
I have never used Crystal reports , so not really familiar with this error,
but what I would think that CR is probably creating a temporary file that it will use to create the report, and to do this the ASP net worker process may need access to that directory so I would check that the worker process had read/write permission to your temporary folder
It's just a guess,
|
|
|
|
|
How can I set full access for this folder?
Please explain it step by step if it is possible .
Thanks
Rastgar
|
|
|
|
|
Copy this code in button click for transfering crystal report data to pdf
format:The pdf will be stored inside the project location that for example
C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\WebSite2
Dim rptExcel As New ReportDocument
Dim strExportFile As String = Server.MapPath(".") & "/Reports.pdf"
rptExcel.Load(Server.MapPath("CrystalReport.rpt"))
rptExcel.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
rptExcel.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
Dim objOptions As DiskFileDestinationOptions = New DiskFileDestinationOptions
objOptions.DiskFileName = strExportFile
rptExcel.ExportOptions.DestinationOptions = objOptions
rptExcel.Export()
objOptions = Nothing
rptExcel = Nothing
|
|
|
|
|
using toggled value with in the column like stop and start when clicking start stop should be hide and again when clicking stop then start should be hide so i have tried this using div but could not get result so anybody has suffering from such kinds of troubled and have solution then give me the hints i will be appreciates for u.
hikbnet
|
|
|
|
|
In your datasource, there should be a column which denotes start or stop. let start is denoted by 1 and stop by 0.
What you have to do is just write a function which will toggle the values. Or if you are using image, it will show the image of start when it is 0, and the image of stop when it is 1.
the code will be something like
<br />
<%# GetToggledValue(DataBinder.Eval(Container, "DataItem.Status")) %><br />
here status is the name of the column for start and stop, and GetToggledValue() is the function.
Pradipta Basu
|
|
|
|
|
Thank's for your kinds hints but it may works like data list but it is difficult to implement in case of data grid if any further suggestion plz reply me okey thank's a lot .
hikbnet
|
|
|
|
|
It works with DataGrid. You have to use TemplateColumn
Pradipta Basu
|
|
|
|
|
hi mr ....
how can i change control (for example textBox ) language in asp.net in code (runtime) ?
tank a lot
|
|
|
|
|
|
I had written server and client programs in c# using SoapSender and SoapReceiver class. I used soap.tcp://localhost:8080/myservice in Uri. It works well in localhost. Now please any body help me to connect two machines. By What value should I replace localhost? in both server and client part.
Thanks in advance.
prakash
|
|
|
|
|
Hi everybody,
I am creating a small website, in which i want to use windows media player's video file. I am providing a navigation button which is an Image, to go through the website. But i want to keep disable that button untill the video is finished. Once the video is completed then button shuold be enable.
If any one can help me for this problem, please do my favour.
Thank you.
Best Regards,
Ahmad Tasnim Siddiqui
Mail id: tasnim5@yahoo.com
Ahmed Tasnim
-- modified at 0:10 Tuesday 19th December, 2006
|
|
|
|
|
We need to make some URL rewriting in our application. Everything works fine locally, but we can't make it work on the production server (typical webhotel, no access to the IIS, etc.)
We have tried the following:
1) Redirect code in Global.asax
2) Redirect code in a HttpModule
3) UrlMappings in web.config
All of these attempts work fine with redirecting urls like /accountname.aspx, but we can't get them to handle /accountname (no file extension).
Any idea how we get URL rewriting to work with /accountname urls?
Thank you,
phi
|
|
|
|
|
No takers for this one?
|
|
|
|
|
Hi, how can i insert an image into a datalist please?? Thanks alot
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
If you want the image as the item in the datalist then you can use item template in datalist for that purpose.
Best Regards,
Apurva Kaushal
|
|
|
|