karthikyon
New member
- Joined
- Jan 12, 2006
- Messages
- 2
- Programming Experience
- Beginner
Hi the following code displays the data from datasource in a datagrid....
Dim oData As New Sanega.Hospital.DataAccess.DataAccess
Dim strsql As String
strsql = " select ID,NAME,LINE_1,LINE_2,STREET,CITY,STATE,COUNTRY,ZIP,PHONE_1,PHONE_2,FAX_1,FAX_2,EMAIL,Discontinued from ENTITY_MASTER,ADDRESS_MASTER,CONTACT_MASTER,DISCONTINUED"
Dim myDataSet As DataSet
myDataSet = oData.ReturnDS(strsql, "ENTITY_MASTER")
DataGrid1.DataSource = myDataSet
I hwanted to allow editing and updating the data in datagrid and store the updated data back to the datasorce.................
Please help by sending some sample code examples.....
karthikyon
Dim oData As New Sanega.Hospital.DataAccess.DataAccess
Dim strsql As String
strsql = " select ID,NAME,LINE_1,LINE_2,STREET,CITY,STATE,COUNTRY,ZIP,PHONE_1,PHONE_2,FAX_1,FAX_2,EMAIL,Discontinued from ENTITY_MASTER,ADDRESS_MASTER,CONTACT_MASTER,DISCONTINUED"
Dim myDataSet As DataSet
myDataSet = oData.ReturnDS(strsql, "ENTITY_MASTER")
DataGrid1.DataSource = myDataSet
I hwanted to allow editing and updating the data in datagrid and store the updated data back to the datasorce.................
Please help by sending some sample code examples.....
karthikyon