Found this on CodeProject after googling a bit for tutorials: http://www.codeproject.com/useritems/JIBitArray.asp[^]
Should cover your needs for getting bitpatterns for characters.
You could then use for instance TextBox.CaretPos to check for which bit you're modifying and update the ascii-string, or vise verca.
OK., lets say i have 4 Gig of data when i ask this bulk data to send to Text box (Rich Text) where it will go and sit either primary or secondary memory? Is it really possible to hadle huge data with UI or any other special things are around. I can consider 64 - bit environment for this BTW woule like to make sure where data will be for UI Controls.
an application can be made multilanguage provided you use a flexible framework such as the .net framework ,it alllows developers to create multilanguage classes within the same application ,for more one needs to know more about the .net framework and its properties .
You can do it to a certain point. On code project there is a tool to translate resources, which works nice. Support from .NET is not really an improvement above the resource dll's you couldmake with MFC. If you'r really seriuos, there is a book about Internationalization focussing on .NET (look at Amazon for it). My recent experience is that it takes a lot of specific knowledge and it takes much time to make real multiligual applications. I.m Dutch and I love my laguage but I don't think I really want to invest so much time in this.
An important thing is that you must include it from day 1 into yor design. Adding multi langauge support later on is very difficult and tedious to do.
I want to develop an application that logs the Internet Explorer (IE) usage time and the person who use it.
to do this, i need the application to runs or popup the login interface when user open the IE. when user closes all the IE windows, then the application will logout itself and at the same time logs the usage time.
Does the query return multiple TechnicalSkills for each employee?
In that case, are you also iterating over the various instances of TechnicalSkills per user?
(you're not as of what you've showed us so far).
Or are you showing only one user at a time?
The query should return a table consisting of rows equal to the amount of technical skills for that user, unless you store all the skill ids in one column with a seperator.
What's this line supposed to check for?
And this if statement compares a Collection of CheckedListBoxItems with a string.
well I actually do need multiple entries /skills in the database yes but I am not sure how to do that part either. I have created a new table and have employeeID and TechnicalSkillsID bu thats as far as I've gotten. I haven't written any code for it. Can you help in that department at all? The skills will be saved to the database by checking checkedlistboxes. I am also using dataadapters. Once I've gotten that part right, will it fix the problem of automatically checking the checkedlist box for a given employees skills?
First of all you should decide whether you want the TechnicalSkillsID as a column in the employees table - as you have now. If you keep it that way, and you want one empolyee to be able to own several TechnicalSkills, you'll have to store several ID's with a separating value.
A better approach, if you ask me, would be to remove the TechnicalSkillsID column from the employee table entirely, and rather create a TechnicalSkills table which uses the employeeID as a keyvalue. Then add one boolean column per technical skill that you want available.
You could then use the column name as a the name of the CheckedListBoxItem and set the Checked property according to the value from the database.
I'll write an example of the latter one:
Create a query for retrieving the row from the TechnicalSkill table with a employeeID equal to the employee you want to configure skills for.
Code for propagating and setting the value for CheckedListBoxItems:
... generate and execute the query for returning the techskills for the given employee
DataTable techSkillsTable = myDataSet.Tables;
//Query should return only one row, but we'll go with a foreachforeach(DataRow row in techSkillsTable.Rows)
foreach (DataColumn column in techSkillsTable.Columns)
string techSkillName = column.ColumnName;
bool userHasSkill = false;
userHasSkill = Convert.ToBoolean(row[column]);
//Do nothing here as userHasSkill is initialized to false.