Search results for query: *

  • Users: ashok.k
  • Content: Threads
  • Order by date
  1. A

    File is used by another process

    Hi, I get the below error while trying to access a file in .NET windows application. The process cannot access the file 'C:\path\test.XML' because it is being used by another process. It is a random occurence and I am not sure why this occurs. I want to check which process is using this...
  2. A

    Fetch rows from Multiple tables with same value in a column

    Hi, I get product details in a DataTable from a webservice that has 4 columns. RowId (unique), ProductId,SubProductId, Price I get a DataTable from webservice in batches. It can return only 5000 rows at a time. I pass Start RowId and End Row Id as parameters so that products within that...
  3. A

    Fetch rows that have same value in a column

    Hi, I have a datatable to store the User ids and Exam score details. Data table has four columns. Row Id (unique), UserId, Exam Id and Score. Same user can take the same exam multiple times and can have different scores in each attempt. I want to fetch rows that have the same user id and...
  4. A

    Password encryptionin dotnet

    Hi, In a .NET desktop application, passwords are mentioned in the ini file (passwords to connect to database ,access webservice etc) I do not want to mention the correct password in the ini file since they are deployed in various machines. Can I encrypt the password and then decrypt it in the...
  5. A

    Parse command line arguments with options

    Hi, In a .NET console application, I want to pass parameters with options like below. program.exe -c <config file> -t <type> -s <start date> -e <end date> If a console program is called like above, we need to get the individual values in the progam properly even if the order of the...
  6. A

    Global error logging method

    Hi I am working on a .NET 4.0 console application. I want to capture the error that occurs while running the application and write to a Log file. (Log_Datetime.txt) Log file has to be created for every day. How to check if log file for that day has already been created? If log file is not...
  7. A

    Delete or Modify a row in CSV file

    Hi I would like to fetch a few rows in a CSV file and update its contents. How to fetch a particular record in a CSV file? It has an unique id in every row. Can I record in a CSV file be updated directly? Or Should all the contents of a CSV file be read into a CSV reader or StreamReader...
  8. A

    Compare CSV files to get modified records

    Hi I am working on a .NET 4.0 desktop application. Application reads the CSV files daily and update the values in the Database. Every row in the CSV file has an unique user Id. The details of every user may or may not change daily. Application has to read the CSV and check if any of the...
  9. A

    Creating and Saving formulae

    Hi I am working a VB.NET 3.5 application. I want to create complex formula using the values shown on the screen and save in XML or Database. Eg: Formula1 = (Value1 * Value2 + Value3)/Value6 - Value5 Formula2 = If (Value1 > 1000) then (Value1 * Value2 + Value3)/Value6 - Value5 else...
  10. A

    Comparing DataTables for Mismatch

    Hi I am working on a .NET 2.0 windows application. I need to compare two datatable with same schema. The 2 DataTables will have around 1 lakh records. I want to compare each row in Table1 with Table2 and also all the columns in each row. I want to do the following 1. Get Row1 from Table1...
Back
Top