Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.dotnet.framework.adonet,microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default inserting string into excel table limited to 255 kar??

Hi,

Maybe not the right newsgroups, but it's excel and ado.net, so ....

I insert strings into an excel table usind ado.net like:

Dim oConnection As OleDbConnection
Dim sConnectionString As String
oConnection = New OleDbConnection()
Dim comd As OleDbCommand
sConnectionString="
sConnectionString="Provider = Microsoft.Jet.OLEDB.4.0; Data Source =
c:\mydb.xls; Extended Properties=Excel 8.0;"
oConnection.ConnectionString = sConnectionString
oConnection.Open()
sql="insert into data ...... "
comd = New OleDbCommand(sql, oConnection)
comd.ExecuteNonQuery()
oConnection.Close()

My problem is that all strings (coming from asp.net textarea controls) are
limited to 255 karakters in excel.
Any way to solve this?

Thanks
Britt


  #2   Report Post  
Posted to microsoft.public.dotnet.framework.adonet,microsoft.public.excel.programming
rml rml is offline
external usenet poster
 
Posts: 50
Default inserting string into excel table limited to 255 kar??

thanks britt...ill hang on here cause i like to fish the real
solution....hope u dont mind....

"Britt" wrote:

Hi,

Maybe not the right newsgroups, but it's excel and ado.net, so ....

I insert strings into an excel table usind ado.net like:

Dim oConnection As OleDbConnection
Dim sConnectionString As String
oConnection = New OleDbConnection()
Dim comd As OleDbCommand
sConnectionString="
sConnectionString="Provider = Microsoft.Jet.OLEDB.4.0; Data Source =
c:\mydb.xls; Extended Properties=Excel 8.0;"
oConnection.ConnectionString = sConnectionString
oConnection.Open()
sql="insert into data ...... "
comd = New OleDbCommand(sql, oConnection)
comd.ExecuteNonQuery()
oConnection.Close()

My problem is that all strings (coming from asp.net textarea controls) are
limited to 255 karakters in excel.
Any way to solve this?

Thanks
Britt



  #3   Report Post  
Posted to microsoft.public.dotnet.framework.adonet,microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default inserting string into excel table limited to 255 kar??

don't understand what you mean ..

"rml" schreef in bericht
...
thanks britt...ill hang on here cause i like to fish the real
solution....hope u dont mind....

"Britt" wrote:

Hi,

Maybe not the right newsgroups, but it's excel and ado.net, so ....

I insert strings into an excel table usind ado.net like:

Dim oConnection As OleDbConnection
Dim sConnectionString As String
oConnection = New OleDbConnection()
Dim comd As OleDbCommand
sConnectionString="
sConnectionString="Provider = Microsoft.Jet.OLEDB.4.0; Data Source =
c:\mydb.xls; Extended Properties=Excel 8.0;"
oConnection.ConnectionString = sConnectionString
oConnection.Open()
sql="insert into data ...... "
comd = New OleDbCommand(sql, oConnection)
comd.ExecuteNonQuery()
oConnection.Close()

My problem is that all strings (coming from asp.net textarea controls)
are
limited to 255 karakters in excel.
Any way to solve this?

Thanks
Britt





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table: Limited nr of Calculated fields to show? SG Excel Worksheet Functions 0 May 29th 07 05:06 PM
Inserting a CR into a text string rtbrd Excel Discussion (Misc queries) 6 January 20th 07 05:58 PM
inserting data in excel limited to 255 kar? Britt Excel Discussion (Misc queries) 0 November 15th 06 04:35 PM
Inserting a decimal from the right of a string MarkM Excel Discussion (Misc queries) 6 December 13th 05 05:37 PM
Text in pivot table limited to 255 characters tanyae_823 Excel Discussion (Misc queries) 4 September 30th 05 11:58 PM


All times are GMT +1. The time now is 06:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"