16,012,508 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 .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 Mostafa Metwally (Top 36 by date)
Mostafa Metwally
18-Mar-13 16:18pm
View
It's My pleasure Mr Sergy To Accept your Answer
And Sorry For My non question
Mostafa Metwally
18-Mar-13 16:10pm
View
Thank You Mr Sergy
Voted 5
Mostafa Metwally
18-Mar-13 16:09pm
View
thank you Mr. Marcus
Voted 5
Mostafa Metwally
18-Mar-13 15:57pm
View
I Tried This and the Same Problem
Mostafa Metwally
18-Mar-13 15:52pm
View
sorry i updated my question
Mostafa Metwally
18-Mar-13 15:38pm
View
i mean when i debuging
the compiler said that There is no row at position 0
Mostafa Metwally
18-Mar-13 15:36pm
View
se here
DataTable dt= cc.searchbyname(txtsearch.Text);
it's not empty
Mostafa Metwally
6-Mar-13 13:51pm
View
you should declare the parameters
Mostafa Metwally
5-Mar-13 11:07am
View
Don't make it identety
Mostafa Metwally
3-Mar-13 15:17pm
View
It should be
Folder.second_form f = new Folder.second_form();
f.Show();
this.Hide();
Mostafa Metwally
3-Mar-13 12:36pm
View
yes yes you are right
i edited This Now
Mostafa Metwally
3-Mar-13 12:32pm
View
Deleted
yes yes you are right
i edited This Now
Mostafa Metwally
24-Feb-13 13:54pm
View
No this solution for textbox when it's null
But I want not to insert data for the same Id into database
Mostafa Metwally
21-Feb-13 18:00pm
View
sure i'll use it
i'll use tabbed window better
Mostafa Metwally
21-Feb-13 17:59pm
View
yes the tabbed window is the best choice
Mostafa Metwally
21-Feb-13 17:47pm
View
thank you Mr Sergey
Mostafa Metwally
21-Feb-13 17:33pm
View
someone said to me use Mdi
like..
form sell = new form();
form.MdiParent = this;
form.Dock = DockStyle.Fill;
form.Show();`
Mostafa Metwally
21-Feb-13 17:33pm
View
Deleted
someone said to me use Mdi
like..
form sell = new form();
form.MdiParent = this;
form.Dock = DockStyle.Fill;
form.Show();`
Mostafa Metwally
21-Feb-13 17:28pm
View
:(
Mostafa Metwally
14-Feb-13 20:43pm
View
thank you Mr.Jibesh
Mostafa Metwally
14-Feb-13 20:36pm
View
thank you Mr.Jibesh
Mostafa Metwally
14-Feb-13 20:24pm
View
yes you are right it's not a good idea to ask the user to enter coma separated value.
ok but now what i have to do
Mostafa Metwally
14-Feb-13 20:16pm
View
thank you Mr.Sergey
Mostafa Metwally
14-Feb-13 20:13pm
View
i'm writing a number in the textbox
like 10 , 20 , 55 ... etc
and then press button
Mostafa Metwally
14-Feb-13 20:03pm
View
i'm using Windows Forms and i want to make a salary form to the employee
yes it Executed under the debugger and the input string is textbox
Mostafa Metwally
14-Feb-13 20:02pm
View
I'm typing a number in the text box to Calculate the total salary
Mostafa Metwally
14-Feb-13 19:47pm
View
Deleted
i'm using Windows Forms and i want to make a salary form to the employee
yes it Executed under the debugger and the input string is textbox
Mostafa Metwally
14-Feb-13 19:25pm
View
i understand that
thank you Mr.Sergey
i'll be carful
Mostafa Metwally
14-Feb-13 19:19pm
View
i tried what you say and same problem
my data comes from ui
Mostafa Metwally
9-Feb-13 10:46am
View
Thank you Very Much :)
Mostafa Metwally
5-Feb-13 15:53pm
View
thank you Mr.pete for your answer
Mostafa Metwally
5-Feb-13 15:43pm
View
Many thanks to you Mr.zoltan for your answer
Mostafa Metwally
5-Feb-13 7:36am
View
I Already Connected with Database
Collapse | Copy Code
class empreg:Adoconnection
{
SqlConnection con;
SqlCommand com;
public empreg()
{
con = new SqlConnection(GetConnection());
com = new SqlCommand();
}
Collapse | Copy Code
public string GetConnection()
{
return "data source=.;database=Msprogect;integrated security=true;";
}
Mostafa Metwally
5-Feb-13 7:12am
View
I used ExecuteNonQuery();
and same problem :(
Mostafa Metwally
5-Feb-13 7:10am
View
so that i'll use this
public int ExecuteNonquerycommand()
{
con.Open();
com.Connection = con;
int r=com.ExecuteNonQuery();
con.Close();
return r;
Mostafa Metwally
5-Feb-13 7:07am
View
because it's a combobox and it will inseret into birthday column in database
so i used datatable because it's a selected value
was that right ?
Show More