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...
- 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...
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...
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
- 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...
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
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...
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...
- 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
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...
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...
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...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.