|
please i want replay for: how i can store and retrive swf in and from asp.net database
|
|
|
|
|
A swf file is a binary file just like an image or document. If you do a search for storing/retrieving images you'll find plenty of resources.
Failure is not an option; it's the default selection.
|
|
|
|
|
Good Day
i am using a AsyncUpload(telerik), i am in a point where i am supposed to save the File to a certain Folder.
First i check if the directory exist
Dim baseDire As String = Server.MapPath("~/MyFILES/")
If IO.Directory.Exists(baseDire & Request("Req_ID").ToString()) = False Then
IO.Directory.CreateDirectory(baseDire & Request("Req_ID").ToString())
End If
Because i am doing multiple Upload , i will have to loop through the items of the Upload control and save to a folder.
For Each file As UploadedFile In UploadPropDoc.UploadedFiles
Dim bytes(file.ContentLength - 1) As Byte
file.InputStream.Read(bytes, 0, file.ContentLength)
file.SaveAs(baseDire + file.GetName())
Next
Now when ever i debug this , when it comes to this line
file.SaveAs(baseDire + file.GetName())
i get an Error
The process cannot access the file because it is being used by another process.
I have removed the Readonly in the Folder that it supposed to write to and gave everyone permission , but still the error persist.
Thanks
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa[at]dotnetfunda.com
http://www.Dotnetfunda.com
|
|
|
|
|
Hi
baseDire + file.GetName()
i guess you need to check the path, you have checked the existence of the directory but not appended to when giving to the file Save AS.
Hope this will help.
|
|
|
|
|
Thanks for the reply
So if i dont append the Path, how will it know where to save the file ?
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa[at]dotnetfunda.com
http://www.Dotnetfunda.com
|
|
|
|
|
Hi ,
i am using page life cycle for AJAX webservice call..
OnPreRenderComplete , i am having result of the first service call in the form of JSON.. before rendering this data to js page.. i want to make a another service call for the one of the json data...and i want to render these information to js finally...
2 service call... with the first service call result i want to make a another call...the full data i want to render back...
kindly suggest best way to do so..
thanks in advance..
|
|
|
|
|
If you can call the second service call on the first service's callback, you should be able to synchronize your service calls.
|
|
|
|
|
I want to upload an website created in asp.net on sharepoint.
Is it possible to upload the site created in asp.net directly on the sharepoint server( or a link from a virtual server is to be provided) . I have been suggested to upload the existing as a sanbox solution. But I want to avoid the overhead to created a sandbox solution.
|
|
|
|
|
Don't cross post, you have already asked this in the SharePoint forum
No comment
|
|
|
|
|
Hi fri
How to display text object vertically in crystal report.
|
|
|
|
|
You can rotate your text by choosing format Text -> Common -> text rotation -> choose 90.
Please do not repose your question in the future.
|
|
|
|
|
I have a rater control that insert votes into table as 1,2,3,4,5.
table Structure
Colid int
Userid int
infraPoints int
infraPoints can be 1,2,3,4,5.
Now I want to show chart as
x-axis 1,2,3,4,5.
y-axis No of votes for 1,No of votes for 2,No of votes for 3,No of votes for 4,No of votes for 5 respectively.
I am creating chart by using td and div.(div height increases as no of votes).
Now how i fetch No of votes for 1,No of votes for 2,No of votes for 3,No of votes for 4,No of votes for 5 respectively.in single query.
or
share any other way to achive this.....
|
|
|
|
|
Hi,
I have added one gridview inside the Update panel,I want to fire the textchanged event on gridview with update panel.
please help me on this.
Thanks in advance.
Raaj
|
|
|
|
|
Make sure AutoPostBack="true" .
|
|
|
|
|
when calling a Nusoap php web service from ASP.NET proxy class the response ends up containing crap characters in place of persian(arabic) characters. The owner of web service says it has changed the encoding for the web service to UTF-8. I have tried some changes in my code but non helped:
1-I tried RequestEncoding of SoapHttpClientProtocol.(set to Encoding.UTF8)
2-<globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" />
3-tried
string.Normalize(System.Text.NormalizationForm.FormC),
string.Normalize(System.Text.NormalizationForm.FormD),
string.Normalize(System.Text.NormalizationForm.FormKC)
string.Normalize(System.Text.NormalizationForm.FormKD) on response string
|
|
|
|
|
Have you used both Razor and traditional ASP.Net?
Any issues with either - preferences, etc.?
I'm liking the look of MVC, and Razor - but wonder if I might find any hiccoughs along the way!
|
|
|
|
|
hi friends
I have a problem in crystal report viewer; i can do report viewer with vertical format; that is use in official report;
so plz do help me in this issue
Myat Su<a href=""></a>
|
|
|
|
|
Your question is not clear, what do you want? Tell us clearly.
|
|
|
|
|
How to bind treeview inside the Gridview using asp.net.
|
|
|
|
|
|
|
|
Hi,
How to increase the speed of my site search like Google search.
|
|
|
|
|
nabinaya wrote: search like Google search.
To do that, you would need to hire tons and tons of engineers to do some performance tuning.
In general try tuning your database queries (especially the ones you are using for loading the page).
|
|
|
|
|
Hi All,
Im looking for a very good website security scanner tool.
I found a lot on the internet and also tried the Acunetix and NetSparker, but i still don't know which is better and why?
I want one of the best tools to check all the possible leaks.
Can someone give me a good hint please?
|
|
|
|