Imports Public Class Form1 Dim mcn As SqlConnection Dim mcm As SqlCommand Dim mda As New SqlDataAdapter Dim mdt As New DataTable Dim mda2 As New SqlDataAdapter Dim mdt1 As New DataTable. after this you can upload the fetched records in a regular way (please refer "TableA" and dataset ds though) (see my codeguru. Và di ây là giao din demo ca ng dng: Full source code ng dng s dng Combobox trên DataGridView VB.NET. that way the serial number starts from 1, instead of 0 for the fetched records. this two lines add a blank row for the serial no '0' and remove it If you are trying to display serial no from the datagridview ,not from the stored proc then this piece of code will do the best.ĭs.(c) //add the columnĭs. = true //set the autoincrement (it starts from 0) I am not sure if it is too late to reply but, i saw this post when i was looking for something else.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |