I'm developing an application wherein I'm calling some classes in webforms which do some searching,addition etc on the database. Now what I need to know is how can I code the classes in such a way that if I need to call these classes through web service I won't have to redo the code.
Hi, Firstly thanks for replying. I'm already aware of these things what I'm asking is can a single class serve both webservice & web form. As in a web service syntax is little different like [WebMethod] attribute etc.
i am working on a web application i want to implement file uploading and downloading directly from the user. like user upload diectory or download directly from FTP server..
Please help me ..
Send me some Demo or articls
Downloading is as simple as placing a link directly to the file you wish to allow your users to download. So if you want to allow your users to download an MS word document use something like "href='http://www.yourWebSite.com/subFolderName/helpFile.doc'".
I don't entirely understand. Are you looking to upload multiple folders to the server or are you trying to upload a single file to multiple folders located on the server?
As far as I know, you can't upload folders directly to a server, only files (someone please correct me if I'm wrong). If you want to upload an entire directory, you should first zip it up and then upload this zipped file to the server.
In fact i am using the gridview to show the data but the header of the gridview, I am building it in this method. The reason is that I don't think that is possible to build a header for the grid I need through the gridView:
Open this link and see the header I am talking about
for the last 3 days i am trying to find out how can i retrieve the security settings of client's browser(Internet Explorer) which he sets with the help of "Internet Options"
then selecting the "Security" tab and "Custom Level " setting...
i want to retrieve these settings on server side...with the help ASP.NET
so if anybody knows the answer please help me out...
its really frustating..
i tried by using
1)Browser Helper Object
another way could be "By Getting The Handle Of Security Window"
please tell me Is there any which will Serve my Purpose