| image web control question (2 replies, VIP) |
| ASPFriends.com 'aspngcs' list |
| i have one web application which reads a binary file based on id provided by user and bring the picture and signature out of the files and read it in memory.. Then what i am doing is I am reading portrait and signature from memory and then writing it into file in the server..those file names are " portrait.gif" and signature.gif.. In the asp:image control i set the ImageUrl to "portrait.gif and li... |
|
| i wonder how to request cookies? (4 replies) |
| ASPFriends.com 'aspngcs' list |
| hello, i'm min in korea i just wonder how to request cookies in asp.net for c#. i used to use follow structure. mycookie request.cookies("cookies name") it never works anymore at asp.net. plz, give me a hand. thanks. Thinking of me when a long time passed? Well, I wish I would be the person who you might like to have a drink with~~ Please contact me, rhombask@korea.com ICQ 21671666. MSN rhombask@h... |
|
| compile time event (2 replies, VIP) |
| ASPFriends.com 'aspngcs' list |
| i am embedding images into a server control, then at compile time accessing them and saving them to a dir. right now im doing this on the oninit event, i only want this function to be called when i compile the control, not everytime the page is accessed. any ideas? Original Message From: Geeta Kalantre [mailto:dotnetgeeta@hotmail.com] Sent: Tuesday, December 11, 2001 7:16 AM To: aspngcs Subject: [... |
|
| putting gif file in xml document/database using ado.net (3 replies) |
| ASPFriends.com 'aspngcs' list |
| I have used one blob field in sql server 2000.. ie image field.. I want to put the data into this field using ado.net.. I read a binary file using filestream object.. Added one new row in current dataset.. Problem is How to put array of bytes in the blob filed.. Finally i want to put that binary data in xml file.. if anybody knows the solution.. then please help.. verinder Original Message From: D... |
|
| book in asp.net for c# developers (2 replies, VIP) |
| ASPFriends.com 'aspngcs' list |
| hi all, i want to know best book in market which covers developers like me who are new to web technology..and have very strong grounds on c .. I am well versed in c#/xml ...(grasped full professional C# with one big project on that). I have very basic .. i would say very very basic knowledge in html/asp...and almost no knowledge about vb/javascript.. I bought the professional asp.net book..It seem... |
|
| Performance measurement (2 replies) |
| ASPFriends.com 'aspngcs' list |
| I want to measure the time taken by a portion of my script, reliably, by executing it n times, and then calculating the average time taken. Right now, I did it with two Trace.Write's in ASP.NET (~0.002 seconds) and wanted to get rid of it, therefore I searched the docs, which had the following sample: DateTime dtStart DateTime.Now; .... do some work Response.Write((new TimeSpan(DateTime.Now.Ticks ... |
|
| Return Boolean Values (3 replies) |
| ASPFriends.com 'aspngcs' list |
| How can I return a boolean value in the code behind page using a a method. What I am trying to do is check the database to see if the page exists if it Exists then obviously I want a boolean true value and if not a boolean false value. I have this code in my class library I don't know if it is wrong or right. I am just learning this so trying to do by trial and error public bool CheckPageID(int Se... |
|
| TcpClient and firewalls (2 replies, VIP) |
| ASPFriends.com 'aspngcs' list |
| Hi all, I have an application that uses a TcpClient. I am just wondering if there are any articles or any advice someone could offer on connecting to an IPAddress that is behind a firewall. Thanks, Ryan |
|
| How can I deal with Exception in C#? (10 replies, VIP) |
| ASPFriends.com 'aspngcs' list |
| Hello all. I have been programmed in JAVA and I'm currently migrating to .NET. During my studying, I got a very very important question in my mind. In Java, there is *throws* keyword. (I'm not talking about 'throw') For example, if some method may occur some exceptions, that method should catch that exception or mark itself as 'thrwos ...Exception' e.g. // this does not deal with exception public ... |
|
| When should I call Dispose? (6 replies) |
| ASPFriends.com 'aspngcs' list |
| Yes, I know it is when there are unmanaged resources to clean up. Still, it's not always clear to me when this is the case. Take the DataSet class for example. It has a Dispose method. Is that a sure indicator that code should explicitly call Dispose on all DataSet objects? This doesn't seem to be the case in the sample code. If not, what is the best way to determine whether or not Dispose should ... |
|
| Multiple RegexOptions (2 replies, VIP) |
| ASPFriends.com 'aspngcs' list |
| How do I specify multiple RegexOptions when calling the Regex class constructor? Devin |
|
| ArrayList.count (3 replies) |
| ASPFriends.com 'aspngcs' list |
| I'm having some strange behaviour w/ an ArrayList.Count code is like this if(ArrayList.Count ! 0){ //do something } it works fine in VS.net, but when i use the "browse with" internet explorer it shows an error @ ArrayList.Count System.NullReferenceException: Value null was found where an instance of an object was required. any thoughts? thanks John |
|
| c# equivalent to the with statement... (3 replies) |
| ASPFriends.com 'aspngcs' list |
| Does anyone know if there is statement in C# that is equivalent to the With Statement in VB? Elvie Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag |
|
| Random quote generator (3 replies) |
| ASPFriends.com 'aspngcs' list |
| I want to generate random quotes. What data structure would provide proper concurrency, and ofcourse provide fast access? Say I use an array with 30 items in the array, how do I randomly select a item in an array of 30 items? thanks Join the world s largest e mail service with MSN Hotmail. http://www.hotmail.com |
|
| where to find MAX_PATH, etc. Windows constants in .NET? (2 replies, VIP) |
| ASPFriends.com 'aspngcs' list |
| maybe i'm not looking in the right place for these, but i can't seem to find the standard Windows SDK constants anywhere in the .NET/C# dev environment. i'd like to use the MAX PATH (and the INTERNET MAX URL LENGTH) constant in some C# code, but i can't find anything in the System namespace that looks appropriate. do these really not exist? thx! Kirk |
|
| RE : finger? (2 replies) |
| ASPFriends.com 'aspngcs' list |
| Same question with 20 The 'Ping' command... | Mathieu Clerte | DBA & Development , MCP Message d'origine De : Eyekron Support [mailto:support@eyekron.com] 20 Envoy E9 : mardi 25 d E9cembre 2001 00:50 C0 : aspngcs Objet : [aspngcs] finger? Hey all, Does anyone know how to implement a: finger this@address.com with C#? Thanks for any insite! Michael | [aspngcs] member mathieuc@ispf.pf 3D YOUR ID 20 |... |
|