Finally I got this done...here is the code
string boundary = "----------------" +
DateTime.Now.Ti cks.ToString("x ");
string url = ConfigurationMa nager.AppSettin gs["ServerAddr ess"];
HttpWebRequest httpWebRequest = (HttpWebRequest )WebRequest.Cre ate(url);
httpWebRequest. ContentType = fileContentType +";+ boundary="...
User Profile
Collapse
-
Thansks for your reply.I want to upload more than one file using httpwebrequest in a single transaction and not one by one.Can you provide me some codes on that.
Thanks
Abdun nabi sk...Leave a comment:
-
How to upload multiple files using HttpWebRequest in c#?
How to upload multiple files at a time using HttpWebRequest in c#?
thanks
Abdun Nabi Sk -
How to send custom object to asp.net(c#) page from c# application?
I need to pass custom object to asp.net(c#) page from c# stand alone application.
I think I have to use HttpWebRequest and serialization.B ut I used the xml serialization but its not working.....any body can help me plz...
thanks
Abdun Nabi Sk -
I have button that is calling
javascrip:paren t.Test(2)
method.....
anyway I have to call c# method from
javascript method Test().
please help me
thanks
Abdun Nabi SkLeave a comment:
-
actually I am having a method name
[code=cpp]
public void Check(int n)
{
}
[/code]
in aspx.cs file.
in javascript
[code=javascript]
function Test(n)
{
<%Check(n)%>;
}
[/code]
its not calling Check() method....
There are errors like syntax
and if I dont want to send argument then no error but
every time i...Leave a comment:
-
-
How to call apsx.cs mthod(C#) from javascript?
Any body has any idea on How to call apsx.cs mthod(C#) from javascript?
Thanks
Abdun Nabi Sk -
Web Project is not working
I am working on a web project.Here I used open office dll to convert ppt to html.
While running the application its working in visual studio 2005 correctly,but deploying in IIS 5.0 its not working.Coversi on is progressing and not ending...
Still there is no errors or exceptions.Why its not working anybody has any Idea on this?thanks...
Abdun Nabi Sk -
-
how to convert openoffice odp file to html in c#
can anybody help
how to convert openoffice odp file to html in c#?
Thanks
Abdun Nabi Sk -
Thanks for reply.
If I use port 80 or any open port then firewall can not block this.
How detect open port in c#?Leave a comment:
-
Remting Events in Chat Application
I have created a chat application using .NET Remoting.I used events.But there is a problem.Firewal l could block this.How to solve this. -
Actually i am drawing on a Panel's OnPaint event.I have created a Graphics object
using Graphics g=Panel.CreateG raphics();
Each time when OnPaint event occurs i clearing the g objects and trying to
redraw the line between devices when they are moved.
where to Put FreezePainting= true inside OnPaintEvent.
I put this in OnPaint event's starting line FreezePainting= true
and OnPaint event's lastline...Leave a comment:
-
Thank you for reply.
Actually i am drawingon a Panel not on form.same thing can be applicabe
to Panel or not?...Leave a comment:
-
-
Help for Flicker free drawing in c#
I am developing a program in c# where I have to show device connected each other in a dashboard.I am drawing in OnPaint event.when the user move the devices the background is flickering.beca use each time i am clearing the graphics objects.
I tried using Doublebuffering but still not working.
any body can help me on this.
Thanks
Abdun
No activity results to display
Show More
Leave a comment: