title: How to update top n rows dynamically?
body: <p>I have a table with similar rows...like</p>
  
  <pre><code>PartNo  SerialNo  Inven_Qty  Status
  ------  --------  ---------  ------
  001A    NULL      1          IN
  001A    NULL      1          IN
  001A    NULL      1          IN
  001A    NULL      1          IN
  </code></pre>
  
  <p>Now I want to update the rows dynamically..I have a web page where I enter PartNo and the value of items which are OUT...ex 2 items are OUT...I want to update 2 rows with Inven_Qty 0 and status as OUT....Can anyone please tell me how to do this???</p>
  
  <p>Thanks in advance.</p>