C#.net

Profit and CommissionCalculation using C#.net

This tutorial will teach you Profit and Commission Calculation using C#.net.while calculating the commission from the profit include 1% commission. Paste the code inside the ok button private void button1_Click(object sender, EventArgs e) { double buyprice = double.Parse(txtBprice.Text); double sellprice = double.Parse(txtSprice.Text); //Profit double tot = sellprice – buyprice; txtProfit.Text = tot.ToString(); //Commission double comm […]

Profit and CommissionCalculation using C#.net Read More »

How to Search Records using C#.net

This tutorial will teach you how to make the Search Records using C#.net step by step. if you enter the Account id on the textbox relavent matching record will be displayed  on the datagridview. Establish the database connection SqlConnection con = new SqlConnection(“server=.;database=Bank; integrated security=true;”); Paste the code inside the find button SqlDataAdapter sh_adapter9; DataSet

How to Search Records using C#.net Read More »