Hi, There is no difference in terms of functionality. In fact, both do this: return this.Add(new SqlParameter(parameterName, value)); The...
Hi, You can check this Add the following code before Public Class Form1 Imports MySql.Data.MySqlClient Then add the following declaration below...
Hi, In a gallery site I need to show photos. I am having a div, wrapper. It contains an image tag. The picture should expand and fill the parent...
Hi, You can check this protected void OnSelectedIndexChanged(object sender, EventArgs e) { //Accessing BoundField Column string name =...
Hi, You can loop through the checkbox as follow foreach (var control in this.Controls) { if (control is CheckBox)...
Hi, You can check this private void btnDelete_Click(object sender, EventArgs e) { foreach (DataGridViewRow item in...
Hi, When a value type is converted to object type, it is called boxing object obj; obj = 100; // this is boxing Thanks
Hi, You can check this private void button1_Click(object sender, System.EventArgs e) { CurrencyManager cm =...
Hi, You can check this using System.Data; using System.Data.SqlClient; public partial class Form1 : Form { public Form1() {...
Hi, You can loop through DataGridView using Rows property as below foreach (DataGridViewRow r in datagridviews.Rows) { currQty +=...
Hi, You can check this Header header = ...; Column column1 = header["Column1"]; Column column2 = header["Column2"]; column1.Grouped = true;...
Hi, you can check this Thanks
HI, You can check this To Update CREATE PROCEDURE usp_UpdateEmployee @flag bit output,-- return 0 for fail,1 for success @EmpID int, @Salary...
Hi, You can use following query Thanks
Hi, You can use the following to convert the date format Thnaks
Hi, You can check this Thanks
Hi, You can try any of the two ALTER TABLE CUSTOMER ALTER COLUMN CUSTOMER_ID TINYINT; or ALTER TABLE CUSTOMER MODIFY COLUMN CUSTOMER_ID...
Hi, TRUNCATE will be executed faster than a DELETE if you want to quickly delete all rows from a table. Thanks
Hi, You can check this <script language="javascript"> function change_background_color(c){...
Hi, You can check this <script> $( function() { $( "#dialog" ).dialog({ autoOpen: false, show: { effect: "blind",...
Separate names with a comma.