Click here to Skip to main content
15,919,358 members
Home / Discussions / Database
   

Database

 
GeneralRe: Adding new rows to empty table in C# Pin
-Dr_X-15-Apr-04 16:36
-Dr_X-15-Apr-04 16:36 
GeneralRe: Adding new rows to empty table in C# Pin
Craig Bumpstead18-Apr-04 12:19
Craig Bumpstead18-Apr-04 12:19 
Generalrun time error Pin
williamchou14-Apr-04 16:12
williamchou14-Apr-04 16:12 
GeneralRe: run time error Pin
Nino_114-Apr-04 16:19
Nino_114-Apr-04 16:19 
GeneralRe: run time error Pin
williamchou14-Apr-04 16:56
williamchou14-Apr-04 16:56 
GeneralRe: run time error Pin
Mike Dimmick15-Apr-04 2:26
Mike Dimmick15-Apr-04 2:26 
GeneralProblems with Sandbox Mode Pin
blakeb_114-Apr-04 9:23
blakeb_114-Apr-04 9:23 
GeneralRe: Problems with Sandbox Mode Pin
monrobot1314-Apr-04 10:00
monrobot1314-Apr-04 10:00 
Well if all else fails you could just write your own function to find the first instance of a period from the end of the string. This isn't C#, but should give you an idea.
int FindCharRev (const CString str, const char c, CString& buf)
{
    char* pStr;
    int index, j = 0, len = str.GetLength ();
    for (int i = len; i > 0; i--) {
        if (str[i] == c) 
            { index = i; break; }
    }

    pStr = (LPTSTR)(LPCTSTR)str;
    pStr += index;
    while (pStr) {
        buf[j] = *pStr;
        pStr++;
        j++;
    }
    return index
}
That's a crude implementation, but it should put the string after the first instance (from the end of the string) of a character in the "buf" parameter and return the index of where that character was found.

- Aaron
GeneralRe: Problems with Sandbox Mode Pin
Mike Dimmick15-Apr-04 2:28
Mike Dimmick15-Apr-04 2:28 
GeneralRe: Problems with Sandbox Mode Pin
Chris Meech16-Apr-04 9:26
Chris Meech16-Apr-04 9:26 
GeneralReporting Services Pin
Kant14-Apr-04 9:09
Kant14-Apr-04 9:09 
GeneralSELECT and UPDATE in one statement Pin
iluha14-Apr-04 4:39
iluha14-Apr-04 4:39 
GeneralRe: SELECT and UPDATE in one statement Pin
Janya26-Apr-04 14:44
Janya26-Apr-04 14:44 
GeneralProblem with table format when pulled from SQL Server to Sql Server CE, using RDA Pull Method Pin
JustChiLLin14-Apr-04 1:13
JustChiLLin14-Apr-04 1:13 
Generalthe problem of @@TRANCOUNT--how to eliminate the no.266 error Pin
williamchou13-Apr-04 23:33
williamchou13-Apr-04 23:33 
GeneralRe: the problem of @@TRANCOUNT--how to eliminate the no.266 error Pin
Mike Dimmick14-Apr-04 5:28
Mike Dimmick14-Apr-04 5:28 
GeneralSET DATEFORMAT Pin
monrobot1312-Apr-04 19:13
monrobot1312-Apr-04 19:13 
GeneralRe: SET DATEFORMAT Pin
Mike Dimmick13-Apr-04 4:05
Mike Dimmick13-Apr-04 4:05 
GeneralRe: SET DATEFORMAT Pin
monrobot1313-Apr-04 15:20
monrobot1313-Apr-04 15:20 
GeneralFormat Columns Pin
monrobot138-Apr-04 16:42
monrobot138-Apr-04 16:42 
GeneralRe: Format Columns Pin
Colin Angus Mackay9-Apr-04 0:12
Colin Angus Mackay9-Apr-04 0:12 
GeneralRe: Format Columns Pin
monrobot139-Apr-04 6:13
monrobot139-Apr-04 6:13 
GeneralMSDE Deployment Pin
betterc8-Apr-04 5:50
betterc8-Apr-04 5:50 
GeneralRe: MSDE Deployment Pin
Sarvesvara (BVKS) Dasa13-Apr-04 18:31
Sarvesvara (BVKS) Dasa13-Apr-04 18:31 
GeneralRe: MSDE Deployment Pin
betterc14-Apr-04 0:58
betterc14-Apr-04 0:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.