Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > dotnet ado.net > february 2008 > threads for february 15 - 21, 2008

Filter by week: 1 2 3 4

How import data from SQL Server?
Posted by Bobby Edward at 2/21/2008 11:04:26 PM
What's the best way to import all the tables (w/data) from an SQL Server database (in production) to my SQL Express database (on my local dev machine)? ...more >>

Database access spped issue
Posted by John at 2/21/2008 10:04:58 PM
Hi I have a terrible scenario. I had an ms access front end/back end app that searched on partial strings. I have coded the app in .net (access backend) and am using the below code to search on partial strings;. daCompanyLocate.SelectCommand = selCompanyLocate selCompanyLocate.CommandText...more >>

re-order a dataset
Posted by MattB at 2/21/2008 2:57:40 PM
Hi, I have a dataset (vb.Net 1.1) that I need to go through and re-order based on the data. I'm wondering if there is a nice relatively automated way to do this, but I kind of doubt it. There is not currently a single field to use in a DataView's order by parameter. The data has two fields th...more >>

Creation of table in database based upon ado.net database
Posted by Steven Paplanus at 2/21/2008 2:46:00 PM
Part of the application which I am building must support either Access or Sql Server Databases. The code to generate the databases via sql scripts is done. However, I have a set of tables (they will all have the same columns, but have different results since they are doing seperate calcula...more >>

Creating table in Access using C#
Posted by Johnny E Jensen at 2/21/2008 2:32:04 PM
Hello Group I have made an application that can create Mail Merges with Word. The application creates a WordTemplate and set the Document.MailMerge.OpenDatasource's filename to a text (tab spe.) file. Containing all fields and data to merge with. I would like to change the MailMerge.Open...more >>

Using Access db for Membership provider
Posted by Bobby Edward at 2/21/2008 11:09:34 AM
Any step by steps (or web links) on how to easily use an Access db for being the membership provider? I am using VS 2008 and .net 3.5. Thanks! ...more >>

Getting command from LINQ query
Posted by Chuck P at 2/21/2008 10:39:03 AM
I want to get a DataReader from a Linq Query so I wrote this Extension Method public static IDataReader QueryToDataReader(this System.Data.Linq.DataContext ctx, object query) { IDbCommand command = ctx.GetCommand(query as IQueryable); command.Connection = ctx.Connecti...more >>

dbml error for Access database
Posted by Bobby Edward at 2/21/2008 10:12:10 AM
Created a new Access mdb file. Created a Data Connection in Server explorer for it. Created a new "LINQ to SQL Class". When I try to drag/drop a table into the designer I get this error: THE SELECTED OBJECT(S) USE AN UNSUPPORTED DATA PROVIDED. Any idea why? Thanks! ...more >>



What is Delphi dotnet
Posted by cosmos.magmt@gmail.com at 2/21/2008 2:29:29 AM
Dear Friends, can somebody tell me what is delphi dot net. Rgards Sridhar...more >>

Tables and columns name can contain accented words?
Posted by Hornet77 at 2/20/2008 5:46:39 PM
In my language, Italian language, we have words with accent, for example "città" or "perchè"; can I create tables or columns in sql server with names that contain letters with the accent (i.e. "à" "è" "ì" "ò" "ù")? Is this absolutely not recommended? Or is it an acceptable practice? Thanks ...more >>

Getchunk & Appendchunk
Posted by Dan Reber at 2/20/2008 2:56:16 PM
When I used VB6 & ADO I used GetChunk & AppendChunk to get/save large image data to SQL Server. In ADO.Net that is not available but I found the below link and it describes what to use as an alternative. Looking at the code I don't see how the data in saved/retrieved in "chunks", is it done ...more >>

Encrypting config files as part of a VS build event
Posted by DingoBoy at 2/20/2008 7:38:00 AM
Is it possible to create a post build event to encrypt my config file (which holds my connection strings)? The reason I would like to do this is that while we are developing I would like the developers to be able to see/modify the connection strings appropriately, but when we do a release buil...more >>

Null Values eliminates the row?
Posted by jp2msft at 2/20/2008 6:26:02 AM
I have a TableAdapter linked to an SQL Server 2000 table. Some of the cells have null string values. In VS2005, I can preview the data linked by the TableAdapter in design mode, and all fields are displayed - even the ones with cells containing null values (they just show "null" in the cell...more >>

deleting rows with SQLCommandBuilder
Posted by David at 2/19/2008 8:08:02 AM
I have a task in an ASP.Net page that I think ought to work, but doesn't. It's fairly straightforward. It's an event scheduling site, and I want a user to be able to delete an event. When he clicks the delete button, it posts back to the page with the event id for the deleted event in the q...more >>

DataRow problem please help
Posted by smtwtfs007@gmail.com at 2/19/2008 5:03:46 AM
Guys, I have declared 2 dataRows and assigned New daraRows as below. Dim aRow as DataRow aRow = OutFormat.DataSet.Tables("demotbl").NewRow '*** Point 1 ---- ---- Dim bRow as DataRow bRow = OutFormat.DataSet.Tables("demotbl").NewRow '***Point 2 --- --- bRow = OutFormat.Dat...more >>

setup/deployment is SLOW
Posted by doofy at 2/18/2008 1:01:44 PM
I've got a VB.net app that I'm loading up to a SSVR 2005 server. It was created in Visual Studio 2008, calling upon 3.5 framework. I created a setup file with the deployment wizard, and am trying to install it on the server. This thing is SLOOOOOOOOOOOOWWWWWWW. It's been a couple of hour...more >>

DataRow Issue Pls help
Posted by smtwtfs007@gmail.com at 2/18/2008 11:34:10 AM
Guys, I have declared 2 dataRows and assigned New daraRows as below. Dim aRow as DataRow aRow = OutFormat.DataSet.Tables("demotbl").NewRow '*** Point 1 ---- ---- Dim bRow as DataRow bRow = OutFormat.DataSet.Tables("demotbl").NewRow '***Point 2 --- --- bRow = OutFormat.Dat...more >>

oledb + access refresh problem
Posted by Vipper at 2/18/2008 4:00:02 AM
Hi, I'm using ACCESS + oledb with ado.net 2 and I'm having this behaviour when I execute the next sequence: 1. INSERT INTO customer ... 2. SELECT * FROM customer (I execute it inmediately) But the change of step 1 doesn't refresh in step 2, . However if I execute step 2 again after 1 o...more >>

DataView.FindRows out of range problem
Posted by Rami Prilutsky at 2/17/2008 8:31:36 PM
I'm binding the dataView to a dataset (~400000 rows) and sorting it by a key (long type). I'm retrieving values from the DataView with FindRows(object key) which returns DataRowView[]. The problem is that rarely on Stress modes I get the following error: Source: mscorlib Message: Index ...more >>

SEHException on opening connection to Access database
Posted by David Hauser at 2/16/2008 6:11:44 PM
Hi I moved an ASP.NET website to a new server an suddenly got the following error when connection to my MS Access database: "System.Runtime.InteropServices.SEHException: External component has thrown an exception". Searching the web and newsgroups for a solution I found several pages wit...more >>

Reuse of datareader
Posted by Vanny at 2/15/2008 9:13:52 AM
I tried to loop through the datareader to find some data elements one at the time. The first time loop , it's fine. To avoid going to the database, I reuse the same datareader to search for the next element. However, the 2nd search starts from the place where I exit the loop, which causes t...more >>


DevelopmentNow Blog