Skip to content
WJunction - Webmaster Forum

datagridview help

Status
Not open for further replies.
I've added a datagridview with 2 columns, one contains song name and other song URL.

datagridview1.rows.Add(dataforfirstcol, datafor2ndcol);

But how to fill data only in second column or in first by using its column name.
 

1 comment

can you not use an empty string.

PHP:
string[] first = {
    "Row 1",
    "Row 2",
};
string[] second = {
    "",
    "Row 2",
};
datagridview1.Rows.Add(first);
datagridview1.Rows.Add(second);
 
Status
Not open for further replies.

About the author

P
Active Member · Joined
Webmastering
1,817
Messages
149
Reactions
63
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom