CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: gurupot

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    607

    Re: Add hyperlink based on the user

    Sorry I am really new to ASP .Net. I am not sure where I can add the if then statements. I am in the site.master page and here is what I have so far


    <ItemTemplate>
    <asp:HyperLink...
  2. Replies
    2
    Views
    607

    Add hyperlink based on the user

    Hi,

    I have a very basic question. I have a single column datalist on my webpage which is a hyperlink and takes you to another page when clicked. I want to make this column a hyperlink based on the...
  3. Replies
    2
    Views
    1,398

    Re: FilesystemWatcher and thread count

    But if the way I process the files is wrong, shouldn't I be getting the same issue on all my machines. It runs fine on all my dev machines and production sites. It has been running fine for about 2...
  4. Replies
    2
    Views
    1,398

    FilesystemWatcher and thread count

    Hi,

    I have a strange problem. My c$ .net application has a filesystemwatcher that watches a specific folder and whenever there is a new file it processes it.
    When I run this app on my test...
  5. Replies
    1
    Views
    775

    c++ and database errors

    In my c++ program I connect to the database and execute some SQL queries. Most of my statements execute fine but once in a while I get errors with my insert statements. I am printing out the error...
  6. Replies
    15
    Views
    3,172

    Re: c# program and ODBC command

    Suprisingly if I use SQL connection it works fine. Not sure what I have been missing with the ODBCConnection.

    I have my DSN name as configurable and SQLConnection uses the server name and not the...
  7. Replies
    15
    Views
    3,172

    Re: c# program and ODBC command

    That did not make any difference.
    Actually I have some print statements in my SP. Can I write those lines to a text file so I can see it after I run the SP from my program to see what was...
  8. Replies
    15
    Views
    3,172

    Re: c# program and ODBC command

    Here is my code.



    try
    {
    OdbcCommand m_cmdStoredProc = new OdbcCommand();
    m_cmdStoredProc.CommandType = CommandType.StoredProcedure;
    m_cmdStoredProc.CommandText =...
  9. Replies
    15
    Views
    3,172

    Re: c# program and ODBC command

    None. I am just using the SP name to call it with no parameters.
  10. Replies
    15
    Views
    3,172

    Re: c# program and ODBC command

    I have been doing it like that but the problem is the SP did not seem to execute completely. Basically I have a table called PIN with 23 rows in there.
    My SP procedure updates a column in this pin...
  11. Replies
    15
    Views
    3,172

    Re: c# program and ODBC command

    I had been using System.Data.Odbc but not using System.Data.
    Adding it fixed the compiler issue.

    However I see another problem now. Here is my code.

    OdbcCommand m_cmdStoredProc = new...
  12. Replies
    15
    Views
    3,172

    Re: c# program and ODBC command

    I am using 1.1. .Net version and SQL server.
  13. Replies
    15
    Views
    3,172

    c# program and ODBC command

    Hi,

    I am trying to call a stored procedure within a C# program. I get an
    error "The type or namespace name 'CommandType' could not be found (are you missing a using directive or an assembly...
  14. Thread: SQL statement

    by gurupot
    Replies
    3
    Views
    799

    SQL statement

    Hi,

    I have a table with a date column which has data in this format 2003-01-31 09:03:05.303. I would like to extract the date from this column and format it to 20030131 format. Can anyone help me...
  15. Thread: Insert errors

    by gurupot
    Replies
    5
    Views
    1,177

    Re: Insert errors

    Here are the version details of both the machines if that helps.
    DOES NOT WORK ON
    Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
    Dec 17 2002 14:22:05
    Copyright (c) 1988-2003 Microsoft...
  16. Thread: Insert errors

    by gurupot
    Replies
    5
    Views
    1,177

    Re: Insert errors

    I am using SQL 8.0 on both the machines.
  17. Thread: Insert errors

    by gurupot
    Replies
    5
    Views
    1,177

    Insert errors

    Hi,

    I have a basic insert statement like this,
    INSERT INTO TRANS ( pin , date , time , type , amount , descr , userid ) VALUES ( '111111' , '20070425' , '230904' , '1Œ' , 3100 , '' , 'TEST' ) ...
  18. Replies
    5
    Views
    917

    Re: Output the Data from a select to a file

    Oops. It removed the spaces in the output. Please ignore it.
  19. Replies
    5
    Views
    917

    Re: Output the Data from a select to a file

    That was helpful. Thanks.
    I was wondering if I could specify the output format. For example if my database table has fields like fname, lname, DOB. I would like it to output the data as 15 chars of...
  20. Replies
    5
    Views
    917

    Re: Output the Data from a select to a file

    Database is SQL server.
  21. Replies
    5
    Views
    917

    Output the Data from a select to a file

    Hi,

    I want to write a script which executes a select statement and outputs the data to file in the format I specify. What would be the easiest way to accomplish this.

    Thanks. :rolleyes:
  22. Replies
    3
    Views
    4,325

    Re: ADO error 0x80040e37

    There might be around 24 users connected during a stress test and it runs fine for 2-3 hours. Is there any way to check how many connections are being made to the datasource.
    Where do we set the...
  23. Replies
    3
    Views
    4,325

    ADO error 0x80040e37

    I have a C++ program that accesses SQL database using ADO.
    Everything runs fine on the manual test but when I do a stress test after running for while I get the "out of database connections" in my...
  24. Replies
    4
    Views
    849

    conversion from int to char

    Hi,

    I am trying to write to a binary file and while I am setting the values I have to convert an int to a char using
    rec.cStopReason = (char) m_nStopCode; where the defnitions are as follows. ...
  25. Thread: ADO version

    by gurupot
    Replies
    1
    Views
    1,788

    ADO version

    Hi,

    I use ADO to execute some SQL statements in my C++ code. Our test machines are windows NT. One of the NT machines is not starting our application and the error I see in the log file is Error =...
Results 1 to 25 of 107
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured