HighTechTalks DotNet Forums  

adding new row into an unbounded gridview.

ASP.net Data Grid Control microsoft.public.dotnet.framework.aspnet.datagridcontrol


Discuss adding new row into an unbounded gridview. in the ASP.net Data Grid Control forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Weoi Li
 
Posts: n/a

Default adding new row into an unbounded gridview. - 12-05-2007 , 09:42 PM






)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..

Thanks in advance

Reply With Quote
  #2  
Old   
Nathan Sokalski
 
Posts: n/a

Default Re: adding new row into an unbounded gridview. - 12-07-2007 , 11:51 PM






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 (AT) hotmail (DOT) com
http://www.nathansokalski.com/

"Weoi Li" <WeoiLi (AT) discussions (DOT) microsoft.com> wrote

Quote:
)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..

Thanks in advance



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.