I have a data table with query inside, then i need to sent value of data table exactly in datagridview i made before. Anyone can do this?:-/
nore
0
Light Poster
Recommended Answers
Jump to PostTry to show some of your code...
Jump to PostDim objdatatable As DataTable = objDataSet.Tables("TableName") With DataGridView1 .AutoGenerateColumns = True .DataSource = objDataSet .DataMember = "TableName" ' Declare and set the alternating rows style... Dim objAlternatingCellStyle As New DataGridViewCellStyle() objAlternatingCellStyle.BackColor = Color.WhiteSmoke searchDataGridView.AlternatingRowsDefaultCellStyle = objAlternatingCellStyle End With
All 8 Replies
aerohn
0
Newbie Poster
Netcode
33
Veteran Poster
nore
0
Light Poster
nore
0
Light Poster
M.Waqas Aslam
67
Posting Pro in Training
Featured Poster
nore
0
Light Poster
pcs77
0
Newbie Poster
pcs77
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.