Hi All,
I tried to create grid view and add atemplatefield but i don't know how to do it .
Can some one help me to do it.
Hre is the code which i tried.
GridView gv = new GridView();
TemplateField tf = new TemplateField();
tf.HeaderText = "Name";
tf.ItemTemplate ???!! <-- here is the place where i'm stuck in.
I want to join to columns (Fname & Lname in the DB to Name column in GridView)
I tried to create grid view and add atemplatefield but i don't know how to do it .
Can some one help me to do it.
Hre is the code which i tried.
GridView gv = new GridView();
TemplateField tf = new TemplateField();
tf.HeaderText = "Name";
tf.ItemTemplate ???!! <-- here is the place where i'm stuck in.
I want to join to columns (Fname & Lname in the DB to Name column in GridView)