id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
NET_Methods_Properties/3088_33_0.txt | Name | |
NET_Methods_Properties/3088_1_0.txt | ## Navigation Menu | |
NET_Methods_Properties/87488_9_0.txt |  Dec 8, 2012 at 3:11am UTC | |
NET_Methods_Properties/connectornettutorial_46_0.txt | [ Working with Partial Trust / Medium Trust ](connector-net-medium-trust.html) | |
NET_Methods_Properties/3088_108_0.txt | cmd = new NpgsqlCommand("SELECT guild_id FROM guild_configs WHERE guild_id=@guildID;", conn);
var param = cmd.Parameters.Add("guildID", NpgsqlTypes.NpgsqlDbType.Text);
cmd.Prepare(); | |
NET_Methods_Properties/3088_5_0.txt | * Product | |
NET_Methods_Properties/connectornettutorial_4_0.txt | * [ MySQL.com ](https://www.mysql.com/)
* [ Downloads ](https://www.mysql.com/downloads/)
* [ Documentation ](/doc/)
* [ Developer Zone ](/) | |
NET_Methods_Properties/3088_56_0.txt | # ExecuteNonQuery freezes with no output in DEBUG output (Possibly due to
syntax error?) #3088 | |
NET_Methods_Properties/3088_24_0.txt | Search | |
NET_Methods_Properties/NET_Methods_1_11.txt | users from executing a command
multiple times concurrently, and how you must make sure that the form does not
close before the callback procedure is called.
To set up this example, create a new Windows application. Put a [ Button
](system.windows.forms.button?view=dotnet-plat-ext-8.0) control, a [
DataGridView ](syst... | |
NET_Methods_Properties/connectornettutorial_80_0.txt | * [ The MySqlCommand Object ](connector-net-tutorials-sql-command.html) | |
NET_Methods_Properties/connectornettutorial_124_0.txt | [ Related Documentation ]() | |
NET_Methods_Properties/3088_76_0.txt | The text was updated successfully, but these errors were encountered: | |
NET_Methods_Properties/SolutionExecuteNonQu_92_0.txt | Layout: [ fixed ](/Articles/512394/Solution-ExecuteNonQuery-Always-Returning-
When-Cal?PageFlow=FixedWidth "Fixed width layout") | [ fluid
](/Articles/512394/Solution-ExecuteNonQuery-Always-Returning-When-
Cal?PageFlow=Fluid "Fluid layout") | |
NET_Methods_Properties/SolutionExecuteNonQu_47_0.txt | ## License | |
NET_Methods_Properties/connectornettutorial_142_0.txt | conn.Close();
Console.WriteLine("Done.");
}
} | |
NET_Methods_Properties/NET_Methods_1_0.txt | Skip to main content
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security
updates, and technical support.
[ Download Microsoft Edge ](https://go.microsoft.com/fwlink/p/?LinkID=2092881
) [ More info about Internet Explorer and Microsoft Edge
](https://learn... | |
NET_Methods_Properties/SolutionExecuteNonQu_28_0.txt |  | |
NET_Methods_Properties/3088_198_0.txt | [  ](/roji)
[ 
](/YohDeadfall) [

](/OoLunar) | |
NET_Methods_Properties/NET_Methods_3_7.txt | cuting)
{
MessageBox.Show(this, "Cannot close the form until " +
"the pending asynchronous command has completed. Please wait...");
e.Cancel = true;
}
}
private void button1_Click(object sender, ... | |
NET_Methods_Properties/connectornettutorial_151_0.txt | The query is constructed, the ` MySqlCommand ` object created and the `
ExecuteNonQuery ` method called on the ` MySqlCommand ` object. You can access
your MySQL database with **mysql** and verify that the update was carried out
correctly. | |
NET_Methods_Properties/3088_10_0.txt | For | |
NET_Methods_Properties/3088_94_0.txt | edited | |
NET_Methods_Properties/connectornettutorial_91_0.txt | * [ Tutorial: Data Binding in ASP.NET Using LINQ on Entities ](connector-net-tutorials-entity-framework-databinding-linq-entities.html) | |
NET_Methods_Properties/3088_42_0.txt | * [ Notifications ](/login?return_to=%2Fnpgsql%2Fnpgsql)
* [ Fork 816 ](/login?return_to=%2Fnpgsql%2Fnpgsql)
* [ Star 3.2k ](/login?return_to=%2Fnpgsql%2Fnpgsql) | |
NET_Methods_Properties/3088_87_0.txt | All reactions | |
NET_Methods_Properties/connectornettutorial_25_0.txt | * [ Installing Connector/NET from Source ](connector-net-installation-source.html) | |
NET_Methods_Properties/SolutionExecuteNonQu_55_0.txt | Love to debug problems and solve them. I love writing articles on my website
in my spare time. Please visit my Website for more details and subscribe to
get technology related tips/tricks. #SOreadytohelp | |
NET_Methods_Properties/3088_200_0.txt | [ ](https://github.com "GitHub") © 2024 GitHub, Inc. | |
NET_Methods_Properties/87488_18_0.txt | The line 15 in my code is the cmd.ExecuteNonQuery() | |
NET_Methods_Properties/connectornettutorial_76_0.txt | [ Connector/NET Tutorials ](connector-net-tutorials.html) | |
NET_Methods_Properties/SolutionExecuteNonQu_58_0.txt | ## Comments and Discussions | |
NET_Methods_Properties/3088_177_0.txt | Author | |
NET_Methods_Properties/connectornettutorial_29_0.txt | * [ Managing a Connection Pool in Connector/NET ](connector-net-connections-pooling.html) | |
NET_Methods_Properties/3088_190_0.txt | None yet | |
NET_Methods_Properties/connectornettutorial_28_0.txt | * [ Creating a Connector/NET Connection String ](connector-net-connections-string.html) | |
NET_Methods_Properties/SolutionExecuteNonQu_50_0.txt | Written By | |
NET_Methods_Properties/3088_39_0.txt | You signed in with another tab or window. [ Reload ]() to refresh your
session. You signed out in another tab or window. [ Reload ]() to refresh
your session. You switched accounts on another tab or window. [ Reload ]() to
refresh your session. Dismiss alert | |
NET_Methods_Properties/NET_Methods_0_7.txt | perty
// of the IAsyncResult parameter.
SqlCommand command = (SqlCommand)result.AsyncState;
int rowCount = command.EndExecuteNonQuery(result);
string rowText = " rows affected.";
if (rowCount == 1)
{
... | |
NET_Methods_Properties/SolutionExecuteNonQu_17_0.txt | Technical Blog | |
NET_Methods_Properties/3088_194_0.txt | No milestone | |
NET_Methods_Properties/3088_199_0.txt | ## Footer | |
NET_Methods_Properties/3088_72_0.txt | Other details about my project setup: I'm putting the Parameters in a
dictionary and setting the value by key. I believe I'm doing this directly,
however feel free to check yourselves:
Preparing the statement: [
https://github.com/OoLunar/Tomoe/blob/fbbd8ae84cce43d98c5e0b553f518698bba446a6/src/Utils/Cache/PreparedState... | |
NET_Methods_Properties/connectornettutorial_48_0.txt | * [ Configuring Partial Trust with Connector/NET Library Installed in GAC ](connector-net-medium-trust-gac.html) | |
NET_Methods_Properties/SolutionExecuteNonQu_57_0.txt | [

](https://pubads.g.doubleclick.net/gampad/jump?iu=/6839/lqm.codeproject.site/Programming-
LanguagesVisual-Basic&sz=728x90&c=720157) | |
NET_Methods_Properties/SolutionExecuteNonQu_40_0.txt | When you generate a Stored Procedure in SSMS using the “New Stored Procedure”
link, SQL generates a template for you. Below is a modified version of the
same being used in our code above: | |
NET_Methods_Properties/connectornettutorial_101_0.txt | * [ Entity Framework 6 Support ](connector-net-entityframework60.html) | |
NET_Methods_Properties/connectornettutorial_15_0.txt | * [ Preface and Legal Notices ](preface.html) | |
NET_Methods_Properties/3088_160_0.txt | **[ OoLunar ](/OoLunar) ** commented Jul 28, 2020 • | |
NET_Methods_Properties/3088_21_0.txt | * [ Pricing ](https://github.com/pricing) | |
NET_Methods_Properties/NET_Methods_2_11.txt | xceptions in the callback procedure.
If you use [ ExecuteReader
](system.data.sqlclient.sqlcommand.executereader?view=dotnet-plat-ext-8.0) or
[ BeginExecuteReader
](system.data.sqlclient.sqlcommand.beginexecutereader?view=dotnet-plat-
ext-8.0) to access XML data, SQL Server will return any XML results greater
than 2,0... | |
NET_Methods_Properties/3088_93_0.txt | **[ OoLunar ](/OoLunar) ** commented Jul 28, 2020 • | |
NET_Methods_Properties/SolutionExecuteNonQu_25_0.txt | Rate me: | |
NET_Methods_Properties/connectornettutorial_18_0.txt | * [ ]() | |
NET_Methods_Properties/SolutionExecuteNonQu_13_0.txt | |
---|--- | |
NET_Methods_Properties/SolutionExecuteNonQu_93_0.txt | Posted 19 Dec 2012 | |
NET_Methods_Properties/connectornettutorial_5_0.txt | [ ](http://www.facebook.com/mysql "Join us on Facebook") [
](https://twitter.com/mysql "Follow us on Twitter") [
](https://www.linkedin.com/company/mysql "Follow us on LinkedIn") [
](http://www.youtube.com/mysqlchannel "Visit our YouTube channel") | |
NET_Methods_Properties/connectornettutorial_70_0.txt | * [ Creating the Report ](connector-net-programming-crystal-creating.html) | |
NET_Methods_Properties/3088_106_0.txt | static void Main(string[] args)
{
using var conn = new NpgsqlConnection(@"Host=localhost;Username=test;Password=test");
conn.Open(); | |
NET_Methods_Properties/connectornettutorial_69_0.txt | * [ Creating a Data Source ](connector-net-programming-crystal-source.html) | |
NET_Methods_Properties/3088_124_0.txt | All reactions | |
NET_Methods_Properties/3088_41_0.txt | [ npgsql ](/npgsql) / **[ npgsql ](/npgsql/npgsql) ** Public | |
NET_Methods_Properties/connectornettutorial_162_0.txt | [ MySQL Connector/NET Release Notes ](/doc/relnotes/connector-net/en/) | |
NET_Methods_Properties/3088_34_0.txt | Query | |
NET_Methods_Properties/3088_70_0.txt |
### Further technical details | |
NET_Methods_Properties/87488_4_0.txt | ### **[ Forum ](/forum/) ** | |
NET_Methods_Properties/connectornettutorial_41_0.txt | [ Handling BLOB Data With Connector/NET ](connector-net-programming-blob.html) | |
NET_Methods_Properties/connectornettutorial_165_0.txt | [ ]( "Expand Footer") | |
NET_Methods_Properties/connectornettutorial_66_0.txt | * [ Building Custom Listeners ](connector-net-programming-tracing-mysql-custom-listeners.html) | |
NET_Methods_Properties/3088_164_0.txt | All reactions | |
NET_Methods_Properties/connectornettutorial_79_0.txt | * [ The MySqlConnection Object ](connector-net-tutorials-connection.html) | |
NET_Methods_Properties/3088_182_0.txt | 👍 3 YohDeadfall, roji, and OoLunar reacted with thumbs up emoji | |
NET_Methods_Properties/3088_117_0.txt | **[ OoLunar ](/OoLunar) ** commented Jul 28, 2020 • | |
NET_Methods_Properties/SolutionExecuteNonQu_94_0.txt | Article Copyright 2012 by Nitesh Kejriwal
Everything else Copyright © [ CodeProject ](mailto:webmaster@codeproject.com)
, 1999-2024 | |
NET_Methods_Properties/connectornettutorial_119_0.txt | * [ ]() | |
NET_Methods_Properties/connectornettutorial_118_0.txt | * [ MySql.Web Namespace ](connector-net-ref-web.html) | |
NET_Methods_Properties/NET_Methods_0_9.txt | ' DisplayResults(rowText)
' Instead, you must call the procedure from the form's thread.
' One simple way to accomplish this is to call the Invoke
' method of the form, which calls the delegate you supply
' from the form's thread.
Dim... | |
NET_Methods_Properties/connectornettutorial_84_0.txt | * [ ]() | |
NET_Methods_Properties/3088_97_0.txt | --- | |
NET_Methods_Properties/3088_111_0.txt | All reactions | |
NET_Methods_Properties/NET_Methods_2_7.txt | cuting)
{
MessageBox.Show(this, "Cannot close the form until " +
"the pending asynchronous command has completed. Please wait...");
e.Cancel = true;
}
}
private void button1_Click(object sender, ... | |
NET_Methods_Properties/3088_110_0.txt | --- | |
NET_Methods_Properties/87488_6_0.txt | * [ Forum ](/forum/)
* [ Windows Programming ](/forum/windows/)
* Syntax error in INSERT INTO statement (0 | |
NET_Methods_Properties/3088_151_0.txt | **[ YohDeadfall ](/YohDeadfall) ** commented Jul 28, 2020 | |
NET_Methods_Properties/3088_202_0.txt | * [ Terms ](https://docs.github.com/site-policy/github-terms/github-terms-of-service)
* [ Privacy ](https://docs.github.com/site-policy/privacy-policies/github-privacy-statement)
* [ Security ](https://github.com/security)
* [ Status ](https://www.githubstatus.com/)
* [ Docs ](https://docs.github.com/)
* [ Contact ](ht... | |
NET_Methods_Properties/3088_45_0.txt | * [ Code ](/npgsql/npgsql)
* [ Issues ](/npgsql/npgsql/issues)
* [ Pull requests ](/npgsql/npgsql/pulls)
* [ Actions ](/npgsql/npgsql/actions)
* [ Security ](/npgsql/npgsql/security)
* [ Insights ](/npgsql/npgsql/pulse) | |
NET_Methods_Properties/SolutionExecuteNonQu_30_0.txt |  | |
NET_Methods_Properties/connectornettutorial_122_0.txt | * [ How to Report Connector/NET Problems or Bugs ](connector-net-support-bug-report.html) | |
NET_Methods_Properties/3088_184_0.txt | * 👍 3 reactions | |
NET_Methods_Properties/connectornettutorial_103_0.txt | [ Entity Framework Core Support ](connector-net-entityframework-core.html) | |
NET_Methods_Properties/connectornettutorial_130_0.txt | ### 6.1.2 The MySqlCommand Object | |
NET_Methods_Properties/3088_157_0.txt | Copy link | |
NET_Methods_Properties/connectornettutorial_6_0.txt | [ Developer Zone ](/) [ Downloads ](https://www.mysql.com/downloads/) [
MySQL.com ](https://www.mysql.com/) | |
NET_Methods_Properties/3088_36_0.txt | Cancel Create saved search | |
NET_Methods_Properties/3088_144_0.txt | All reactions | |
NET_Methods_Properties/SolutionExecuteNonQu_79_0.txt | ---
[ Sign in
](https://www.codeproject.com/script/Membership/LogOn.aspx?rp=/Articles/512394/Solution-
ExecuteNonQuery-Always-Returning-When-Cal) · [ View Thread
](/Articles/512394/Solution-ExecuteNonQuery-Always-Returning-When-
Cal?fid=1822968&df=90&mpp=25&sort=Position&spc=Relaxed&tid=4467864
"View Thread") | [ ![]... | |
NET_Methods_Properties/SolutionExecuteNonQu_34_0.txt | 19 Dec 2012 [ CPOL ](http://www.codeproject.com/info/cpol10.aspx "Licence")
 47.3K
 6
 5 | |
NET_Methods_Properties/connectornettutorial_82_0.txt | * [ Working with Parameters ](connector-net-tutorials-parameters.html) | |
NET_Methods_Properties/connectornettutorial_24_0.txt | * [ Installing Connector/NET on Unix with Mono ](connector-net-installation-unix.html) | |
Python_pandas_functions_with_style/DataFrame_105_1.txt | html)
* [ pandas.DataFrame.floordiv ](pandas.DataFrame.floordiv.html)
* [ pandas.DataFrame.mod ](pandas.DataFrame.mod.html)
* [ pandas.DataFrame.pow ](pandas.DataFrame.pow.html)
* [ pandas.DataFrame.dot ](pandas.DataFrame.dot.html)
* [ pandas.DataFrame.radd ](pandas.DataFrame.radd.html)
* [ pand... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.