Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Beginning .Net : Insert data into SQL Server Database with C# Examples and VB.Net Examples
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jayesh Sorathia  
View profile  
 More options Jul 26 2012, 3:27 am
Newsgroups: microsoft.public.dotnet.languages.csharp
From: Jayesh Sorathia <jayeshsorat...@gmail.com>
Date: Thu, 26 Jul 2012 00:27:42 -0700 (PDT)
Local: Thurs, Jul 26 2012 3:27 am
Subject: Beginning .Net : Insert data into SQL Server Database with C# Examples and VB.Net Examples
You can insert data or records in to SQL Server Database tables using SqlCommand Class.
You can use "ExecuteNonQuery" method of SqlCommand Class.
This article is very useful for .Net Beginners.

Click here to view full article. Click Here...      http://jayeshsorathia.blogspot.com/2012/07/beginning-net-insert-data-...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Vajhøj  
View profile  
 More options Jul 26 2012, 10:12 am
Newsgroups: microsoft.public.dotnet.languages.csharp
From: Arne Vajhøj <a...@vajhoej.dk>
Date: Thu, 26 Jul 2012 10:12:04 -0400
Local: Thurs, Jul 26 2012 10:12 am
Subject: Re: Beginning .Net : Insert data into SQL Server Database with C# Examples and VB.Net Examples
On 7/26/2012 3:27 AM, Jayesh Sorathia wrote:

> You can insert data or records in to SQL Server Database tables using SqlCommand Class.
> You can use "ExecuteNonQuery" method of SqlCommand Class.
> This article is very useful for .Net Beginners.

Hmmm.

If the goal is code that runs, then maybe.

But:
- not utilizing the using statement for guaranteed disposal
- access via SQLServer security instead of integrated security
- variable names with sort of Hungarian notation
- parameter definition and value assignment in single operation
makes the example somewhat mediocre and not so well suited as
learning material.

Arne


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Duniho  
View profile  
 More options Jul 26 2012, 10:41 am
Newsgroups: microsoft.public.dotnet.languages.csharp
From: Peter Duniho <NpOeStPe...@NnOwSlPiAnMk.com>
Date: Thu, 26 Jul 2012 07:41:33 -0700
Local: Thurs, Jul 26 2012 10:41 am
Subject: Re: Beginning .Net : Insert data into SQL Server Database with C# Examples and VB.Net Examples

On Thu, 26 Jul 2012 10:12:04 -0400, Arne Vajhøj wrote:
> On 7/26/2012 3:27 AM, Jayesh Sorathia wrote:
>> You can insert data or records in to SQL Server Database tables using SqlCommand Class.
>> You can use "ExecuteNonQuery" method of SqlCommand Class.
>> This article is very useful for .Net Beginners.

> Hmmm.

> If the goal is code that runs, then maybe.

> But: [...]

If you're going to start reviewing Jayesh's blog for reasonableness,
efficiency, and practicality, you've got your work cut out for you.

There's a reason he's spamming this newsgroup, and it isn't because he
knows what he's talking about.

If you're ready to call out each and every erroneous suggestion he makes,
more power to you.  I think it's great for someone to do that...but it's
like to be a monumental task.  I hope you've opened up some room in your
schedule. :)

Pete


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Vajhøj  
View profile  
 More options Jul 26 2012, 10:52 am
Newsgroups: microsoft.public.dotnet.languages.csharp
From: Arne Vajhøj <a...@vajhoej.dk>
Date: Thu, 26 Jul 2012 10:52:59 -0400
Local: Thurs, Jul 26 2012 10:52 am
Subject: Re: Beginning .Net : Insert data into SQL Server Database with C# Examples and VB.Net Examples
On 7/26/2012 10:41 AM, Peter Duniho wrote:

He seems to read what is being written here and improve based on it.

So maybe he is more like a C# Roedy than a traditional plagiarizing
blog spammer.

Arne


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Duniho  
View profile  
 More options Jul 27 2012, 1:53 am
Newsgroups: microsoft.public.dotnet.languages.csharp
From: Peter Duniho <NpOeStPe...@NnOwSlPiAnMk.com>
Date: Thu, 26 Jul 2012 22:53:25 -0700
Local: Fri, Jul 27 2012 1:53 am
Subject: Re: Beginning .Net : Insert data into SQL Server Database with C# Examples and VB.Net Examples

On Thu, 26 Jul 2012 10:52:59 -0400, Arne Vajhøj wrote:
> He seems to read what is being written here and improve based on it.

Not everything. Like, suggestions that he comply with community standards.

> So maybe he is more like a C# Roedy than a traditional plagiarizing
> blog spammer.

Faint praise indeed. :)

But you're a good man for giving him the benefit of the doubt.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »