all groups > asp.net datagrid control > december 2007 >
You're in the

asp.net datagrid control

group:

adding new row into an unbounded gridview.



adding new row into an unbounded gridview. Weoi Li
12/5/2007 7:42:00 PM
asp.net datagrid control: )Dear All,

Please help me out here. I have been stuck in this issue for almost a day
now.

I had an ASP .net page with VB .NET as back code which have 2 calendar
control (From Date and To date) that for user to select. After the user
select the dates, I want to refresh the gridview which having 2 column of
date and selected according to the calendar controls selection.

Please help..

Re: adding new row into an unbounded gridview. Nathan Sokalski
12/8/2007 12:51:23 AM
Just use the Add() method of the Rows property, this should add the row, and
unless you are doing something else that prevents it, the GridView will be
refreshed simply because you are doing a postback.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

[quoted text, click to view]

AddThis Social Bookmark Button