Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 17, 2012 07:06 AM by SudhaRubini
Member
391 Points
383 Posts
May 17, 2012 05:58 AM|LINK
Hi,
In a single table i want to save three records in at a time. with a single query. how i can do? can u give a simple example?
please its very urgent..........................
Contributor
4868 Points
851 Posts
May 17, 2012 06:08 AM|LINK
hi
Can you try this below example. You can use the Bulklcopy to do this
http://www.dotnetcurry.com/ShowArticle.aspx?ID=323
hope it helps,thanks.
May 17, 2012 06:18 AM|LINK
iam using 2005 sql server. so i can't use sqlbulk copy. can you give me any other idea. i want save atleast 3 records its enough for me.
please help me.
May 17, 2012 06:24 AM|LINK
You are passing the values from vb.net to sqlserver 2005 right? What is the values? is it in a datatable?
Can you post the saving part alone?
thanks,
May 17, 2012 06:44 AM|LINK
Please go thru the link again. I tried the same with SQL Server 2005 table and the SQL Server 2008. Its working fine.
May 17, 2012 07:06 AM|LINK
Hi
thank you so much................
SudhaRubini
Member
391 Points
383 Posts
Insertion process in vb.net
May 17, 2012 05:58 AM|LINK
Hi,
In a single table i want to save three records in at a time. with a single query. how i can do? can u give a simple example?
please its very urgent..........................
cninjas
Contributor
4868 Points
851 Posts
Re: Insertion process in vb.net
May 17, 2012 06:08 AM|LINK
hi
Can you try this below example. You can use the Bulklcopy to do this
http://www.dotnetcurry.com/ShowArticle.aspx?ID=323
hope it helps,thanks.
Niranjan
SudhaRubini
Member
391 Points
383 Posts
Re: Insertion process in vb.net
May 17, 2012 06:18 AM|LINK
hi
iam using 2005 sql server. so i can't use sqlbulk copy. can you give me any other idea. i want save atleast 3 records its enough for me.
please help me.
cninjas
Contributor
4868 Points
851 Posts
Re: Insertion process in vb.net
May 17, 2012 06:24 AM|LINK
hi
You are passing the values from vb.net to sqlserver 2005 right? What is the values? is it in a datatable?
Can you post the saving part alone?
thanks,
Niranjan
cninjas
Contributor
4868 Points
851 Posts
Re: Insertion process in vb.net
May 17, 2012 06:44 AM|LINK
hi
Please go thru the link again. I tried the same with SQL Server 2005 table and the SQL Server 2008. Its working fine.
thanks,
Niranjan
SudhaRubini
Member
391 Points
383 Posts
Re: Insertion process in vb.net
May 17, 2012 07:06 AM|LINK
Hi
thank you so much................