15,921,841 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 Member 12905345 (Top 24 by date)
Member 12905345
21-May-17 8:28am
View
What I mean sir is I tried
If txtName.Text="" Then
Msgbox("Please fill up the form")
End if
Sorry for that.
Member 12905345
8-Mar-17 0:57am
View
The computername in "Login failed for user "computername/Guest" is the computername of pc1
Member 12905345
7-Mar-17 22:06pm
View
Sir, thank you... the PC2 has successfully open my server in PC1 using SQL Server Authentication.. But when PC2 run the Debug of my Dental System to Login (by the way I made a Login form using vbnet) the error occurs saying "Login failed for user "computername/Guest".
How to fix it? Thanks
Member 12905345
7-Mar-17 12:53pm
View
I am using SQL Server express.. I have tutorial on how to open the database of PC1 by PC2 using 1433.. What I am trying to do sir is to allow PC2 to login in my dental system but errors occurs above.
Member 12905345
7-Mar-17 12:33pm
View
So, I created Assisstant as User under of Security of my Database..
Server=.\SQLEXPRESS;database =NEWCMO;User Id=Assisstant; Password=glen;
is it correct?
Member 12905345
7-Mar-17 11:33am
View
"Server=.\SQLEXPRESS;database =NEWCMO; integrated security=True; "
Member 12905345
8-Feb-17 21:21pm
View
About the SQLi but I already remove the String in Query.
Member 12905345
8-Feb-17 16:26pm
View
So I need to remove the codes that can cause SQLi..
those columns are on the datagridview, and what i want is when everytime I search in in search bar for example "Dela Cruz" , all rows with the "Dela Cruz" will appear the those row have not will hide.
Can you please show me how to use the textbox to be search engine and the datagridview will show the result of search?
Member 12905345
8-Feb-17 15:38pm
View
those columns are on the datagridview, and what i want is when everytime I search in in search bar for example "Dela Cruz" , all rows with the "Dela Cruz" will appear the those row have not will hide.
Member 12905345
8-Feb-17 9:33am
View
How could I code if only specific columns? like
in tblPayment I will get the column patientID, billingID, Surname,Firstname, Age, Balance
And in tblTreatment only the Remarks and Complain?
I really sorry if I demand too much but thanks for consideration.
Member 12905345
8-Feb-17 8:44am
View
CREATE TABLE [dbo].[tblTreatment] (
[treatmentID] INT IDENTITY (1, 1) NOT NULL,
[Remarks] NVARCHAR (2000) NULL,
[Complain] NVARCHAR (2000) NULL,
CONSTRAINT [PK_tblTreatment] PRIMARY KEY CLUSTERED ([treatmentID] ASC)
);
Member 12905345
8-Feb-17 8:43am
View
CREATE TABLE [dbo].[tblPayment] (
[patientID] INT NULL,
[billingID] INT IDENTITY (1, 1) NOT NULL,
[treatmentID] INT NULL,
[Surname] NVARCHAR (50) NULL,
[Firstname] NVARCHAR (50) NULL,
[Age] INT NULL,
[Total Amount to be Paid] FLOAT (53) NULL,
[Discount] NVARCHAR (50) NULL,
[Discounted Amount] FLOAT (53) NULL,
[Type of Payment] NVARCHAR (MAX) NULL,
[Payment] FLOAT (53) NULL,
[Balance] FLOAT (53) NULL,
[Change] FLOAT (53) NULL,
CONSTRAINT [PK_tblPayment] PRIMARY KEY CLUSTERED ([billingID] ASC)
);
Member 12905345
8-Feb-17 8:08am
View
Im going to use the datagridview to view the specific columns from tables and filter it everytime I search a data while these columns are concatenated.. But I dont know why primary key or foreign key is important??
Member 12905345
6-Feb-17 6:23am
View
So, it gonna be...
Dim searchQuery As String = "SELECT * FROM tblTreatment WHERE CONCAT(CONCAT(patientID,Surname,Firstname,Age,...etc..),CONCAT(Clm34,Clm35,Clm36,Clm37,Clm38,Clm41,Clm42))
Am I correct if Im going to apply in my actual program?
Member 12905345
6-Feb-17 6:02am
View
How could I concatenate the halfs??
Member 12905345
22-Jan-17 22:11pm
View
I already change into character but it gives me a same problem
Member 12905345
22-Jan-17 4:19am
View
But when I unchecked the Null of Picture, it has an error saying
'PatientInfo' table
- Unable to modify table.
ALTER TABLE only allows columns to be added that can contain nulls, or have a DEFAULT definition specified, or the column being added is an identity or timestamp column, or alternatively if none of the previous conditions are satisfied the table must be empty to allow addition of this column. Column 'Picture' cannot be added to non-empty table 'PatientInfo' because it does not satisfy these conditions.
Member 12905345
17-Jan-17 21:21pm
View
Deleted
Thanks, it worked.. I already fix my update and delete button
Member 12905345
17-Jan-17 21:21pm
View
Deleted
Oh.. Thanks.. I already fix my update and delete button
Member 12905345
17-Jan-17 21:14pm
View
When I put the "DELETE FROM PatientInfo WHERE [Patient ID]=@PID"
An error occurs saying "Must declare the scalar variable "@PID"
and another error saying "Not allowed to change the "ConnectionString". The Connection's current state is open"
Member 12905345
17-Jan-17 21:10pm
View
How could I do that sir?
Member 12905345
21-Dec-16 18:57pm
View
hi.. I tried it over ans over again the procedure that you suggested.. By the way. I also have a separated installed sql server 2012. But I think, shoul I uninstalled the sql server 2012 and installed a SQL Server Express????? Thanks
Member 12905345
17-Dec-16 23:56pm
View
I didnt find if the value of UserID could get and use it in if else condition
Member 12905345
16-Dec-16 20:49pm
View
I am using a vb. net
Show More