Click here to Skip to main content
15,903,388 members
Home / Discussions / C#
   

C#

 
Generalpropertygrid question Pin
jill_b8-Jun-05 3:15
sussjill_b8-Jun-05 3:15 
QuestionChange TabControl ItemSize dynamically? Pin
Member 17028208-Jun-05 1:31
Member 17028208-Jun-05 1:31 
AnswerRe: Change TabControl ItemSize dynamically? Pin
codeprojectin8-Jun-05 18:12
codeprojectin8-Jun-05 18:12 
GeneralDisplay data from text file to LISTVIEW Pin
ksanju10008-Jun-05 0:34
ksanju10008-Jun-05 0:34 
GeneralRe: Display data from text file to LISTVIEW Pin
Carsten Zeumer8-Jun-05 1:41
Carsten Zeumer8-Jun-05 1:41 
GeneralRe: Display data from text file to LISTVIEW Pin
ksanju10008-Jun-05 3:12
ksanju10008-Jun-05 3:12 
GeneralRe: Display data from text file to LISTVIEW Pin
Carsten Zeumer8-Jun-05 3:48
Carsten Zeumer8-Jun-05 3:48 
GeneralRe: Display data from text file to LISTVIEW Pin
ksanju10008-Jun-05 5:08
ksanju10008-Jun-05 5:08 
Hi Thanks for your answer
Its working fine
StreamReader sr = new StreamReader("job.txt");
string line = sr.ReadLine();
line=line.Trim();
while (line != null)
{
ListViewItem newItem=null;
string[] subItems = line.Split(',');
if (subItems.Length > 0)
{
newItem = new ListViewItem(subItems[0].Trim());
for(int i=1;i<subItems.Length;i++)
newItem.SubItems.Add(subItems[i].Trim());

}
lbo_BD_historyEntry.Items.Add(newItem);
line = sr.ReadLine();
}

Again i have another question I have to write 10 lines in job.txt after 10 lines it will copy all the contents to oldjob.txt
and job.txt will delete all the contents it will again start storing new 10 lines. Job.txt has limitation of storing only 10 lines.
oldjob.txt will store all the contents

could u pls tell me
one more question i have
suppose my column name is name i have to search name in name column
name is suppose sanju
it will search from oldjob.txt and job.txt from both the files
and will display the result in listview
could u pls tell me how to make for optimazation purpose

regards
sanjeev
GeneralRe: Display data from text file to LISTVIEW Pin
Carsten Zeumer8-Jun-05 6:09
Carsten Zeumer8-Jun-05 6:09 
GeneralRe: Display data from text file to LISTVIEW Pin
ksanju10009-Jun-05 1:12
ksanju10009-Jun-05 1:12 
GeneralRe: Display data from text file to LISTVIEW Pin
ksanju10009-Jun-05 19:40
ksanju10009-Jun-05 19:40 
Generalresize the Button control Pin
prinz_simo8-Jun-05 0:26
prinz_simo8-Jun-05 0:26 
GeneralRe: resize the Button control Pin
MoustafaS8-Jun-05 2:21
MoustafaS8-Jun-05 2:21 
GeneralMS Word spell checker Pin
Gktony8-Jun-05 0:01
Gktony8-Jun-05 0:01 
GeneralRe: MS Word spell checker Pin
Anonymous9-Jun-05 4:03
Anonymous9-Jun-05 4:03 
Generalload a 256 color cursor Pin
Anonymous7-Jun-05 23:40
Anonymous7-Jun-05 23:40 
GeneralText box not accepting focus Pin
GazzaJ7-Jun-05 23:14
GazzaJ7-Jun-05 23:14 
GeneralRe: Text box not accepting focus Pin
NormDroid8-Jun-05 0:10
professionalNormDroid8-Jun-05 0:10 
GeneralRe: Text box not accepting focus Pin
GazzaJ8-Jun-05 1:52
GazzaJ8-Jun-05 1:52 
GeneralLog in/Log out time from Active Directory Pin
Zapss7-Jun-05 22:38
Zapss7-Jun-05 22:38 
GeneralRe: Log in/Log out time from Active Directory Pin
Dave Kreskowiak8-Jun-05 6:56
mveDave Kreskowiak8-Jun-05 6:56 
GeneralRe: Log in/Log out time from Active Directory Pin
Zapss10-Jun-05 18:58
Zapss10-Jun-05 18:58 
GeneralCreating a self-executing file from within a C# application Pin
Anonymous7-Jun-05 22:34
Anonymous7-Jun-05 22:34 
GeneralRe: Creating a self-executing file from within a C# application Pin
Anonymous8-Jun-05 1:50
Anonymous8-Jun-05 1:50 
Questionuser's password from active directory ? Pin
Tee+7-Jun-05 22:31
Tee+7-Jun-05 22:31 

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.