Type: Posts; User: lsy
Search took 0.03 seconds.
How can i convert a double value to CString with 2 decimal places?
eg double value is 23, i want it to convert to CString with 23.00 while i using _gcvt it just return me 23.
can any help one...
i'm using GridView control, i have set those sorting property to true.... but when i click on the header it ask for handler of the sorting... i have create the handler but don't know what should...
How can i sort the GridView control by clicking the column header?
due to i'm first time writing web app, i'm not very sure how web application is really works...
when i run the app, it will show a webpage... but it only can be compile as debug...
i'm first to create web application, i'm curious how can i create a web application in VS2005 with using C#... i found some sample in net, but the first step is always File->New Project, then choose...
April 24th, 2009, 02:57 AM
There are all in single thread. both are in different function, that why CoInitialize() and CoUninitialize() will have 2.
April 23rd, 2009, 09:42 PM
I have 2 functions, 1 for updating the database which will return a recordset and 1 is for inserting or deleting, which are void.
void CDatabase::UpdateDB(_bstr_t bSQL, CString sDBName)
April 23rd, 2009, 03:31 AM
i'm connected to Microsoft access database
Provider='Microsoft.JET.OLEDB.4.0'; Data Source = mydb.mdb
April 23rd, 2009, 12:33 AM
the error come from Recordset15::Open()
inline HRESULT Recordset15::Open ( const _variant_t & Source, const _variant_t & ActiveConnection, enum CursorTypeEnum CursorType, enum LockTypeEnum...
April 20th, 2009, 10:29 PM
April 16th, 2009, 09:46 PM
In CCombobox control, there is a method called GetLbText, to get the text in the combo box, either user enter or select.... is there a function that can allow to Set it?
i just want to display a...
April 16th, 2009, 03:35 AM
then how can i control only 1 active page at 1 time?
April 16th, 2009, 03:33 AM
but i got the error after the connection close...
that look bit weird.
April 14th, 2009, 02:59 AM
I have a very strange problem in my ADO connection close, when i debug, it will have a 0xC0000005: Access violateion after my pConn->Close().. but when i run normally, i don't see this error......
April 13th, 2009, 08:57 PM
i have try to search on net... but seems there are no SDI in C#... could you pls help to provide me sample?
April 13th, 2009, 03:56 AM
How do MDI acting like SDI?
As i only want 1 instance at a time and only 1 active form is showing, and is it possible that the child window set as the child form as like VC++...
April 11th, 2009, 12:32 PM
I'm using ADO... during inserting, i have a column data that consists single quotation and double quptation, thus that might create an error.
or do you have any other method for this?
April 9th, 2009, 02:35 AM
Can anyone tell me how to use parameterized queries in a sql statement??
INSERT INTO TABLE (COLA, COLB) VALUES (@AVALUE, @BVALUE)
but is return a error that no value given... can anyone...
February 12th, 2009, 02:48 AM
How can i get the text in a combo box which the text is enter by user?
i try GetEditSel() it return nothing where GetLbText() return application error might due to nothing is select.
February 10th, 2009, 01:19 AM
how to use it? is there any sample provide?
February 10th, 2009, 12:12 AM
How can i write to an existing ms excel file at specific column?
March 24th, 2008, 11:01 PM
If i don't specify the section(AppName) name but only specify the key... would it be able to search whole file and return me the value of the key?
GetPrivateProfileString(null, sKey, "",...
March 24th, 2008, 09:01 AM
when inside the function the OleDbDataReader is still holding data... but after connection is close... it become nothing inside... so when i return that is an error in the function which call it.
March 24th, 2008, 08:00 AM
If i have a function which would like to return a OleDbDataReader variable... is it possible??
I discover when my OleDbConnection is close thus the OleDbDataReader variable also contains nothing....
March 13th, 2008, 09:46 PM
i just wanna read out the key on the particular section of the ini files...
what is the different between GetPrivateProfileSection and GetProfileSection?
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!