16,018,973 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by saeel chary (Top 7 by date)
saeel chary
22-Oct-13 5:18am
View
Sir,
Do i need to create database first?
saeel chary
3-Sep-13 4:41am
View
Thanks alot.It worked. :)
saeel chary
29-Aug-13 12:18pm
View
on server. That is not the issue. Only that value I am not able to pass to onload event.It is giving me correct value.
<body önload="setTable('');return false">
saeel chary
28-Aug-13 5:14am
View
Sorry, i meant to say I am not able to see font.
saeel chary
20-Aug-13 7:15am
View
Thanks everyone for reply.
Is there any method by which we can remove outer border(I have tried using border-bottom tag).
saeel chary
11-Jul-13 1:49am
View
hii have attached code please help me
saeel chary
25-Jun-12 3:45am
View
i am extremely sorry for using such language.Do you have any suggestion for above query.
here is my code.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim fl As Integer=0
Dim t1 As Integer = TextBox1.Text
Dim waterarr(200) As String
sqlconn.ConnectionString = "Data Source=ADMIN-PC;Initial Catalog=TABLE NAME;User Id=sa;Password=;MultipleActiveResultSets=True"
Try
sqlconn.Open()
Catch ex As Exception
MsgBox(ex.Message, "Connection is failed")
End Try
For i As Integer = 0 To t1 - 1
TABLEarr(i) = "table" & i.ToString
Next
Dim adapter1 As New SqlDataAdapter()
Dim ds As New DataSet()
fl = ComboBox1.SelectedIndex
Dim strCmd3 As String = "SELECT * FROM" + "[" + TABLEarr(fl) + "]"
sqlCmd3 = New SqlCommand(strCmd3, sqlconn)
adapter1.SelectCommand = sqlCmd3
adapter1.Fill(ds, TABLEarr(fl))
Dim DataGridView1 As New DataGridView
Dim x As Integer = 100, y As Integer = 200
DataGridView1.Location = New System.Drawing.Point(x, y)
DataGridView1.Width = 250
DataGridView1.Height = 260
DataGridView1.DataSource = ds.DefaultViewManager
DataGridView1.DataSource = ds.Tables(waterarr(fl))
DataGridView1.Visible = True
Me.Controls.Add(DataGridView1)
sqlconn.Close()
End Sub
Show More