blah blah blah is here! blah blah » Close

0
votes
0 answers

SQL Server Backup strange behavior

Hi I'm using SQL Server 2008 R2 Express. In my application I support backup of database. This works perfect except from the fact that it always saves the file to computer that SQL Server is installed and not on the PC the application run ...

0
votes
1 answers

LINQ To SQL Rollback problem

Hi I'm using c#. I have create a stored procedure in my SQL Server 2005 db for deleting clients. The reason I used a stored procedure is because in order to delete a client I have to delete several other records from different tables tha ...

1
votes
4 answers

Reduce image size

Hi, I'm writing a c# application which will store images (jpeg, png, bmp) in db. The problem is the image size. I want to reduce the size (KB) without reducing image size (dimensions). I do not care about resolution since it's gonna be a ...

1
votes
3 answers

Texbox autocomplete

Hi, I have a question about winforms textbox. I'm using c#. I am trying to develop autocomplete function in my application using a textbox and I have a problem. I'm fetching data from database. In my database I have the following va ...

0
votes
1 answers

MVC help needed

Recently I started to use MVC pattern to my windows applications. I found it very helpful. But I found one drawback. The events response is much slower that before. For example before using MVC, if I clicked a button the code inside Click e ...

0
votes
1 answers

Update multiple tables in LINQtoSQL

Hi I want to perform an update query in the two tables below: ClientDetails --------------- ClientId (Primary key) ClientFirstName ClientLastName ClientEmploymentDetails ----------------------- ClientId (Foreign key related t ...

1
votes
2 answers

Obfuscation

Hi I have created a project and I want to obfuscate it. I used DotFuscator software that comes with Visual Studio 2010 but the only thing that is encoded are the member names. I would like to "encode" the source inside the meth ...

0
votes
3 answers

Null Element in a Generic List

Hi I want to create a class that will get a custom type generic list and will add an value of 0 in a specified element. To be more clear here is an example: I have the following: public class Clients { public int Clie ...

0
votes
1 answers

Extract substrings from a string

Hi I have a problem that I need some help I have the following string "I have to pay [amount] to Mr. [name] at [date]" I want to extract the fields that are enclosed withing the brackets [amount] [name] [date] and repl ...

0
votes
1 answers

Column Sorting

Hi I'm using C# VS.NET 2008. I have a treelist control which is loaded from a datatable. There is one column which contains price amount. My problem is that I want this column to include currencies which are loaded from the db. I have s ...

Feedback