Click here to Skip to main content
14,108,747 members
Rate this:
Please Sign up or sign in to vote.
See more:
hi to all.
i wanna show result of a insert query that is writed by user to user.
my host language is and my database is sql server.
how can i do it?

thanks for all readers.
NotPolitcallyCorrect 13-Jun-13 15:40pm
What sort of a "result" is it that you expect to get from an INSERT query?
Richard C Bishop 13-Jun-13 16:33pm
ASP.Net is not a language, it is a platform. You can choose C#, VB, C++, or F# as a language.
Christian Graus 13-Jun-13 23:07pm
ASP is not ASP.NET, they are different. If the client writes the insert query, that sounds pretty dangerous, how do you know it's not a delete query ? In any case, the only possible result is the number of rows added, which you get back from ExecuteScalar, so you can call that, then show it.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The link The SQL INSERT INTO Statement[^] will explain to you all the things.Just refer to this.

Regards.. :laugh:
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

hopefully this will help you:[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190518.1 | Last Updated 14 Jun 2013
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100