-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Arian_Intellect
Message 2 in Discussion


 
Check this url
http://www.c-sharpcorner.com/Database/DataBindingInDataGridMCB1.asp
 
 
Shaju Thomas
e-Cosmos Technologies Ltd.,
Mail: [EMAIL PROTECTED]
Phone(Off) 
:  51217038/39 Extn: 132
Mobile:  +91 98455 21794

  ----- Original Message ----- 
  From: 
  ssv_2000 
  To: BDOTNET 
  Sent: Sunday, October 19, 2003 9:26 
  PM
  Subject: Not answered - Questions about 
  datagrid
  
-----------------------------------------------------------

New 
  Message on 
  BDOTNET

-----------------------------------------------------------
From: 
  ssv_2000
Message 1 in Discussion

Hi all,
I have some questions 
  about the datagrid 

a. Is it possible to use the datagrid in an unbound 
  mode where I can programatically add rows and fill data? (not binding the grid 
  to any kind of datasource)

b. Is it possible to add rows to the 
  datagrid without adding rows to its datasource?

c. while using a 
  datagrid, say, grid like,

c11 c12 c13
c21 c22 c23
c31 c32 
  c33

i want the user to be able to make all required changes to all the 
  rows, add as many new rows as needed, mark required rows for deletion and 
  submit all these changes at one shot to the server to update the database 
  instead of making a trip to the webserver for every row to be added, edited or 
  deleted. (edit and delete i could do, how about 
  add?)

Thanks.
SriVidya.
 
 

First  
  Previous  2-5 of 5  Next  Last   
  
 
Reply
 Recommend   Message 2 of 5 in 
  Discussion   
 
From: Saravana Sent: 10/16/2003 12:09 AM 
  
Hi,
 
Question 1 
 
Yes it is possible to create 
  datagrid and its rows dynamically. Check out this article for more 
  details
http://www.dotnetbips.com/displayarticle.aspx?id=66
 
Question 
  2.
 
This too is possible, check out this code snippet for more 
  details.
http://www.extremeexperts.com/Net/CodeSnippets/AddingDataGridItem.aspx
 
 
Question 
  3. 
This can be done by making all the rows in your datagrid editable. 
  Check out my article for more details.
http://www.microsoft.com/india/msdn/articles/SolutionstoTopFourQuestions.aspx
 
-Saravana
www.ExtremeExperts.com
 
 
 
 
 
 
 
  
  
 

Reply
 Recommend  Delete    
  Message 3 of 5 in Discussion   
 
From: ssv_2000 Sent: 
  10/16/2003 10:45 AM 
Hi Saravana,
Thanks for the answers.
The 
  articles were very useful.

But one thing I still couldnt get is how to 
  Add new rows into the grid at the client end without making a trip to the 
  server. can u pl. explain that part alone again? thanks a 
  lot.

srividya. 
 

Reply
 Recommend   
  Message 4 of 5 in Discussion   
 
From: Saravana Sent: 
  10/16/2003 11:39 PM 
Hi,
 
I thought you are asking about  
  "Add new rows into the grid at the server without datasource manupulation" , 
  thatswhy i gave the link of that article. If you want to do it at client side, 
  you need to go for client side scripts only. All datagrid is emitted as tables 
  in html, so you can use insertrow method of table in dhtml to add new rows to 
  datagrid. 
 
-Saravana
www.extremeexperts.com
  
  
 

Reply
 Recommend  Delete    
  Message 5 of 5 in Discussion   
 
From: ssv_2000 Sent: 
  10/17/2003 9:13 AM 
hi Saravana,
Thanks for replying to my 
  question.

The additional rows that I would put using client side script 
  will not get sent to the server as part of the datagrid, isnt it? like...if I 
  had 3 rows in the grid when it was sent from the server to the client, if i 
  insert 3 more rows in the DHTML table and then submit the page would the grid 
  now know to have 6 rows?

SriVidya. 
  
 


-----------------------------------------------------------

To 
  stop getting this e-mail, or change how often it arrives, go to your E-mail 
  Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need 
  help? If you've forgotten your password, please go to Passport Member 
  Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For 
  other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If 
  you do not want to receive future e-mail from this MSN group, or if you 
  received this message by mistake, please click the "Remove" link below. On the 
  pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
  address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to