16,018,802 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 Lotus90 (Top 15 by date)
Lotus90
19-Feb-13 10:48am
View
Yea . I'm sure too , still not detect it !
Lotus90
19-Feb-13 10:46am
View
public string GetConnectionString()
{
return System.Configuration.ConfigurationManager.ConnectionStrings["ComputerManagement"].ConnectionString;
}
private void button1_Click(object sender, EventArgs e)
{
try
{
OleDbConnection conn = new OleDbConnection(GetConnectionString());
OleDbCommand command = new OleDbCommand();
command.CommandType = CommandType.Text;
conn.Open();
command = conn.CreateCommand();
command.CommandText = "INSERT INTO Clients(C_name,C_phone ,C_mob ,C_add , C_email ,C_account) VALUES ('" + textBox1.Text + "','" + textBox2.Text + "','" + textBox3.Text + "','" + textBox4.Text + "','" + textBox5.Text + "','" + textBox6.Text + "')";
command.ExecuteNonQuery();
conn.Close();
}
catch (Exception) { throw; }
Lotus90
19-Feb-13 7:54am
View
I search the web and I don't get what I want :)
Lotus90
19-Feb-13 7:54am
View
I did that ; but when I add it to my form and want to write an insertion query inside a button ;
It doesn't connect to the database ?
Lotus90
16-Dec-12 7:29am
View
But I'm downloading windows 8 dear! ; I think the problem come from the VMWare it self
Lotus90
10-Dec-12 12:36pm
View
Hi Sergey
Sorry I put the reply in wrong place last time.
I think he didn't share the code with anybody; in addition I wanna to understand how he did it, not only to get the code. I had search about what they called it "realtime searching in vb.net" but I don't find the answer.
Thx for your comment and ur concern
Regards
Lotus90
10-Dec-12 12:26pm
View
Hi Shdmehr
as I mention before to another developer :
"What I'm asking about is the similar to the following video:
http://www.youtube.com/watch?v=pp_R8sCMDso
Searching in the Database using the gridview where the user can get the results in fast and easy way .This is what I mean by realtime searching in VB.net"
Regards
Lotus90
10-Dec-12 12:23pm
View
Hi Dave
Thx for ur comment.
What I'm asking about is the similar to the following video:
http://www.youtube.com/watch?v=pp_R8sCMDso
Searching in the Database using the gridview where the user can get the results in fast and easy way .This is what I mean by realtime searching in VB.net
Regards
Lotus90
3-Dec-12 14:14pm
View
Any Developer will automatically know what I mean :D
Thx for ur comment lool :D
Lotus90
3-Dec-12 14:13pm
View
I think this could explain to you what you want !
http://www.youtube.com/watch?v=pp_R8sCMDso
Lotus90
30-Oct-12 9:20am
View
Thank u ..It's working well !
Lotus90
5-Oct-12 15:22pm
View
Then what I have to do ?!
Lotus90
5-Oct-12 14:22pm
View
Imports System.Data.SqlClient
Imports System.Data
Dim con As New SqlConnection("Data Source=D:\Users\Reema\Documents\Test.sdf")
Dim cmd As SqlCommand
Dim dr As SqlDataAdapter
Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click
If TextBox2.Text <> "" And TextBox3.Text <> "" Then
con.Open()
cmd.CommandText = "insert into test(id , name ) VALUES (' " & TextBox2.Text & " ','" & TextBox3.Text & " ')"
cmd.ExecuteNonQuery()
con.Close()
End If
End Sub
Lotus90
28-Sep-12 12:49pm
View
Thaaank u ..It's working well :))))
Lotus90
14-Jun-12 8:42am
View
I'm working on GridView.
What u mean by inside Item template ? it's give an error
Show More