Recent content by madhugp

  1. M

    Reading the text file and calling from menu

    HI thanks for the suggestion , it is working now
  2. M

    Reading the text file and calling from menu

    HI Friends, 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) {...
  3. M

    Problem in calling crystal report using selection formula with dates

    Hi 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"...
  4. M

    Problem in updating the database table rows using the datagridview

    it is working now thanks for the suggestion regards madhu
  5. M

    Problem in updating the database table rows using the datagridview

    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...
  6. M

    text box validating event is not firing

    yes it is working now. thanks for the suggestion regards madhu
  7. M

    text box validating event is not firing

    my code is as follow private void textBox1_Validating(object sender, CancelEventArgs e) { MessageBox.Show("text box validating event"); MessageBox.Show(textBox1.Text); } I am entering some value in text box and press tab key , the...
  8. M

    Problem in using the database connection string mentioned in a text file

    Hi , thanks for your help. Now it is working after changing the text file as u suggested. regards Madhu
  9. M

    Problem in using the database connection string mentioned in a text file

    Dear friends, 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...
Top Bottom