| | |
Parameter is no valid
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2008
Posts: 1,160
Reputation:
Solved Threads: 137
i'm not sure what you are meaning
the actual value? of what?
and what are you wanting to use for testing?
the actual value? of what?
and what are you wanting to use for testing?
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Apr 2008
Posts: 114
Reputation:
Solved Threads: 6
we have been provided with a data dump of a postgre sql table into a .psv doc
the data holds informatin on images and the actual image is stored as binary. Now when you open this doc to look at the information i want to see how it compared to that of the data that would be stored in an sql image field.
the reason beimng in that the rouine i have that should open the image from the binary data and save it is failing in the previous errors i have reported and i can only put it down to how the data has been passed to us?
if that makes any sense at all
the data holds informatin on images and the actual image is stored as binary. Now when you open this doc to look at the information i want to see how it compared to that of the data that would be stored in an sql image field.
the reason beimng in that the rouine i have that should open the image from the binary data and save it is failing in the previous errors i have reported and i can only put it down to how the data has been passed to us?
if that makes any sense at all
•
•
Join Date: Aug 2008
Posts: 1,160
Reputation:
Solved Threads: 137
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?
also are you sure you mean a psv or csv?
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Aug 2008
Posts: 1,160
Reputation:
Solved Threads: 137
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?
have you tried to import inside management studio specifying the pipe, or doing something like this?
sql Syntax (Toggle Plain Text)
BULK INSERT MyTableName FROM 'c:\mydata.psv' WITH ( FIELDTERMINATOR = '|', ROWTERMINATOR = '\n' )
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Aug 2008
Posts: 1,160
Reputation:
Solved Threads: 137
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?
did you try the bulk insert?
escape format meaning?
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Apr 2008
Posts: 114
Reputation:
Solved Threads: 6
Dont have access to SQL server at the moment and not sure if it would work with the sql express?
the data that has been provided is a table dump of a postgre sql table and the format is plain and uses standard escape sequence similiar to c or perl.
Now i need to convert that back to its binary equivilent.
the data that has been provided is a table dump of a postgre sql table and the format is plain and uses standard escape sequence similiar to c or perl.
Now i need to convert that back to its binary equivilent.
•
•
Join Date: Aug 2008
Posts: 1,160
Reputation:
Solved Threads: 137
are you meaning all your double backslashes?
just run a replace on your escaped characters
i think this is how with vb, more familiar with csharp
just run a replace on your escaped characters
ASP.NET Syntax (Toggle Plain Text)
Dim fileAsString As String = myString.Replace("\\", "\")
i think this is how with vb, more familiar with csharp
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
![]() |
Similar Threads
- SQL TimeStamp in DataViewGrid (C#)
- is this valid? (Shell Scripting)
- Monitor gives me big fat NO SIGNAL - EMERGENCY!! (Monitors, Displays and Video Cards)
- SQL Server IMAGE and VB.NET (VB.NET)
- Is this program valid???if yes then tell how? (C)
- Pinnacle PCTV or Media Center Scanning Problems (PCI and Add-In Cards)
- GDI+ error (C#)
- .exe crashing on executing output !! (C)
Other Threads in the ASP.NET Forum
- Previous Thread: ConfigurationElement IsRequired?
- Next Thread: help required
| Thread Tools | Search this Thread |
.net 3.5 ajax alltypeofvideos appliances asp asp.net bc30451 beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions control countryselector dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iis javascript list listbox login microsoft mouse mssql nameisnotdeclared news novell numerical opera panelmasterpagebuttoncontrols problem radio redirect registration relationaldatabases reportemail save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio vs2008 web webapplications webdevelopemnt webdevelopment webprogramming webservice wizard xsl youareanotmemberofthedebuggerusers






