GridView Inital Editing mode?
<p>I am writing a web application that is used for tracking and entering some everyday user data... Every day I need to enter some data for multiple users manually...</p>

<p>I will choose the date with the calendar, and for that date I will get DB values assigned for all users on chosen date...If there are some entries in database for that date i will display it in gridview...</p>

<p>Here is the look of gridview for chosen date...</p>

<pre>
USERS   DATA
------------
User1   Data1
User2   Data2
User3   Data3
</pre>

<p>But, if I choose the date for which there are no entries in DB, I would like to display the gridview containg User names in each row, but I want the second column (DATA field) to be initially editable for ALL rows (the whole second column should contain textboxes for inserting values, not only selected row as in standard editable gridview mode) allowing inserting of wanted values...</p>

<p>I want it to look something like this</p>

<pre>
USERS   DATA
----------------
User1   TextBox
User2   TextBox
User3   TextBox
</pre>

<p>My idea is to get Users list from DB and create a datatable with first column containg returned user names, and second column empty... This datatable will be datasource for gridview in which I am going to disable editing mode, and in normal (displaying) mode I am going to have TemplateField containg of textboxes bound to that datatable in second column, and labels displaying usernames in first column... When entering all values there will be SAVE button who is calling a method that will read entered values from datatable and save it to database... </p>

<p>Is there a better way to implement this functionality? If Templatefield textboxes are bound to datatable (as gridview datasource) textboxes entered values are going to be accessible from datable object, but Save button click causes postback, and I don't know how to preserve datatable state? Is there a better way to get wanted gridview with whole second column availibe for inserting new values?</p>

<p>Thank you in advance for your help &amp; time!</p>
