Can you please post just the webservice implementation instead of all? Right now, i don't see any webservice present... is there any? You need to have WebMethods in order to call webservice methods.
Kindly re-check and update the question with it.
I have a web service which when called, should take the attachment that it got and use it in the response.
The webservice needs to create a csv file with 2 header values like type,location.
Then beneath that would be different rows which would look like this.
input,C:\input.csv // (I will be getting this C:\input.csv as an attachment)
I need to create this csv which i will be using and create an image based on this information.
Later i will need to send out the link of the images and the output file as an attachment.
I have found how to create a csv from the database but how do i hard-code it with the data i want?
So when the webservice is called, it will need to perform this. How can i do this???
Any help is appreciated. Thanks.
I have two <asp:buttonfield> in gridview in which i am using one for datakeynames and another for display name. so when i click on name button i want get the text of that button control in gridview_rowcommand
I have created a Authentication Class which implements IHttpModule. When it comes to checking to see if the user is authenticated, this class works fine. However, there are some pages that do not require authentication. These are the files that I have:
SecurePage.cs - Inherits from Page with a 'IsSecure' property
secure.aspx - can only be accessed by authenticated user
public.aspx - can be viewed by anyone
login.aspx - page where users are redirected to if they try to access secure.aspx and they are not logged in
Is it possible to find out what type of page is being accessed via the Custom HttpModule?
I found that the HttpApplicaion.Context.Handler (type of IHttpHandler) is created before the AcquireRequestState event. The Handler contains all the info that I require. So by subscribing to this event allows you to access the page which is calling the Authentication class.
i have databound the gridview using configure data source wizard....and its working properly the problem is that if i perform any updation in the data base through any databound control database gets updated but the data being displayed in the control is not updated till i restart the application.....is it possible to refresh the data source control through that wizard.....or the only solution is to write the code in .cs file..???
in my grid there is checkbox in the 1st column, then product,price,quantity,total columns available
when user enters the value in quantity field i should get the value in total field (ie) price* quantity
and finally i should get the grandtotal value in the footer
It depends how you want to do this, on the client-side or server-side.
im having 4 textboxs in repeater if all the text boxes are empty validation is disabled and if the 1st text box is empty and any of other text boxs are filled then error msg should display...
how can i do that...