Hi to all..
I am new to ASP.Net, I want coding for inserting data in to SQL server 2005 that code contain the following criteria.
1.ASP.Net using C#.Net.
2.Using Stored Procdure.
3.the connetion string ,command , Data reader is in the same class. this class will be reusable for other page also without modifying any thing in it.
Please Help me.
Advance thanks.
Balaji,
I have an article in VB.NET which explains how to insert images to SQL server. Apart from images, i am using other columns to insert into the table.
Here is the article link:http://aspalliance.com/138_Inserting_Images_to_SqlServer_in_ASP_NET
And here is a link which will convert any VB.net code to c#http://labs.developerfusion.co.uk/convert/vb-to-csharp.aspx
Also, here is another link from ASP.NET quick starts which explains your scenario.
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/data/databases.aspx#insert
Hope this helps.
|||
See if below thread can be useful.
http://forums.asp.net/t/1165758.aspx
No comments:
Post a Comment