About 50 results
Open links in new tab
  1. how to create sqlconnection class file in C#

    Feb 11, 2014 · Answers 0 Sign in to vote Hi, An additional to Reed's reply, I have here a sample code on how to create a sql connection string class, where in I use a northwind database to load …

  2. How to execute a stored procedure from c#?

    Sep 12, 2014 · This example demonstrates how to call a SQL Server stored procedure in the database. static void GetSalesByCategory (string connectionString, string categoryName) { using …

  3. C# Function return string value - social.msdn.microsoft.com

    Oct 7, 2021 · Next, you use the SqlConnection object created above to create a 'SqlCommand', as shown below: SqlCommand cmd = new SqlCommand ( "select * from Customer where CustomerID …

  4. login application in C# - social.msdn.microsoft.com

    Jun 18, 2010 · I'm making a application in C#, where a user have to provide username and password to enter the application.In the login form, there are 2 textboxes and a login button. The user name and …

  5. Error Messge - social.msdn.microsoft.com

    Oct 7, 2021 · User669785281 posted SqlConnection connection = new SqlConnection ("data source=local; initial catalog=Northwind;uid=SqlServerUSername;pwd=PasswordSqlServer"); Marked …

  6. [C#] How to bind a boolean Value to a comboBox

    Nov 29, 2011 · A boolean should not be bound to a combo box (imho) . A combo box control is meant to be one item out of many. For booleans you should use the check box as this is moe natural for the …

  7. POPULATING LISTBOX USING IMAGES IN SQL DATABASE

    Aug 10, 2017 · I WANT TO POPULATE IMAGES IN SQL DATABASE IN LISTBOX IN WPF . PLEASE HELP. Tuesday, January 7, 2014 6:55 AM

  8. Create table if not exists - social.msdn.microsoft.com

    Dec 9, 2019 · [Creating a new table in SQL Server from ADO.NET DataTable] [Creating a SQL Server table from a C# datatable] Best Regards, Daniel Zhang MSDN Community Support

  9. How to Insert data into table using SqlBulkCopy in c#

    Oct 15, 2021 · In my table id is uniqueidentifier , so how to insert my data using below code.

  10. How to use ExecuteScalar? - social.msdn.microsoft.com

    Oct 7, 2021 · Object reference not set to an instance of an object.