Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 problem in datagrid

Author  Topic 

susan_151615
Yak Posting Veteran

99 Posts

Posted - 2008-10-23 : 01:24:48
Hi i have a page which displays certain records in datagrid on page load now.Each row will have a save button.When the user clicks on the save button it must go into another datagrid which is present in that page.
Now i have made the datas to display on page load but my problem is i dono how to move this data from one datagrid to another on button click.I have heard that using data table i have to move it but i dono how to implement it.The code which i have written on page load is

Dim AssocID As String
Dim AllocatedDate As String

AssocID = Convert.ToString(Session.Item("Username"))
Dim dsViewHomeTask As New DataSet

dsViewHomeTask = bsl.ViewHomeTask(conString, AssocID, AllocatedDate)
dgUpdtasksave.DataSource = dsViewHomeTask.Tables(0)
dgUpdtasksave.DataBind()
but how to transfer it to another datagrid
please help me

susan
   

- Advertisement -