how are values passed in data base [Resolved]

Posted by Sashi under ASP.NET on 2/26/2016 | Points: 10 | Views : 659 | Status : [Member] | Replies : 1
In a data grid how are multiple values are passed to data base. Using .net c#. Especially values from each column with different values .




Responses

Posted by: Rajnilari2015 on: 2/26/2016 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 50

Up
0
Down

Resolved
A grid view is a table which is a collection of Rows.
The below pseudo code will help to understand the concept

<table>
foreach(var record in Records)
{
<tr>
<td>record.Id</td>
<td>record.Name</td>
<td>record.Age</td>
<td>record.Sex</td>
</tr>
}

</table>


This is the process by which we read/write the values from Grid and stores in the dB based on the columns designed in the table.
Hope this clears your doubt.

--
Thanks & Regards,
RNA Team

Sashi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response