Click here to Skip to main content
15,894,017 members
Home / Discussions / C#
   

C#

 
AnswerRe: Call a virtual method non-virtually.. Pin
Simon P Stevens2-May-08 5:13
Simon P Stevens2-May-08 5:13 
GeneralRe: Call a virtual method non-virtually.. Pin
N a v a n e e t h2-May-08 17:01
N a v a n e e t h2-May-08 17:01 
GeneralRe: Call a virtual method non-virtually.. Pin
Simon P Stevens5-May-08 22:04
Simon P Stevens5-May-08 22:04 
GeneralRe: Call a virtual method non-virtually.. Pin
ptr2void3-May-08 2:56
ptr2void3-May-08 2:56 
AnswerRe: Call a virtual method non-virtually.. Pin
S. Senthil Kumar2-May-08 5:24
S. Senthil Kumar2-May-08 5:24 
QuestionVPN Connection through C#.net ???????? Pin
Seema Gosain2-May-08 1:37
Seema Gosain2-May-08 1:37 
AnswerRe: VPN Connection through C#.net ???????? Pin
Vasudevan Deepak Kumar2-May-08 1:45
Vasudevan Deepak Kumar2-May-08 1:45 
QuestionMove to Next Column DataGridView Pin
MrColeyted2-May-08 0:30
MrColeyted2-May-08 0:30 
Can anyone give me a code snippet for how to move to the next column of a DataGridView to insert a value. In this case, there is no DB connectivity. I am creating an application that retrieves the property names and values for a control and populates a DataGridView with these values. I can do this:

foreach (PropertyInfo prop in t.GetProperties())
{
dataGridView1.Rows.Add(prop.Name);

dataGridView1.Rows.Add(prop.GetValue(controls[index], null));
}


However, this puts the values in the same column. I have 2 columns in the gridview, and would like the output to appear similar to the properties window in VS. Any help would be greatly appreciated. Thanks!Cool | :cool:

"If you don't know where you're going, you'll probably end up somewhere else." Yogi Berra

AnswerRe: Move to Next Column DataGridView Pin
J a a n s2-May-08 1:19
professionalJ a a n s2-May-08 1:19 
AnswerRe: Move to Next Column DataGridView Pin
Gopal.S2-May-08 1:31
Gopal.S2-May-08 1:31 
GeneralRe: Move to Next Column DataGridView Pin
MrColeyted2-May-08 4:55
MrColeyted2-May-08 4:55 
Questionicon menu Pin
Bhim Prakash Singh1-May-08 23:50
Bhim Prakash Singh1-May-08 23:50 
AnswerRe: icon menu Pin
Simon P Stevens1-May-08 23:58
Simon P Stevens1-May-08 23:58 
GeneralRe: icon menu Pin
Bhim Prakash Singh2-May-08 1:48
Bhim Prakash Singh2-May-08 1:48 
GeneralRe: icon menu Pin
Simon P Stevens2-May-08 3:06
Simon P Stevens2-May-08 3:06 
Questionhow to draw a graph using data in the DB in .NET 2.0 Pin
prasadbuddhika1-May-08 22:54
prasadbuddhika1-May-08 22:54 
AnswerRe: how to draw a graph using data in the DB in .NET 2.0 Pin
Simon P Stevens1-May-08 23:56
Simon P Stevens1-May-08 23:56 
AnswerRe: how to draw a graph using data in the DB in .NET 2.0 Pin
parth.p2-May-08 4:36
parth.p2-May-08 4:36 
Questionhow to check typ in string Pin
stephan_0071-May-08 22:46
stephan_0071-May-08 22:46 
AnswerRe: how to check typ in string Pin
Gareth H1-May-08 22:51
Gareth H1-May-08 22:51 
GeneralRe: how to check typ in string Pin
stephan_0071-May-08 23:13
stephan_0071-May-08 23:13 
GeneralRe: how to check typ in string Pin
J4amieC2-May-08 0:03
J4amieC2-May-08 0:03 
GeneralRe: how to check typ in string Pin
stephan_0072-May-08 1:19
stephan_0072-May-08 1:19 
AnswerRe: how to check typ in string Pin
dan!sh 1-May-08 22:54
professional dan!sh 1-May-08 22:54 
AnswerRe: how to check typ in string Pin
Bhim Prakash Singh2-May-08 0:01
Bhim Prakash Singh2-May-08 0:01 

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.