using
using
using
using
System;
[Link];
[Link];
[Link];
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
[Link] = 3;
[Link][0].Name = "Product ID";
[Link][1].Name = "Product Name";
[Link][2].Name = "Product Price";
string[] row = new string[] { "1",
[Link](row);
row = new string[] { "2", "Product
[Link](row);
row = new string[] { "3", "Product
[Link](row);
row = new string[] { "4", "Product
[Link](row);
"Product 1", "1000" };
2", "2000" };
3", "3000" };
4", "4000" };
[Link][1].ReadOnly = true;
}
}
}