Click here to Skip to main content
15,924,367 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating invisible services Pin
Colin Angus Mackay27-Feb-05 7:04
Colin Angus Mackay27-Feb-05 7:04 
GeneraltextBox Pin
sardonicus26-Feb-05 12:03
sardonicus26-Feb-05 12:03 
GeneralRe: textBox Pin
S. Senthil Kumar26-Feb-05 12:44
S. Senthil Kumar26-Feb-05 12:44 
GeneralRe: textBox Pin
sardonicus27-Feb-05 3:19
sardonicus27-Feb-05 3:19 
GeneralRe: textBox Pin
S. Senthil Kumar27-Feb-05 7:16
S. Senthil Kumar27-Feb-05 7:16 
GeneralNTDll's Compression Functions Pin
Stanimir_Stoyanov26-Feb-05 11:52
Stanimir_Stoyanov26-Feb-05 11:52 
GeneralRe: NTDll's Compression Functions Pin
Heath Stewart27-Feb-05 4:25
protectorHeath Stewart27-Feb-05 4:25 
Generalarrange dataGrid Columns Pin
Adnan Siddiqi26-Feb-05 10:53
Adnan Siddiqi26-Feb-05 10:53 
how can I change the column order in DataGrid,the dataGrid isnt showing coumns in order i specifed argument in my Class Constructor,currenly it shows column in following order:

UserField,SiteName,ConnStr,cID,ipAddr

though cID is supposed to come first



i using ArrayList as a datasource for DataGrid
i am adding objects in array by doing this:

this.arrPref.Add(new cPreferences(intgr1,str3,str1,str2,str4));
where cPreference class is defined like this:

public class cPreferences
{
protected int cid=0;
protected string site_name="";
protected string connection="";
protected string user_field="";
protected string ip_addr="";

public cPreferences(int c_id,string usrfld,string sname,string cs,string ipAdrr)
{
cid=c_id;
site_name=sname;
connection=cs;
user_field=usrfld;
ip_addr=ipAdrr;
}

//Set or Get Property of CID
public int cID
{
get
{
return cid;
}
set
{
cid=value;
}
}

//set-get the Property of Site Name
public string SiteName
{
get
{
return site_name;
}
set
{
site_name=value;
}
}

//set-get property of Connection String

public string ConnStr
{
get
{
return connection;
}
set
{
connection=value;
}
}

//set-get property of UserField

public string UserField
{
get
{
return user_field;
}
set
{
user_field=value;
}
}

//set-get property of Ip Address

public string IPAddr
{
get
{
return ip_addr;
}
set
{
ip_addr=value;
}
}

}


how can I change this order?

Thanks
GeneralRe: arrange dataGrid Columns Pin
Heath Stewart27-Feb-05 4:30
protectorHeath Stewart27-Feb-05 4:30 
GeneralSystem.Xml.XmlException: The root element is missing. Pin
mantissaPuc26-Feb-05 9:53
mantissaPuc26-Feb-05 9:53 
GeneralRe: System.Xml.XmlException: The root element is missing. Pin
Radgar26-Feb-05 16:59
Radgar26-Feb-05 16:59 
GeneralProblem with my DB.. Pin
Tugbay Sahin26-Feb-05 9:14
Tugbay Sahin26-Feb-05 9:14 
GeneralRe: Problem with my DB.. Pin
Colin Angus Mackay26-Feb-05 9:20
Colin Angus Mackay26-Feb-05 9:20 
GeneralRe: Problem with my DB.. Pin
Tugbay Sahin26-Feb-05 9:27
Tugbay Sahin26-Feb-05 9:27 
GeneralRe: Problem with my DB.. Pin
Colin Angus Mackay26-Feb-05 9:41
Colin Angus Mackay26-Feb-05 9:41 
GeneralRe: Problem with my DB.. Pin
Tugbay Sahin26-Feb-05 9:43
Tugbay Sahin26-Feb-05 9:43 
GeneralRe: Problem with my DB.. Pin
Rob Graham26-Feb-05 9:41
Rob Graham26-Feb-05 9:41 
Generalescaping special characters... Pin
theJazzyBrain26-Feb-05 8:51
theJazzyBrain26-Feb-05 8:51 
GeneralRe: escaping special characters... Pin
leppie26-Feb-05 9:09
leppie26-Feb-05 9:09 
GeneralRe: escaping special characters... Pin
theJazzyBrain27-Feb-05 11:26
theJazzyBrain27-Feb-05 11:26 
GeneralRe: escaping special characters... Pin
Dave Kreskowiak26-Feb-05 9:37
mveDave Kreskowiak26-Feb-05 9:37 
GeneralRe: escaping special characters... Pin
theJazzyBrain27-Feb-05 1:37
theJazzyBrain27-Feb-05 1:37 
GeneralRe: escaping special characters... Pin
Dave Kreskowiak27-Feb-05 3:12
mveDave Kreskowiak27-Feb-05 3:12 
GeneralRe: escaping special characters... Pin
theJazzyBrain27-Feb-05 11:26
theJazzyBrain27-Feb-05 11:26 
GeneralLan Messenger in C# Pin
naq26-Feb-05 8:29
naq26-Feb-05 8:29 

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.