Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
AnswerRe: Treeview doesn't update after treenode.remove Pin
Luc Pattyn30-Dec-09 0:44
sitebuilderLuc Pattyn30-Dec-09 0:44 
GeneralRe: Treeview doesn't update after treenode.remove Pin
eyalle30-Dec-09 0:48
eyalle30-Dec-09 0:48 
GeneralRe: Treeview doesn't update after treenode.remove Pin
Luc Pattyn30-Dec-09 1:25
sitebuilderLuc Pattyn30-Dec-09 1:25 
AnswerRe: Treeview doesn't update after treenode.remove Pin
Ben Fair30-Dec-09 3:25
Ben Fair30-Dec-09 3:25 
GeneralRe: Treeview doesn't update after treenode.remove Pin
eyalle30-Dec-09 3:28
eyalle30-Dec-09 3:28 
GeneralRe: Treeview doesn't update after treenode.remove Pin
Ben Fair30-Dec-09 3:32
Ben Fair30-Dec-09 3:32 
GeneralRe: Treeview doesn't update after treenode.remove Pin
eyalle30-Dec-09 3:38
eyalle30-Dec-09 3:38 
Questionretrive user rights from sql table Pin
Jassim Rahma29-Dec-09 22:53
Jassim Rahma29-Dec-09 22:53 
I am using the following code to store public variables:

using System;
using System.Collections.Generic;
using System.Text;

namespace Takhlees
{
    class public_class
    {
        // login;
        private static string user_login;

        public string login_user_login
        {
            get { return user_login; }
            set { user_login = value; }
        }

    }
}


and I want to create a table called user_rights with user_right_code and user_right_value fields..... The user_right_value field will be a bit with True or False and the user_right_code will have something like:

ADD_OCCUPATION
EDIT_OCCUPATION
DELETE_OCCUPATION
BROWSE _OCCUPATIONS
BROWSE _GENDER
BROWSE_NATIONALITY
BROWSE_USERS
ADD_USER
EDIT_USER
RESET_PASSWORD

I want to know how can automatiocally retrive the user_right_code and user_right_value into public variables? do i have to create each and every code in the public_class?!!
AnswerRe: retrive user rights from sql table Pin
Ben Fair30-Dec-09 3:04
Ben Fair30-Dec-09 3:04 
GeneralRe: retrive user rights from sql table Pin
Jassim Rahma30-Dec-09 10:54
Jassim Rahma30-Dec-09 10:54 
GeneralRe: retrive user rights from sql table Pin
Jassim Rahma13-Jan-10 7:43
Jassim Rahma13-Jan-10 7:43 
QuestionC# - listen to add/remove function from event Pin
bonzaiholding29-Dec-09 22:15
bonzaiholding29-Dec-09 22:15 
AnswerRe: C# - listen to add/remove function from event Pin
DaveyM6929-Dec-09 23:17
professionalDaveyM6929-Dec-09 23:17 
AnswerRe: C# - listen to add/remove function from event Pin
Afjal khan30-Dec-09 0:19
Afjal khan30-Dec-09 0:19 
QuestionC# VS 2005 Plotting real time data with Drawing 2D Pin
raj of jss29-Dec-09 21:33
raj of jss29-Dec-09 21:33 
AnswerRe: C# VS 2005 Plotting real time data with Drawing 2D Pin
Luc Pattyn30-Dec-09 0:49
sitebuilderLuc Pattyn30-Dec-09 0:49 
QuestionC# Delegates in vc++ Pin
Anu_Bala29-Dec-09 21:32
Anu_Bala29-Dec-09 21:32 
AnswerRe: C# Delegates in vc++ Pin
teejayem30-Dec-09 5:26
teejayem30-Dec-09 5:26 
QuestionRegistration of an assembly. Pin
SRKSHOME29-Dec-09 20:38
SRKSHOME29-Dec-09 20:38 
AnswerRe: Registration of an assembly. Pin
Md. Marufuzzaman29-Dec-09 21:09
professionalMd. Marufuzzaman29-Dec-09 21:09 
GeneralRe: Registration of an assembly. Pin
SRKSHOME29-Dec-09 21:48
SRKSHOME29-Dec-09 21:48 
GeneralRe: Registration of an assembly. Pin
Md. Marufuzzaman30-Dec-09 1:19
professionalMd. Marufuzzaman30-Dec-09 1:19 
Questionbreaking a string to substrings Pin
myinstincts29-Dec-09 19:21
myinstincts29-Dec-09 19:21 
AnswerRe: breaking a string to substrings Pin
myinstincts29-Dec-09 19:27
myinstincts29-Dec-09 19:27 
GeneralRe: breaking a string to substrings [modified] Pin
petercrab29-Dec-09 20:10
petercrab29-Dec-09 20:10 

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.