Skip to content

GridView Row

sujay anand

Asked Jul 31, 2014, 11:18 PM EDT4 answers
Share
LinkedInX
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.

  • 0
    new table in db or you want to populate details of that row
    0
  • 0
    to create new table i say use stored procedure (SP), so your SP will look like this:

    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));
    }
    0
  • 0
    Can u say me in example, I m newer in using GridView...
    0
  • 1 short reply
    • 0
      New Table in Database
      0