Forum: ASP.NET Apr 9th, 2009 |
| Replies: 28 Views: 1,810 could be done without it, i think you would have to parse and eliminate the extra escape characters then convert it to a byte array using encoding getbytes
i might be wrong, but just a shot |
Forum: ASP.NET Apr 9th, 2009 |
| Replies: 28 Views: 1,810 here's another tidbit i found
http://www.postgresql.org/docs/8.3/interactive/datatype-binary.html |
Forum: ASP.NET Apr 8th, 2009 |
| Replies: 28 Views: 1,810 think this is what postgre calls bytea
check out this
http://docs.huihoo.com/enterprisedb/8.1/dotnet-usingbytea.html
25.15.1. Retrieving the BYTEA Column Using .NET Code
hopefully that can... |
Forum: ASP.NET Apr 8th, 2009 |
| Replies: 28 Views: 1,810 i only saw part of the output, what format is this output in? |
Forum: ASP.NET Apr 8th, 2009 |
| Replies: 28 Views: 1,810 are you meaning all your double backslashes?
just run a replace on your escaped characters
Dim fileAsString As String = myString.Replace("\\", "\")
i think this is how with vb, more... |
Forum: ASP.NET Apr 8th, 2009 |
| Replies: 28 Views: 1,810 the management tool you need for the import is just sql management studio or even run it through code
did you try the bulk insert?
escape format meaning? |
Forum: ASP.NET Apr 7th, 2009 |
| Replies: 28 Views: 1,810 opening it up wouldn't do anything, as long as you don't save it
have you tried to import inside management studio specifying the pipe, or doing something like this?
BULK INSERT MyTableName
... |
Forum: ASP.NET Apr 7th, 2009 |
| Replies: 28 Views: 1,810 why can't you just do an import into sql server without going code side?
also are you sure you mean a psv or csv? |
Forum: ASP.NET Apr 7th, 2009 |
| Replies: 28 Views: 1,810 i'm not sure what you are meaning
the actual value? of what?
and what are you wanting to use for testing? |
Forum: ASP.NET Apr 7th, 2009 |
| Replies: 28 Views: 1,810 this here in your file, shows that it is supposed to be a jpeg
\\377\\330\\377\\340
here's a c# sample to check a stream
http://stackoverflow.com/questions/210650/validate-image-from-file-in-c |
Forum: ASP.NET Apr 7th, 2009 |
| Replies: 28 Views: 1,810 try to save the byte array to a file rather than image first, and see if you can open that file up properly
'Get our byte array
obj = StringToByteArray(ImageString)
'Save to a file
Dim... |
Forum: ASP.NET Apr 7th, 2009 |
| Replies: 28 Views: 1,810 try this then, c# but i'm sure you can convert it to vb
ImageConverter imageConverter = new System.Drawing.ImageConverter();
Image image = imageConverter.ConvertFrom(obj) as Image;
if... |
Forum: ASP.NET Apr 7th, 2009 |
| Replies: 28 Views: 1,810 try specifying the size of the memory stream, are you also sure stringtobytearray is doing what it should?
Dim ms As New MemoryStream(obj, 0, obj.Length) |
Forum: ASP.NET Mar 5th, 2009 |
| Replies: 4 Views: 973 well lets start with this
what is the connection string? |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 what?
are you saying you are modifying the web config file in microsoft.net/framework/v2.0.50727/config ?
it needs to be the web config file in the directory for iis |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 and that folder is a web application? |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 maybe this is a configuration issue, for sure this folder that the web.config resides as a webapplication? |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 try moving the customerrors to directly below <system.web>
are you able to view the error on localhost, vs remote? |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 post your webconfig from the server, and i'll take a look |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 10 Views: 1,034 you'll need to combine two things to do this, as far as i know
call the process from code... |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 10 Views: 1,034 maybe i just don't get what you are wanting
you said you wanted to know if asp.net was registered or not, i don't get what you are wanting past that
let me know and i'll do my best to help |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 10 Views: 1,034 hmmm very weird
try this then
from your .net framework folder, normally
c:\windows\Microsoft.NET\Framework\v2.0.50727 (may be different version)
run this
aspnet_regiis.exe -lv |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 10 Views: 1,034 here's a link that will point you in the right direction for asp.net and iis
http://geekswithblogs.net/sdorman/archive/2007/03/01/107732.aspx |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 you just need to change what it tells you
open up the webconfig, search for customErrors and set mode to off and restart the web app, just to be safe
this setting basically just allows you to... |
Forum: ASP.NET Dec 1st, 2008 |
| Replies: 1 Views: 358 it depends what you are doing at time of insert to the master table, if you are using a stored procedure you can use this
insert into mastertable .....
select @@identity |
Forum: ASP.NET Nov 28th, 2008 |
| Replies: 1 Views: 903 you did not post the error |
Forum: ASP.NET Nov 25th, 2008 |
| Replies: 7 Views: 661 is it ie6 with sp3? or pre sp3? |
Forum: ASP.NET Nov 25th, 2008 |
| Replies: 7 Views: 661 is this an email or webpage? |
Forum: ASP.NET Nov 24th, 2008 |
| Replies: 6 Views: 2,112 i believe when you are creating the controls dynamically like that, the control is not there that signaled the event
http://gregmckinley.com/cs/blog/archive/2006/09/29/27.aspx |
Forum: ASP.NET Nov 24th, 2008 |
| Replies: 5 Views: 621 not sure why they changed it
you don't see related features on the right? with aspnet code snippets? |
Forum: ASP.NET Nov 24th, 2008 |
| Replies: 5 Views: 621 they are on the right hand top side, much different layout though, not sure if i am up for it
here's a link as well
http://www.daniweb.com/code/ |
Forum: ASP.NET Nov 23rd, 2008 |
| Replies: 9 Views: 625 have you tried disabling all caching together?
might be easier to start that way, then try to enable it |
Forum: ASP.NET Nov 19th, 2008 |
| Replies: 9 Views: 625 is it showing the news for a previous link id they have used?
i understand its not the correct page, but need more specifics, when is it from? same url? any further info? |
Forum: ASP.NET Nov 19th, 2008 |
| Replies: 9 Views: 625 i think it might be the page cache, also if they click refresh, does it properly display?
try to add this to the top of the page
<%@ OutputCache Duration="60" VaryByParam="*" %> |
Forum: ASP.NET Nov 19th, 2008 |
| Replies: 1 Views: 699 how about the rich text editor for asp.net
http://www.codeplex.com/rte |
Forum: ASP.NET Nov 19th, 2008 |
| Replies: 9 Views: 625 do you have samples of the urls they are clicking on? |
Forum: ASP.NET Nov 19th, 2008 |
| Replies: 1 Views: 429 i have not had a hosted sharepoint server only an inhouse, but know limitations of normal hosted services
many sharepoint apps require addition to the gac unless you want to go through a lot of... |
Forum: ASP.NET Nov 19th, 2008 |
| Replies: 1 Views: 300 please tell me the code asap
show us your work, we'll show you ours |
Forum: ASP.NET Nov 18th, 2008 |
| Replies: 1 Views: 353 what you need for the rows is a repeater control, problem is the dynamic columns, which means you need a dynamic repeater control
here's a sample that should get you started
... |
Forum: ASP.NET Nov 17th, 2008 |
| Replies: 3 Views: 1,196 do your textboxes have a default value of "mala" and "123"? |