|
Log in | ||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
there is still unsolved problem with WideString in NexusDB2 ODBC Beta 15. ShortString, NullString and BlobMEMO fields are displaying ok, but WideString display just 2 first chars of the field content. protected void Page_Load(object sender, EventArgs e) { OdbcConnection oConn = new OdbcConnection("Dsn=NexusDB2"); oConn.Open(); DataSet oDataSet = new System.Data.DataSet("tab1"); OdbcDataAdapter oAdapter = new OdbcDataAdapter("select * from News", oConn); oAdapter.Fill(oDataSet, "tab1"); DataTable dt = oDataSet.Tables["tab1"]; GridView1.DataSource = dt; GridView1.DataBind(); oConn.Close(); } ASP.NET 2.0, MS Windows XP Pro SP2 Czech, VS 2005 Beta 2. --------------------------------------------------------- It work's OK in PHP (including WideString fields) !!! <? $odbc_connection = ODBC_Connect("NexusDB2","",""); if (!$odbc_connection): echo "Chyba pripojeni !!!"; else: $vysledek = ODBC_Exec($odbc_connection, "SELECT * FROM News"); if (!$vysledek): echo "Chyba vysledku !!!"; else: $pocetvet = ODBC_Num_Rows($vysledek); echo $pocetvet; while ($n = ODBC_Fetch_Into($vysledek,&$x)): for ($i=0;$i<$n;$i++) echo "[".$x[$i]."] "; echo "<br>\n"; endwhile; endif; ODBC_Free_Result($vysledek); ODBC_Close($odbc_connection); endif; ?> ===> there is probably some problem in cooperation of ODBC drivere and ADO.NETNebo delam nekde chybu? When will be available next beta of ODBC (and ADO.NET Provider)? Thanks Petr Manas manas.info Czech Republic |
|
#2
|
|||
|
|||
|
> Hi,
Hi, please avoid multiposting the same question. Saves us from answering multiple times. ![]() -- Eivind Bakkestuen Nexus Database Systems |
| Thread Tools | |
| Display Modes | |
|
|