all groups > dotnet ado.net > june 2007 > threads for june 22 - 28, 2007
Filter by week: 1 2 3 4 5
Convert Access -> SQL Server 2005
Posted by Tony at 6/28/2007 10:53:52 PM
I have Management studio 2005 express. I can't find how to convert access
database to sql server 2005 express. Please help.
... more >>
Multiple bulk inserts with one SqlBulkCopy object
Posted by Thomas W. Brown at 6/28/2007 3:54:01 PM
I have an app that generates a lot of data for multiple tables (on one
database). This seems perfect for the SqlBulkCopy object which, according to
the docs, can be used to handle this case as long as the properties on the
object are changed prior to each call to WriteToServer (DestinationTab... more >>
Ado.net DataSet Refresh
Posted by Manjree Garg at 6/28/2007 8:30:01 AM
Hi
Is there any way to refresh a DataSet after inserting few records in a table
(containing foreignKey column) using adapters' InsertCommand and
ExecuteNonQuery(). I tried adapter's Fill(dataSet) but it does not add the
new records inserted to the dataset's table. I am doing something like:... more >>
excel error
Posted by AVL at 6/28/2007 8:06:05 AM
hi,
i'm using the .net OleDBprovider to read the data from excel file...
but sometimes the data from the few of the cells of excel gets truncated...
i'm not getting the whole data..if the data length is greater than 255
characters...
how can i solve this problem?
... more >>
refresh ???
Posted by Marty at 6/27/2007 4:50:42 PM
Form1 has controls that are bound to columns in a table.
"New" button on Form1 opens up Form2, which queries user for new record.
After Form2 closes, how do you refresh the data displayed in the controls of
Form1 to reflect the additional record?
Thanks,
Marty
... more >>
DataSet.Merge problem
Posted by J055 at 6/27/2007 1:51:12 PM
Hi
This code does not update the copyTbl rows. I.e. when the copyTbl object is
merged into the dataset actions on the rows of this table are not reflected
in the copyTbl. I want the copyTbl to reflect changes made to the
ds.Tables["Sets"].Rows.
private void PopulateCopyTableFro... more >>
Binding to a ComboBox
Posted by Bill Gower at 6/26/2007 7:41:17 PM
I have a combo box in which I want to display the distinct values in a field
in a table.
Depending on the table name and the field name entered by the user, I build
an sql statement
_Sql = "Select distinct " + _fieldName + " from " + _tableName
and fill a dataset with the results
How d... more >>
Cancelling addition of new row
Posted by scott at 6/26/2007 5:28:12 PM
I have a simple Windows form bound to one SQL Server table using the
BindingSource control. I would like to use the BindingNavigator
control to navigate through records. One text box holds a required
field. When I click the AddNew button on the BindingNavigator, a new
record is added to the Data... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Invoking Stored procedure from ADO.NET is slow
Posted by Oldman at 6/26/2007 1:31:01 PM
I have this stored procedure on a SQL 2005 database that when invoked from
query analyzer or SQL Server Management studio runs in 2 seconds.
However, the following code times out on the executeScalar call:
DbCommand cmd = cnn.CreateCommand();
cmd.CommandText = "spc_search_item... more >>
Import csv files into SQL server with date validation
Posted by Mike D at 6/26/2007 12:49:01 PM
I am very new to C# with little experience with stored procedures (former
Coldfusion developer). My problem is that I have two csv files (output from
SAP) that I need to import into two tables (after deleting current data) on a
reoccuring basis (about every 30 minutes). I have already figure... more >>
Convert ColumnMapping in SubClass?
Posted by lucius at 6/26/2007 12:02:41 PM
I would like to make a subclass of System.Data.DataTable with this
method pseudocode:
" for each DataColumn, change the ColumnMapping to
MappingType.Attribute "
However, I am not sure where I should put this kind of logic so it is
only executed once. The DataTable may be populated... more >>
Thoughts on Datasets and TableAdapters?
Posted by Dave at 6/26/2007 5:43:01 AM
In VS 2003, used to be able to drag a stored proc (that had multiple selects)
onto the designer and it would create a datatable for each select. In VS
2005 it only creates a datatable for the first select. I sometimes do
multiple selects to save round trips to the db.
Also, after going th... more >>
Find the differences between two datatables
Posted by thecolour at 6/25/2007 12:53:26 AM
Dear all,
I have to perform a programatic reconciliation of two sets of data
which are based on the same schema. I thought a brilliant way to do
this would be to use the dataset.getchanges() method, and then write
the changes out as a diffgram using the dataset.writexml() method.
The way I ... more >>
<newbie> DOL?
Posted by Jeff at 6/25/2007 12:00:00 AM
..NET 2.0
I've heard rumors that .NET 2.0 contains a functionality which automatically
can convert a database table into a .NET class. This functionality is being
used as part of the Data Access Layer... Is this true? what is it's name? I
think the name is something like DOL - Data Object L... more >>
creating Data Access Layer, how?
Posted by Jeff at 6/24/2007 11:58:08 PM
..NET 2.0
I wonder how a Data Access Layer should be created using best practice!
So if you have a link to an article about this subject then please post it
here
I've heard Microsoft has a special pattern for this, but I have forgotten
it's name, I think the name is something like Data ... more >>
dataset and concurrency
Posted by abcd at 6/23/2007 6:24:52 PM
I am trying to understand datasets. It says its disconnected blah blah.....
Can some one explain me what happens exactly when...
Say I have asp.net page in which Page_load is opening a dataset. So for
every request will a separate dataset be opened...say 100 users are
requesting so will the... more >>
Visual Studio Typed Table Adapter
Posted by Neil at 6/23/2007 12:20:00 PM
Hi,
Enviornment : Visual Studio .NET 2005 and SQL Server /Access
I've spent 2 days searching for an answer to this problem which I am
convinced is simple - if you know how.
I can't get VS to create the TableAdapter classes for me to use in my .NET
application. I run the TableAdapter Con... more >>
Binding to TreeView
Posted by Jonathan Wood at 6/23/2007 9:58:12 AM
I want to develop a non-ASP C# application.
My program will include a TreeView control that the user can add and remove
items from, and I'm considering the possibility of using ADO to store my
tree data.
Can anyone tell me if it makes sense to use data binding between ADO and a
TreeView ... more >>
Data extraction question on SQL using ADO.NET
Posted by Neville Lang at 6/23/2007 12:00:00 AM
Hi all,
Though this question is probably more focussed on SQL, I thought I would
post it on this forum in case someone here can help me with an answer.
I have a single SQL table that has many columns and rows. What I want to do
is to take one column in a table, (one that contains short str... more >>
Using Typed Datasets with Infragistics WebGrid not updating
Posted by Scott Lyon at 6/22/2007 6:10:00 AM
I've discovered something odd (it seems) with using Typed Datasets to bind to
an Infragistics WebGrid I have on my ASP.NET (2.0) webform.
Essentially, if I set up a Typed Dataset (using Stored Procedures for all
data access, including select, update, insert, and delete), and then create
t... more >>
|