i think as per ur code insert statement should be in the same line or separated by '+' to append the query.
On Fri, Sep 23, 2011 at 7:14 PM, Santhosh Kumar <[email protected]>wrote: > Hey Praveen, > You should have post the line whr yo r getting the error.. nd some thing > really important in connection is connection string check it. what you gave > it.. and ping it.. thro' console if its working properly then go with this > code.. > > With Regards, > Never Say No, > Santhosh V.Kumar > +919840411410 > http://santhoshvkumar.110mb.com/ > "I am because we are" > > > > On Thu, Sep 22, 2011 at 4:38 PM, praveen singh <[email protected]>wrote: > >> *yntax error in INSERT INTO statement. at >> System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult >> hr) at System.Data.OleDb.OleDb* > > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET <http://vb.net/>, C# .NET, > ADO.NET<http://ado.net/>, > ASP.NET <http://asp.net/>, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
