Interviewer And Interviewee Guide

DataGrid (Grid view) Interview Question:

In DataGrid, is it possible to add rows one by one at runtime. That means after entering data in one row next row will be added?

Submitted by: Administrator
Yes, for this you have to use datatable and after inserting the first row in datatable u have to bind that datatable to the grid and next time , first u have to add the row in datatable and next bind it to datagrid. keep on doing.
u have to maintain the datatable state.
Submitted by: Administrator

Read Online DataGrid (Grid view) Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.