Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Marek Grzenkowicz

@Marek Grzenkowicz
About
Posts
245
Topics
19
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to set the timer for SSIS package
    M Marek Grzenkowicz

    Maybe you could use this trick[^]. But the idea of an SSIS package executed every 10 seconds keeps bugging me. What kind of package is it? What does it do? Does it take less to 10 seconds to execute it?

    Database sql-server database sysadmin tools help

  • How to set the timer for SSIS package
    M Marek Grzenkowicz

    What do you mean? Do you want this package to execute every 10 seconds?

    Database sql-server database sysadmin tools help

  • error connecting to remote sql server
    M Marek Grzenkowicz

    karthi84 wrote:

    please note that i am connecting to sql server 2008 on a server

    Are you positive about this? I am asking because it seems weird to me that the error message mentions SQL Server 2005 (When connecting to SQL Server 2005 ...) when you are connecting to SQL Server 2008.

    Database database sql-server sysadmin help

  • Please guide in recording sound in c#
    M Marek Grzenkowicz

    Check this article[^] and this comment[^]. I cannot make it work, but maybe it will point you in the right direction.

    C# help tutorial csharp json question

  • SMS Service
    M Marek Grzenkowicz

    Getting the hardware is pretty easy - all one needs a mobile and a way to connect it to the computer (cable, IrDA, Bluetooth). Then it's only a matter of working out how to connect to the phone and make it send an SMS.

    C# csharp question

  • error connecting to remote sql server
    M Marek Grzenkowicz

    Check this link[^]. Is there any other error number (apart from 40)?

    Database database sql-server sysadmin help

  • distributed computing??
    M Marek Grzenkowicz

    Camilo Sánchez Herrera wrote:

    this is the N property of my class, and the method isMagicSquare returns false if there is a single row or column wich sum is different from N

    Sorry, I didn't notice that. I cannot understand how you generate the squares to check, but, if you're not already doing it, maybe you could check every generated row and only generate a next one if the sum of the previous one equals N. BTW, is it a school/university assignment?

    C# csharp question linq graphics code-review

  • app.config
    M Marek Grzenkowicz

    You can consider something like this (change DEV_COMPUTER and TEST_COMPUTER to match the names of your computers):

    <appSettings>
    <add key="ConnectionString_DEV_COMPUTER" value="..." />
    <add key="ConnectionString_TEST_COMPUTER" value="..." />
    </appSettings>

    ConfigurationManager.AppSettings("ConnectionString_" + Environment.MachineName).ToString

    Visual Basic database csharp asp-net sql-server

  • app.config
    M Marek Grzenkowicz

    Maybe this has something to do with this:

    [ObsoleteAttribute("This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings")]

    I know that obsolete doesn't mean it doesn't work but try to use the other method.

    C# xml question discussion announcement workspace

  • distributed computing??
    M Marek Grzenkowicz

    You calculate the sums of all rows, columns and diagonals to check if a given array is a magic square, right? You don't have to do it - you can: (1) stop the calculations right after you get two different sums (two sums at minimum are needed to determine that a given array is not a magic square), (2) or even better, use the formula SUM = n*(n^2+1)/2 and calculate the sums only to the point when you get one that does not equal SUM (even one sum may prove that a given array is not a magic square). This should speed up things, although I don't know if this will be enough. Please use the code block tags when pasting code into your message. And consider pasting only the important pieces.

    C# csharp question linq graphics code-review

  • Primary Key checking
    M Marek Grzenkowicz

    Try: rs.Fields("CategoryName")**.Value** = txtcat.Text.

    Visual Basic csharp help database visual-studio announcement

  • Problem in Query
    M Marek Grzenkowicz

    Why exactly do you need something like this? It looks weird. You want do mix pieces of different information in the same column.

    Database database help

  • how i set Table name and Column name dynmicalyy in Ms sql sp
    M Marek Grzenkowicz

    You will have to build a SELECT statement dynamically and then execute it using sp_executesql[^]. But as far as I know it's not very good performancewise. Google for "dynamic SQL" and read about it. How many different values of @Tbl_col_name will you be using? Wouldn't it be easier to create a separate SP for each case?

    Database csharp sharepoint database sql-server

  • Magic & SQL server
    M Marek Grzenkowicz

    Maybe I am the only one who doesn't know it, but what is 'Magic'?

    Database database question sql-server sysadmin

  • Question
    M Marek Grzenkowicz

    And what does it have to do with 'SQL / ADO / ADO.NET'?

    Database question javascript help

  • an article does not render properly
    M Marek Grzenkowicz

    This article[^] looks weird[^] on my computer (Windows XP + Firefox 3 beta; I also tried to use IE7).

    Site Bugs / Suggestions com beta-testing

  • Need help on query
    M Marek Grzenkowicz

    If you are using SQL Server 2005, you should avoid subselects, because their performance is poor. I'd rather use:

    SELECT
    NAME
    , MIN(REG)
    FROM dbo.MYTABLE
    GROUP BY
    NAME

    Database database help question

  • Knowing the contents of a file..
    M Marek Grzenkowicz

    ptr2void wrote:

    Didnt quite get this line.. What might break??

    Imagine that you installed two different applications that use the same control (e.g. Excellent.Grid.dll). Your app will find the Excellent.Grid.dll file in two different directories (e.g. C:\Program Files\Excellent Calendar and C:\Program Files\Excellent Cookbook), will delete one copy since they are exactly the same and... one application will stop working.

    C# question csharp tutorial com algorithms

  • Missing table in SQL Server
    M Marek Grzenkowicz

    Is it SQL Server 2005? If it is, you can try this[^].

    Database database sql-server sysadmin question

  • Connectivity with SQl database
    M Marek Grzenkowicz

    What have you done so far? What exactly is the problem? Can't you read an XML file or connect to a database or execute a stored procedure?

    Database database tutorial xml
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups