GridView Row
I n GridView When I select row the new table should be created for each row in gridview.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Guest UserRank #258 · 9.8K pointsPosted Aug 1, 2014, 1:03 AM EDT
Guest UserRank #258 · 9.8K pointsPosted Aug 1, 2014, 2:23 AM EDT
Algorithm is
create procedure TableCreation
@tableName nvarchar(max)
as
create table @tableName (Col1 int, Col2 int)
return;
Now, at select row you can fire event , e.g., use any DB framework to fire this procedure
grid_selectRow()
{
DB.Execute(TableCreation('abc'+grid.rowNo));
}
sujay anand71 pointsPosted Aug 1, 2014, 2:39 AM EDT
1 short reply
sujay anand71 pointsPosted Aug 1, 2014, 2:13 AM EDT