TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
thejasvi parchuri
NA
1
4.9k
how to populate data in data grid from table of sql server
Jul 29 2010 3:35 AM
hello everyone
i should populate the data from table in to data grid but the code i am using below is not working
Private
Sub
Form1_Load(
ByVal
sender
As
System.Object,
ByVal
e
As
System.EventArgs)
Handles
MyBase
.Load
Dim
myconnection
As
New
SqlConnection(
"server=THEJASVI-PC\SQLEXPRESS;database=emp;uid=sa;pwd=2x12"
)
myconnection.Open()
ds =
New
DataSet()
s =
"select * from emp_details"
Dim
da
As
New
SqlDataAdapter(s, myconnection)
da.Fill(ds,
"emp_details"
)
dgvEmployeedetails.DataSource = ds.DefaultViewManager
End
Sub
kindly help me to know the correct code
Reply
Answers (
1
)
Problem with xmltextwriter Data at the root level is invalid. Line 1, position 1.
how to rotate a polygon along any axis