Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
QuestionHow to Dynamically add a property item to Property Grid Pin
Varad_Rajan29-Apr-08 19:19
Varad_Rajan29-Apr-08 19:19 
QuestionRemove default style border-collapse:collapse from datagrid? Pin
.NetRams29-Apr-08 18:50
.NetRams29-Apr-08 18:50 
AnswerRe: Remove default style border-collapse:collapse from datagrid? Pin
toranj_14554-Dec-09 6:09
toranj_14554-Dec-09 6:09 
AnswerRe: Remove default style border-collapse:collapse from datagrid? Pin
toranj_14554-Dec-09 6:09
toranj_14554-Dec-09 6:09 
QuestionGesture Recognition for C# Pin
][Alpha][29-Apr-08 14:50
][Alpha][29-Apr-08 14:50 
AnswerI haven't dowloaded your code Pin
Ennis Ray Lynch, Jr.29-Apr-08 18:43
Ennis Ray Lynch, Jr.29-Apr-08 18:43 
AnswerRe: Gesture Recognition for C# Pin
Vikram A Punathambekar29-Apr-08 21:34
Vikram A Punathambekar29-Apr-08 21:34 
GeneralRe: Gesture Recognition for C# Pin
][Alpha][30-Apr-08 2:45
][Alpha][30-Apr-08 2:45 
GeneralRe: Gesture Recognition for C# Pin
Vikram A Punathambekar30-Apr-08 6:33
Vikram A Punathambekar30-Apr-08 6:33 
QuestionThanks carbon_golem Pin
Member 365210629-Apr-08 10:46
Member 365210629-Apr-08 10:46 
QuestionWinAPI interaction Pin
Knowledgestudent29-Apr-08 9:39
Knowledgestudent29-Apr-08 9:39 
AnswerRe: WinAPI interaction Pin
Giorgi Dalakishvili29-Apr-08 9:49
mentorGiorgi Dalakishvili29-Apr-08 9:49 
AnswerRe: WinAPI interaction Pin
Spacix One29-Apr-08 13:13
Spacix One29-Apr-08 13:13 
GeneralRe: WinAPI interaction Pin
Knowledgestudent29-Apr-08 21:57
Knowledgestudent29-Apr-08 21:57 
GeneralRe: WinAPI interaction Pin
Giorgi Dalakishvili29-Apr-08 22:15
mentorGiorgi Dalakishvili29-Apr-08 22:15 
GeneralRe: WinAPI interaction Pin
Spacix One30-Apr-08 2:28
Spacix One30-Apr-08 2:28 
QuestionHow to find if a particular file is loaded by processes Pin
Mushtaque Nizamani29-Apr-08 8:54
Mushtaque Nizamani29-Apr-08 8:54 
GeneralRe: How to find if a particular file is loaded by processes Pin
Giorgi Dalakishvili29-Apr-08 9:19
mentorGiorgi Dalakishvili29-Apr-08 9:19 
AnswerRe: How to find if a particular file is loaded by processes Pin
PIEBALDconsult29-Apr-08 13:47
mvePIEBALDconsult29-Apr-08 13:47 
GeneralRe: How to find if a particular file is loaded by processes Pin
Mushtaque Nizamani29-Apr-08 13:56
Mushtaque Nizamani29-Apr-08 13:56 
GeneralLAN TicTacToe Pin
Member 365210629-Apr-08 8:23
Member 365210629-Apr-08 8:23 
GeneralRe: LAN TicTacToe Pin
carbon_golem29-Apr-08 8:43
carbon_golem29-Apr-08 8:43 
GeneralAdvice on Matching data Pin
MumbleB29-Apr-08 8:19
MumbleB29-Apr-08 8:19 
GeneralRe: Advice on Matching data Pin
Jimmanuel29-Apr-08 9:38
Jimmanuel29-Apr-08 9:38 
GeneralRadGrid, DataTable And Caption Problem Pin
KlimUser29-Apr-08 7:52
KlimUser29-Apr-08 7:52 
Well my problem is the next buddies
I have a GridView, well Actually a RagGrid From telerik control
I get the data executing a StoreProcedure and storing in a Datatable
the I just use the next code

<br />
DataTable dtListValues = null; //this is my DataTable where i'm going to store the Data<br />
dtListValues = LoValues.oListValues(Values.PKValue); //this is the method to get the Data, that returns a DataTable<br />
this.rgValues.DataSource = dtListValues; //Choosing  a DataSource for the RadGrid<br />
this.rgValues.DataBind(); //binding!! hehehe!  ;P <br />


and then the page ends with this

NameColumns PKValue NameValue isActive

but!! I don't want to use this names!! Sigh | :sigh:
And to "fix" this I try to use this
<br />
dtListValues.Columns[0].Caption = "Code";<br />
dtListValues.Columns[1].Caption = "Name";<br />
dtListValues.Columns[2].Caption = "Active";<br />

I already used this code after and before executing the DataBind
But!!!! It doesn't work!!! =(
Could someone Tell Me where I'm wrong Frown | :( ?
I hope you can help me please
thanks in advanced
Greetings!!!


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.