15,912,329 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 Javascript questions
View Visual Basic questions
View Python 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 mufeed k (Top 8 by date)
mufeed k
11-Jun-17 9:13am
View
Thanks for you reply
How to check running services, and how to disable?
mufeed k
11-May-17 10:23am
View
ok. thanks
mufeed k
1-Nov-16 7:33am
View
i mean my double value is 18.0051 and i want to round this to 18.00 (after 2 decimal point)
mufeed k
17-Oct-16 12:45pm
View
Sir i updated my question, with the codes i tried
thanks for ur attention on my question
mufeed k
17-Oct-16 11:08am
View
yes i tried already setting in constructor
there is some progress, but still flickering while a mesage box shows in client form
mufeed k
24-Oct-14 7:05am
View
i created setup file as an example got from internet. its working fine but i my database is mysql and i want to install my sql when i install my .exe file or .msi file
mufeed k
24-Oct-14 7:02am
View
i need to create setup package and install this another computer which do not have mysql and visual studio
mufeed k
16-May-14 21:53pm
View
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data;
using System.Data.SqlClient;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
SqlConnection con;
SqlDataAdapter da;
SqlCommand cmd;
DataTable dt;
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
con = new SqlConnection("your coonection string");
cmd=new SqlCommand ();
cmd.Connection = con;
con.Open();
cmd.CommandText = "select query";
da = new SqlDataAdapter();
da.SelectCommand = cmd;
dt = new DataTable();
da.Fill (dt);
if (dt.Rows.Count > 0)
{
MessageBox.Show("Login succesfull");
}
else
{
MessageBox.Show("Invalid username or password");
}
}
}
}
Show More