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

Search:

Type: Posts; User: raulbolanos

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Issues saving HTML with Content-Disposition

    Hi guys, I have some issues, saving a HTML content into Excel format. I just populate a StringBuilder and then display it into a WebControl Panel, juzt like this:


    resultados.Controls.Add(new...
  2. Update DATABASE using DataAdapter's update method

    Hi guys,

    I want to update this datatable into my DB but the table in the DB that I use, it doesn't use Primary Key and I really don't need it. Therefore I get this Exception error...
  3. Re: MySqlCommandBuilder SqlCommandBuilder Error

    My Query is something like this


    string queryString = "SELECT xValue, yValue, specType, s.specIndex FROM (verspec s INNER JOIN verspecdata sd on s.specIndex = sd.specIndex) WHERE (productNumber...
  4. MySqlCommandBuilder SqlCommandBuilder Error

    Hi Pr0's,

    I have a problem trying to implement the same example from this link:

    http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommandbuilder.aspx

    But instead of Sql I use...
  5. Re: Use MessageBox without using Form's libraries

    Yes, it works perfectly!

    Thank you very much.
  6. Use MessageBox without using Form's libraries

    Hi guys,

    I need show an exception with a MessageBox but it take place in one project which mustn't use Form libraries. Maybe something like this.



    public static void Main()
    {
    ...
  7. Replies
    2
    Views
    951

    Assigment operator

    Hi guys,

    I found this asignment operator "&=" and I don't know what it does means.

    Any idea?

    thank you.
  8. Select specific Rootpath in folderBrowserDialog1

    Hey guys,

    How I can open a specific Rootpath in folderBrowserDialog1 when it only accept SpecialFolder Enum.

    For example if I want to my Rootpath start from "C:\ProgramA\lib\v1.5\examples\".
    ...
  9. Replies
    4
    Views
    1,353

    Make default file association

    Hi guys,

    I am facing this trouble.

    I have associated some extension to my Application and they work good. The problem comes when I go to one of this files, right click on it, open with, select...
  10. Replies
    2
    Views
    1,225

    problem with tinyint when getValue

    Hello guys,

    Do you know why I get an error message when I try to get one value from a specific column when the datatype of this value is 'tinyint'?

    If I change it to 'int' I dont get any error....
  11. Replies
    3
    Views
    6,900

    Thread sleep with double

    Hello guys,

    I want to wait a certain time but it wont be always integer values, but decimals also.

    For example I want to wait half second and in my program it's used like 0.5.

    Do you have...
  12. Re: How to send an IF statement by a Transaction

    If I want to put that in a String, how you think it should be?



    int x = 23;
    string queryString = @"CASE WHEN (" + x + @" > 0)
    THEN UPDATE person SET...
  13. Re: How to send an IF statement by a Transaction

    Really? how is that possible? so if (x > 0) I should handle it like

    CASE x
    WHEN 0 then do nothing
    ELSE then DELETE from Person where index = 1
    END
  14. How to send an IF statement by a Transaction

    Hi guys,

    how can I send an IF statement by T-SQL?

    Lets suppose that I want to insert something, for example;



    int n_count = 5;
    string querytosend = @"if (" + n_count + " > 0)
  15. Replies
    6
    Views
    2,022

    Re: split a string over two lines

    You were right... I only need the '@' character.

    Thank you very much.
  16. Replies
    6
    Views
    2,022

    Re: split a string over two lines

    Oh, I see... thank you.
  17. Replies
    6
    Views
    2,022

    Re: split a string over two lines

    but for example I target the point which I want into the new line, afterwards if I simply press ENTER the string at the next line wont be red anymore and it wont belong anymore to the previous line....
  18. Replies
    6
    Views
    2,022

    split a string over two lines

    How I can split the following string in two or more lines?



    string test = "its something unpredictable but in the end is right. I hope you had the time of your life.";

    which set of buttons...
  19. Replies
    0
    Views
    792

    Problem sensind Transactions

    Hi guys,

    I want to send this transaction but I got an error.



    string cmdString = @"IF (5 > 0) SELECT dbIndex FROM VerCommonHeader WHERE productNumber = 'XyX' AND internalSerialNumber =...
  20. Replies
    1
    Views
    1,074

    Starting in Transact-Sql

    Hi guys,

    I have now several hours trying to find out how Transact-Sql works.. it doesn't seems too hard but the problem is that I can't find where I should write the code. I use SQLyog and when I...
  21. Replies
    1
    Views
    525

    Starting in Transact-Sql

    Hi guys,

    I have now several hours trying to find out how Transact-Sql works.. it doesn't seems too hard but the problem is that I can't find where I should write the code. I use SQLyog and when I...
  22. Replies
    3
    Views
    5,362

    Re: Change DateTime.Now format to ISO 8601

    solved
  23. Replies
    3
    Views
    5,362

    Re: Change DateTime.Now format to ISO 8601

    I found a way to do this



    DateTime lastTime = DateTime.Now;
    string x = lastTime.ToString("u").Replace("Z", "");


    but I need to do this in 1 step because I send this time by parameters, i,e:
  24. Replies
    3
    Views
    5,362

    Change DateTime.Now format to ISO 8601

    Hello guys,

    I get this time from DateTime.Now "6/12/2009 11:45:28 AM" and I need to convert it ISO 8601 which is the one that SQL accepts "2009-12-06 11:45:28".

    What can I do?
  25. Re: Table 'x' was not locked with LOCK TABLES

    By the way I have already restart the computer several times and this keep happening.
Results 1 to 25 of 58
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured