It is working now I want connect a datagrid form nearly it is also completed but I want to view a checkbox in datagrid for “yes or no” what is the code for place the checkbox in datagrid and calendar popup, Using file Thanking you Yours sincerely If any spelling mistakes "sorry........" hi i had added vales in data grid i need to add the vales and display how to do it i need to select values in previous row and values in current row add then display in current row how to do it plz mail me in [email protected]'IMPORTS NAMESPACE FOR THE CONNECTION Imports System.
Now I am doing a project using connecting sting “Provider=Microsoft. OLEDB.4.0; Data Source=C:\Project.mdb; Persist Security Info=False” now I am completed data entry form. Sql Client Dim sadapt1 As Sql Data Adapter Dim cn As Sql Connection Dim ds As Data Table 'BIND THE RECORDS ON THE PAGE LOAD Protected Sub Page_Load(By Val sender As Object, By Val e As System. Load 'SET THE CONNECTION AND BIND TO THE GRIDVIEW cn = New Sql Connection("server=shailu;uid=sa;pwd=;database=delete;") sadapt1 = New Sql Data Adapter("select * from emp", cn) ds = New Data Table sadapt1.
Also the rows in the datagridview is set to select the entire row not just a cell if that makes a difference hi, Use the below coding: [code] Private Sub upload_Load(By Val sender As System.
Could someone please let me know how to get the selected row?
Of course if there is a way to show the data in the textbox without needed to query the db again that would be great. Mouse Up 'we will select first the entire row so that we can simply point the cell value to be displayed in the textboxes Dim hit As Data Grid View.
Now you can ask questions directly to me on my new site ASPForums.
Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.
Of course if there is a way to show the data in the textbox without needed to query the db again that would be great.