Hi,
I cannot add data source in my window applciation;...There is no menu for me to add a new datasource.
What is shown there is none
What should I do?
Kindly assist
Need your immeadiate attention...
Hi,
I cannot add data source in my window applciation;...There is no menu for me to add a new datasource.
What is shown there is none
What should I do?
Kindly assist
Need your immeadiate attention...
As reports the Data Sources window showing “None” and the smart‑tag option missing, the situation usually points to environment or project-type issues rather than a single bug. ’s path (Data → Add New Data Source) is the normal route and ’s tutorial is useful, but if the menu or smart tag isn’t present the following checks and fallbacks will resolve it in most cases.
Quick checklist (in order):
Programmatic fallback (works regardless of the designer/wizard):
Imports System.Data
Imports System.Data.SqlClient
Dim conn As String = "Data Source=SERVER;Initial Catalog=MyDB;Integrated Security=True"
Dim sql As String = "SELECT * FROM MyTable"
Dim dt As New DataTable()
Using cn As New SqlConnection(conn)
Using da As New SqlDataAdapter(sql, cn)
da.Fill(dt)
End Using
End Using
DataGridView1.DataSource = dt Extra tips: compare this new project to the previously working one (project type, presence of a typed .xsd DataSet, and app.config connection string). Creating a typed DataSet manually (Add → New Item → DataSet) or using the code fallback will get the grid populated while the designer issues are fixed.
Jump to Post— debasisdas 580You need to read this.
I can't see the menu for "Add Project Data Source"
What I can see is "none"
kindly llok through the attachment for clearer understanding
mybe u must add new datasource from menu bar,choose Data...
urm...u binding data to ??
still cannot..
Im creating a datagridview. So I want data pump in to the gridview. So I need to create a datasource in order to create the binding....
still cannot..
u mean, u dont hve add data source in yr data menu bar or what??
u should reinstall yr vb...
previously i have it....previous project that i created have this function....
found this so weird when i want to create another new project using datgridview, something happen regarding this...
hmmmmm
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.