|
I could not.
Thank you
Hoda
|
|
|
|
|
keyur satyadev wrote: Path.GetFullPath(FileUploadControlName.FileName)
The file is not in server side I guess
|
|
|
|
|
I want to upload files from client side to server side via ftp.
Hoda
|
|
|
|
|
Hi experts,
In my application, I do export data from datatable to csv file and import data from csv file. My problem is since csv file uses comma(,) as delimiter it splits text data with comma as two columns.
Ur suggestions r highly appreciated.
|
|
|
|
|
As you said, when you export/import data from the application, comma is specified as delimiter by default.
Why don't you change the delimiter to some other charaters like ~ or # for export/import functionality?
|
|
|
|
|
Put string with comma in Quotations...
<br />
"this, is , a , test",data
Just like this.
|
|
|
|
|
Hi,
I am using this code 'Response.Write("<script>window.close()</script>;");' to close current form in Asp.net . but if i want to close any specific form as "employee.aspx" then what is the code of it.
please help me
Thanks !
Pankaj Singh
|
|
|
|
|
if your page is not opened then what is the use of closing it. You are using any Popup window? or want to close the browser itself ?
|
|
|
|
|
if this is in a new window then use Window.close()
If you are navigating to a page, just navigate to your login page rather than closing the whole browser through your code.
Other than this, you can use
self.close();
to close itself. You must run this from within employee.aspx.
|
|
|
|
|
Hi,
Im creating some little export module of an html page to different file type (xml html pdf etc)
When im exporting the page to html the file download pop up appears.
so far so good , however,
When I choose to open it , it opens on the current window.
How do i open it in another window or tab
thanks in advance
here is my code
StringBuilder str = new StringBuilder();
str.Append("<HTML>");
str.Append("<HEAD>");
str.Append("<TITLE></TITLE>");
str.Append("</HEAD>");
str.Append("<BODY>");
str.Append("<CENTER>");
this.page.Response.Clear();
this.page.Response.AddHeader("content-disposition","attachment;filename=StationData.htm");
this.page.Response.Charset = "";
this.page.Response.ContentType = "application/vnd.html";
System.IO.StringWriter stringWrite = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
this.page.Response.Write(str.ToString());
this.page.Response.End();
|
|
|
|
|
|
Can you be more spesific about the SetTarget = new
thanks
|
|
|
|
|
use Window.Open from javascript and then call the handler which give you the response you created.
|
|
|
|
|
Use Response.Write(str.ToString()) only
dont use
this.page.Response.Write(str.ToString());
this.page.Response.End();
or try something like this
a new window
|
|
|
|
|
Hi All,
I'll be happy to get your option on this, i have a webservice that uses Semaphore to access shared (VB) resources and i noticed that when there is an high volume of webservice calls the semaphore could no make locks using the WaitOne() method, when using it, it throws an exception "Thread was being aborted." after 2 minutes.
I believe its aprobably a timeout error, but not sure what is the cause..
Can someone please explain what effects the lock? why t could be completed? what effects the timeout and can i configure somthing on the code or IIS or machine level to prevent that?
Thanks
|
|
|
|
|
How to get count value of No of visitor visited to our webpage?
|
|
|
|
|
Create counter in your global.aspx
|
|
|
|
|
I have to get which Ip is opened? & its IP address? & how many pages they have visited? How long they have opened per page? what is the webpage opening time & what is closing time of web page?
|
|
|
|
|
why dont you use Google Analytics for this?
|
|
|
|
|
Hello everybody,
From last 3years i developed an Accounting Inventory Payroll Manangement system .
It is running very successfully in UAE.I used VB and SQL Server and some C++ utilities in my program.
Now i want to develop an Online Inventory System.
So i am seeking advices from every one related to web Development.
From ur point of View actually what will be the easies tool for web development ?
I want high speed data accessibility and report generation.More over the the storage capacity of
the backend must be high.
Expecting all suggestions and advices
|
|
|
|
|
i want to create an xml file in the asp.net during runtime. While i compiled the code then i want to create a new xml file and to store the data from sql database...
Regards,
Karthikeyan
|
|
|
|
|
karthikeyanruby wrote: While i compiled the code then i want to create a new xml file
I didn't get you, what do you mean by that ?
|
|
|
|
|
DataSet dsReport = //get data from DB
dsReport.WriteXml(Server.MapPath("Employees1.xml"));
|
|
|
|
|
i m a bit confused about encryption of connection string in a website......i hv gone through some sites...some tells via using aspnet_regiis and some specifies other functions.... i dont know which one to use and for that do i need to install additional tool........plz guide me
|
|
|
|
|
If you want to encrypt a connection string ( which is at least mildly retarded ) then just do it with the Cryptography stuff built in to .net
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|