Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #21 (permalink)  
Old March 13th, 2009, 01:44 PM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

Quote:
Originally Posted by Lee Dumond View Post
An MDB is an file you can open in Access. Of course, if you open a database in Access, then you can paste into it.

However, there is no way you are going to paste a column of values into an MDF. That doesn't make any sense. MDFs are meant to be edited using DDL. There's no such concept as "pasting" data into an MDF.
Well, I just try it.. I open my SQL server management express, open a database with a table with id, name. (id is not autonumeric, was just numeric). Open excel, create 3 dummy rows of data with number, text. I copy all the sheet, went to SQL, pressed CTRV+V and worked.

Quote:
Originally Posted by Lee Dumond View Post
Ah yes, I get it. That would work. Never thought of that. That's actually pretty clever Gonz! . And, probably a lot faster than using a file I/O thing like a StreamReader for a one-time procedure.
Thanks for that I do that kinds of things a lot, excel is very helpfull even when you need to do some programing. It helps building lines of code that are similar. (I once has to output about 5k chars to a single line of a file, they came from properties of a class, and excel help build the 100+ lines of equally code for them).

A good blog post will be welcomed, I will be looking forward for it.
__________________
HTH

Gonzalo


================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the
proof.
================================================== =========
The Following User Says Thank You to gbianchi For This Useful Post:
Lee Dumond (March 13th, 2009)
  #22 (permalink)  
Old March 13th, 2009, 02:29 PM
Lee Dumond's Avatar
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Quote:
Originally Posted by gbianchi View Post
Well, I just try it.. I open my SQL server management express, open a database with a table with id, name. (id is not autonumeric, was just numeric). Open excel, create 3 dummy rows of data with number, text. I copy all the sheet, went to SQL, pressed CTRV+V and worked.
Well, I'll be damned. I just tried it too, and it does work. That's just crazy.

I owe you an apology. Nice job Gonzo.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Output Query to txt file from SQL Query everest SQL Server 2005 4 November 22nd, 2007 01:49 AM
How to format txt file exported from access table bbqlee Access VBA 1 August 4th, 2006 02:16 PM
txt file generated from SQl BCP nidhigarg9 SQL Server 2000 1 June 16th, 2006 02:16 PM
Import a Comma separated txt file to SQL table arielote C# 2 April 17th, 2006 01:08 AM
Bulk Insert to Sql Server from .txt file avats BOOK: Beginning VB.NET Databases 1 June 3rd, 2005 04:44 AM



All times are GMT -4. The time now is 05:27 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.