i would appreciate it if someone could tell me whether there is a way of doing the same thing as done in dreamweaver: you have many pictures loaded which are then displayed, one at a time, in a picture box. also i would like to know how to do it of course.
We have been developing a ASP.NET 1.1 business management system over the last few months and have now delayed the inevitable long enough, reporting???
In the past we have used TallComponents TallPdf to produce reports in PDF format which works well although the object model is a bit tedious to work with at times and reporting writing can be a time consuming task. However once written it was ideal, we could produce a PDF document with the report contained store it within the archive and send it to the client, email it as an attachment etc etc etc.
So the issue is, we would now like a product that has some form of report designer interface to speed up report development, but has also a code based object model, and once the report is built output it in several formats i.e. html, pdf, word, excel, rtf etc. that can be saved in the report archive and dealt with as required
So anybody had any experience of this process and maybe have a recommendation??
Go for MS Reporting services. If you already have licensed MS SQL Server, then it is ideal, because reporting services are part of ms sql server. What I like the most on Reporting services reports is that they are stored in RDL (report definition language) what is open xml format, so you can do with your report programmaticaly whatever you want. ReportViewer control (it is part of VS 2005, or is free to download from microsoft) supports several output formats, from ones you stated are not suported word formats. But you always can write your own rendering extension for reporting services, as format is open and extensions are easy to integrate.
Another option could be Crystal reports, but I'm not so happy with it. I deffinitely prefer reporting services.
I am working on this project, and I was wondering if there is a way to get the site address from a page. Lets say we are at www.codeproject.com, is there a way to get codeproject from URL so we know what site address we are at?
i am developing an application using aspnet 2005 i need to open the command window from the web page and execute some file from the command window and close the command window how can i do this in my web application i am trying something with process.start("cmd.exe")
but till now i didnt get any solution can anybody help me
You mean to run cmd.exe on client side? You can not do this, unless client install ActiveX or similar component. If you could, it would be serious security hole and it should be reported to browser vendor to be patched
I using Vs.Net 2005 and the ASP.Net 2.0. My problem be with the GRIDview and the SQLDataSource.
My Dataview work as planned and can update / delete perfect when all columns are visible in the GRIDView. However big problem is made when i make one of columns to Invisible. This column data is not found and so database update not work and cause error.
Anyone can help me please.
Most greatfull marconi!
-- modified at 10:51 Wednesday 22nd November, 2006
I don't know if that's yoyr problem, as you didn't write any code here, but it could be because data of hidden columns are not stored in viewstate, so they are not available after postback. Small trick is to make column invisible after you databind data:
I am using the wizard to make the SqlDataSource and Gridview.
When i make update all is working fine when all columns are visible. But when i hide 1 or more of the column, i get error because it not find the data in this column. So cannot add this data to database.
Any help how to do?
-- modified at 10:52 Wednesday 22nd November, 2006
I alredy wrote you possible reason of your problem... Anyway, why do you want to store data to GirdView, if they are not displayed? If they are IDs, then use GridView.DataKeys to store IDs. Search for it on MSDN if you want to know how to use it properly.
Ok, maybe you not understand problem i try to describe.
I display the data / informations in GridView via SqlDataSource. But one column must be hidden so not show this data. But if column is hidden then cannot update database because the hidden field column is not added to update statement, and my database say this field must not be empty, so DB wont accept update.
Problem is not because of DataKey but because data is missing when try to add to database. So how to make data collected from hidden column to SqlDataSource Update statement?
I understand your problem. You probably don't understand what I'm trying to tell you
This hidden column WILL be empty, unless you fill it again after postback, or make it visible BEFORE DataBind() is called. Data stored in hidden column are not stored in ViewState, so after postback, this column will be empy - application has no way how to refresh this data automaticaly. But if it is hidden, it means data are not going to be changed anyway so why do you want to update them back into database??? Exclude this column from your data source and you solve your problem. One reason I see why you could want to have this column is to store ID of row into it. But for storing IDs in .NET 2.0 you should use DataKeys property of GridView instead of hidden column. I think some 'smart' head in Microsoft decided that hidden columns should not contain any data (security and performance reason probably). Thats why they introduced DataKeys property.
Try to answer to following question and then I could be able to help you better: why do you need to have this column in your GridView? If you dont need it, just change your select and update statements and exclude it. If you need it, than you have to think up a workaround, similar as I posted you in my first post.
1) hi, i recently install vs studio 2003. i created asp.net and when i try to run, it gives me this msg "unable to start debugging on the web server. debugging failed because integrated windows authentication is not enable"..
2) When i wanna test my localhost, i type localhost in internet explorer, it prompt me for my username and password. why is this so?
go to Control panels -> Administrative tools -> Internet information services, and browse to your application folder. right click it -> properties -> directory security tab -> click the upper edit button -> ensure yourself that only checkbox checked is 'integrated windows authentication'
thanks but it still doesnt work. it still prompt me for user name n password. n it says that "You are not authorized to view this page" "You do not have permission to view this directory or page using the credentials you supplied."
i follow ur instruction, i realise that under directory tab, the location path is just "\project". it is suppose to be "\localhost\project" rite?
-- modified at 9:44 Thursday 23rd November, 2006
Last Visit: 31-Dec-99 18:00 Last Update: 4-Oct-23 1:27