Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by nguyentaiuyenchi

  1. nguyentaiuyenchi

    How can I change the ForeColor of DateTimePicker

    Hello all, I am using the DataTimePicker control for my application. However I cannot change the ForeColor? Could you please tell me how to solve this problem? PS. I got the same problem with BackColor property but it was solve at http://www.tek-tips.com/viewthread.cfm?qid=960474. So far...
  2. nguyentaiuyenchi

    Get trouble when binding data to combobox

    - I have a class, it call 'UserManager'. The properties UserDataSourse is presented as below: /// <summary> /// /// </summary> public DataSet UserDataSourse { get { DataSet dataset; dataset=mLibraryItem.Copy(); return dataset; } } mLibraryItem is a dataset that store...
  3. nguyentaiuyenchi

    Menu Opening Form

    Try with the code as bellow: private void Form1_Load(object sender, System.EventArgs e) { CreateMyMenu(); } public void CreateMyMenu() { // Create a main menu object. MainMenu mainMenu1 = new MainMenu(); // Create empty menu item objects. MenuItem...
  4. nguyentaiuyenchi

    How to save data from dataTable

    ... and after that, how to refresh this table? I dispose of this table and reload but it seem no work. Cheers, Uyen Chi Software developer
  5. nguyentaiuyenchi

    How to save data from dataTable

    Hi all, I built dataTable by fill method. That mean, the data is disconnected with datasource. After that, I perform add new, update, delete rows..... Please show me the way to save to datasource? Thank in advance. Uyen Chi Software developer
  6. nguyentaiuyenchi

    Change image by MouseHover Event

    - I built a custom control for command button like XP style. - I want to change the image when mouse hover on it. - The code is below: --------------------------------------------- ... private enum MouseState {defaultState,disableState,hoverState,normalState,pressedState} private void...
  7. nguyentaiuyenchi

    How to transfer data from local server to internet server?

    Hi ChainsawJoe, That's a good idea, I heard replication function but I have never done. Please showe me the way to do that? Cheer, Uyen Chi Software developer
  8. nguyentaiuyenchi

    How to transfer data from local server to internet server?

    Hi Terry, Thank you for your answer. However I have no privilege to copy database file to thie internet server. I only have username and password to access database via Enterprise Manager:) Therefore I am trying to export data to INSERT INTO statement and I hope anyone have other solution for...
  9. nguyentaiuyenchi

    Create a parametised Stored Proc?

    Hi I don't know Sybase, however if it is similar with SQL, I think you should change the code as follows: CREATE PROC TruncateTables (@TableName varchar(35)) AS DECLARE @strSql varchar(500) SET @strSql='TRUNCATE TABLE ' + @TableName EXEC @strSql RETURN I hope it is useful for you...
  10. nguyentaiuyenchi

    How to transfer data from local server to internet server?

    - I am performing a live testing for my web application with SQL database. Please show me the way to transfer data from local server to internet server. Thank in advance, Uyen Chi Uyen Chi Software developer
  11. nguyentaiuyenchi

    DECLARE CURSOR

    Hi all, I have codes as follows: SET @strSql='SELECT salaryDate,workingHourID FROM ATC_SALARYSTATUS WHERE staffid='+ ltrim(str(@staffID)) + ' AND SalaryDate >= ''' + CONVERT(varchar,@date_min,101) + ''' AND SalaryDate <=''' + CONVERT(varchar,@date_max,101) + '''' EXECUTE ('DECLARE...
  12. nguyentaiuyenchi

    Trigger count records

    I am not really know what do you want, but I think you need raising one action when number of records greater than 2. It will change when you insert record, that mean you must create a trigger for insert action as follows: CREATE TRIGGER <trigger_name> ON <table_name> FOR INSERT AS BEGIN...
  13. nguyentaiuyenchi

    How to execute command from store procedure?

    Hi all, I have index table (tblIndexTable) that contain name of table (at 'tablename' field)- that mean number of table is not specify. I make a store procedure as follows: ------------------------------------------------------- declare @table_name varchar(50) declare @applicant int declare...
  14. nguyentaiuyenchi

    Click X in top right still have program running.

    Hi all, 1. In MDI form have progress at the bottom. 2. Click on menu to call a function that performs something and change value in progressbar. (that mean user can see application is running by progressbar) 3. User X in top right of MDI form. The MID form was unloaded but this application...
  15. nguyentaiuyenchi

    Using combobox

    Hi all, I use combobox for displaying list of items. There is a unique key for each item. Before, combobox in VB have itemdata property that be used for storing key. Now, I don't know how to storing key for each item in C#. Thank in advance. Uyen Chi Software developer

Part and Inventory Search

Back
Top