I am trying to call the windows forms through menu strip.
In menu strip items i have written the following code
which reads a text file "rep_path.txt".
the text file contains only line d:\\reports\\
private void SALEPRODToolStripMenuItem_Click(object sender, EventArgs e)
I am trying to call crystal report from c# using a button click.
In the form I have two datetimepicker controls named DT1 , DT2.
I have used the following code in button.
crpt is the crystal report conrtrol. pur_ord_vw is the view in database.
UserId = "sa";
Password = "gms123"...
plz give solution for the problem with with following code written in a button.
the purpose is updating the database table with the contents of each row in the datagridview control.
the problem is only one row is getting updated in database table even i updated many rows.
con = new...
my code is as follow
private void textBox1_Validating(object sender, CancelEventArgs e)
MessageBox.Show("text box validating event");
I am entering some value in text box and press tab key , the...
plz help to solve my problem.
I want to place the database connection string in a text file
and i want to read the text from windows form of c#.
the connection string in a text file named "server.txt" is as follows
Data Source=MADHU\\SQLEXPRESS;Initial Catalog=GSTNDB;User...