| Thread | Last Post | Replies |
|
| Error opening connection | 25 Feb 2005 13:15 GMT | 4 |
I'm having problem opening SqlConnection after MSDE reinstallation. In the following snippet: SqlConnection cnn = new System.Data.SqlClient.SqlConnection( ); cnn.ConnectionString = "Connect Timeout=30; Initial Catalog=master; Packet
|
| Binding a DataAdapter to a DataGrid | 25 Feb 2005 12:50 GMT | 3 |
I am new to .Net and ADO.NET. I used Visual Studo .Net to create a Oracle DataAdapter. Now I want to bind to a DataGrid to display the result of the SQL Statment. I tried the following source code but it does not work :-(
|
| Exception thrown by the dataAdapter configuration wizard | 25 Feb 2005 09:48 GMT | 2 |
For a few days now, I've been unable to complete the Sql/OleDataAdpater conf wizard on VS .NET 2003 Architect. The message is : "the object reference is not defined on an object instance". Exception is raised by function Microsoft.VSDesigner.Data.VS.VsConnectionManager ...
|
| NVarchar vs NText | 25 Feb 2005 03:41 GMT | 6 |
MS documentation says that DbType.String is implicity converted to NVarChar. But this implicit conversion will fail if the string is greater than the maximum size of an NVarChar, which is 4000 characters. For strings greater than 4000 characters, explicitly set the SqlDbType.
|
| DataTable.Select Method | 25 Feb 2005 03:38 GMT | 1 |
I have a DataTable that has 240000 rows in it. My DataTable.Select Method for a particular filter gets me 840 out of 240000 rows. However, it takes about 5 seconds to process. The DataTable has 6 columns. The datatype for the columns are number(10), number(10), varchar2(2000), ...
|
| Setting up a database class and parameters | 25 Feb 2005 03:36 GMT | 3 |
I am trying to setup a database class and curious how you would deal with parameters? Part of the class looks like: ***********************************************************************
|
| The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data | 25 Feb 2005 03:05 GMT | 1 |
I am trying to insert data into an "access" table programmatically. Sometimes I get the following message: "The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data."
|
| How to Get Year/Month/Date of a DateTime Column by Column.Expressi | 25 Feb 2005 01:41 GMT | 2 |
I mean to create a new column with Integer type, which is defined by its expression to be Year/Month/Date of a DateTime Column. Of course, It is simple to define such a new column by Substring(Convert(DateTimeColumn,"System.String"),x,y) to get
|
| Syntax Check | 25 Feb 2005 00:24 GMT | 5 |
Is there a way to do a syntax check on the statement without executing it? Cathie
|
| GetChanges returns nothing after data in bound control is changed | 24 Feb 2005 18:41 GMT | 3 |
I've got a DataTable called dtOrders that is populated with orders from an Access table. There is an associated DataView called dvOrders, which stores a single record (the current order). I have several text fields bound to this DataView, as follows:
|
| Select into new Datatable from Datatables | 24 Feb 2005 17:53 GMT | 1 |
I have searched vbcity and the internet for a solution for my question but with no luck. But I am sure it must be simple to accomplish? I have to Datatables, DT1 and DT2, already populated from database. What I want to do is to select data from two (or more) datatables (in
|
| Querying XML data through a dataset | 24 Feb 2005 17:12 GMT | 2 |
I have a whole set of of small, very fixed tables that i'd like to treat in much the same way. 1) Mock up in XML 2) Create the Schema
|
| BinaryDataSet? | 24 Feb 2005 17:11 GMT | 3 |
I am looking for an approach (or preferably some example code ;-) to "dump" a DataSet in a compressed (binary?) and encrypted (simple algorithm will do) file, reversable of course - i.e. a sort of "BinaryDataSet" derived from DataSet and with overloaded methods for WriteXml() and ...
|
| ReadXmlSchema to DataSet adds _Id column | 24 Feb 2005 17:07 GMT | 3 |
I'm trying to load a schema ReadXmlSchema with defined key and relation into a dataset but the result is that VS adds the _Id column anyway what am I doing wrong? Regards, Joel
|
| Data Access Components | 24 Feb 2005 17:06 GMT | 5 |
Is there any tool that automatically generates code for Data Access component based on existing database table? Thanks, Alan
|