Hi,
There is a table in database which has 6 columns. I want to show only 4 selective columns. This is the code which I have written, what change do I need to do..
Regards,Code:Dim selectstr As String selectstr = "select * from tbl_item where isdeleted=0" Dim ds As DataSet ds = New DataSet Dim adap As SqlDataAdapter adap = New SqlDataAdapter(selectstr, conn) adap.Fill(ds, "tbl_item") DataGrid1.DataSource = ds DataGrid1.DataMember = "tbl_item"
Sourabh




Reply With Quote