Click here to Skip to main content
15,912,578 members
Home / Discussions / C#
   

C#

 
GeneralRe: Storing references in a List Pin
rcollina10-Nov-07 4:34
rcollina10-Nov-07 4:34 
AnswerRe: DataSouce,DisplayMember & ValueMember properties of ComboBox Pin
pmarfleet10-Nov-07 2:11
pmarfleet10-Nov-07 2:11 
QuestionA Question - File Monitoring Pin
gunner_uk200010-Nov-07 0:57
gunner_uk200010-Nov-07 0:57 
AnswerRe: A Question - File Monitoring Pin
Colin Angus Mackay10-Nov-07 1:07
Colin Angus Mackay10-Nov-07 1:07 
QuestionPROBLEM IN SAVING Pin
Sunil Wise10-Nov-07 0:34
professionalSunil Wise10-Nov-07 0:34 
AnswerRe: PROBLEM IN SAVING Pin
Colin Angus Mackay10-Nov-07 0:49
Colin Angus Mackay10-Nov-07 0:49 
GeneralRe: PROBLEM IN SAVING Pin
Sunil Wise10-Nov-07 1:11
professionalSunil Wise10-Nov-07 1:11 
GeneralRe: PROBLEM IN SAVING Pin
Colin Angus Mackay10-Nov-07 1:20
Colin Angus Mackay10-Nov-07 1:20 
sunilwise wrote:
can u plz send me some code how to ignore the extension after the dot


First, please write properly - I have no patience for people who contract word such as "you" in to "u" and "please" in to "plz". The English language has a perfectly acceptable mechanism for contracting words by the use of an apostrophe to stand in for missing letters. If you absolutely must use abbreviations please use ones that are understandable to all. Not everyone on this forum speaks English as their first language. They will have difficulty reading badly written text.

In answer to your question look into the string class and look for things to get you the LastIndexOf[^] in order to tell you where the dot is and Substring[^] in order to get a new string without the extension.

Alternatively, classes such as FileInfo and Path also have methods for dealing with bits of file names.


Upcoming FREE developer events:
* Glasgow: SQL Server Managed Objects AND Reporting Services ...

My website

GeneralRe: PROBLEM IN SAVING Pin
Paul Conrad10-Nov-07 3:17
professionalPaul Conrad10-Nov-07 3:17 
Questionfilesystem Pin
Sunil Wise9-Nov-07 23:34
professionalSunil Wise9-Nov-07 23:34 
AnswerRe: filesystem Pin
Guffa9-Nov-07 23:54
Guffa9-Nov-07 23:54 
GeneralRe: filesystem Pin
Sunil Wise9-Nov-07 23:59
professionalSunil Wise9-Nov-07 23:59 
QuestionFilling a typed dataset with multiple tables Pin
steve_rm9-Nov-07 22:59
steve_rm9-Nov-07 22:59 
AnswerRe: Filling a typed dataset with multiple tables Pin
Paul Conrad10-Nov-07 4:37
professionalPaul Conrad10-Nov-07 4:37 
QuestionRe: Filling a typed dataset with multiple tables Pin
steve_rm10-Nov-07 6:13
steve_rm10-Nov-07 6:13 
AnswerRe: Filling a typed dataset with multiple tables Pin
Paul Conrad10-Nov-07 6:38
professionalPaul Conrad10-Nov-07 6:38 
QuestionDynamically Printing a bitmap image Pin
sindhutiwari9-Nov-07 22:57
sindhutiwari9-Nov-07 22:57 
AnswerRe: Dynamically Printing a bitmap image Pin
Matthew Butler10-Nov-07 1:37
Matthew Butler10-Nov-07 1:37 
QuestionSqlNotificationRequest Problem. Pin
hdv2129-Nov-07 21:51
hdv2129-Nov-07 21:51 
AnswerRe: SqlNotificationRequest Problem. Pin
sindhutiwari10-Nov-07 0:30
sindhutiwari10-Nov-07 0:30 
QuestionNow it is Official... I need help! Pin
kingletas9-Nov-07 20:22
kingletas9-Nov-07 20:22 
AnswerRe: Now it is Official... I need help! Pin
Christian Graus9-Nov-07 22:01
protectorChristian Graus9-Nov-07 22:01 
GeneralRe: Now it is Official... I need help! Pin
kingletas9-Nov-07 22:14
kingletas9-Nov-07 22:14 
GeneralRe: Now it is Official... I need help! Pin
Christian Graus9-Nov-07 22:20
protectorChristian Graus9-Nov-07 22:20 
GeneralRe: Now it is Official... I need help! Pin
Paul Conrad10-Nov-07 3:18
professionalPaul Conrad10-Nov-07 3:18 

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.