15,881,089 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 apple blue (Top 12 by date)
apple blue
4-Jun-15 23:07pm
View
What kind of language do you speak? Weird
apple blue
29-May-15 4:35am
View
Oh, now I know. Thanks for your explanation Advay Pandya =)
apple blue
29-May-15 2:05am
View
Ouh yaa ! Thanks a lotttttt for helping me =)
apple blue
29-May-15 2:05am
View
Hi Advay Pandya :)
Thanks! Your solution works :)
Both this query can be used on my program. I've alter my query and also try your given query. Both works :)
But for my query, i've alter to do this query :
SELECT M_C FROM [dbo].[TPATH]
WHERE M_C IN (SELECT M_C FROM [dbo].[TTENS])
and M_C = @M_C
apple blue
27-May-15 20:49pm
View
Hi Sascha Lefèvre and ArunRajendra Smile ! :)
This code are use for manage my database transactions.
Hide Copy Code
Dim DHHConn As New DRConnection("", "")
Actually, i has another class namely as DRConnection that stored all the function for this DRConnection to open and close the connection. I don't has any idea where to fixed this error.
Actually, this program works like this :
1. user will choose path ID (retrieve all this data from table TPATH) that they want to delete.
2. before the path ID would be delete, it will compare this path ID from table TTENS of database SDO and table TPATH of database SDO where this two table share the same column namely as M_C.
3. this comparing method was write in Stored Procedure(SP).
Hide Copy Code
CREATE PROCEDURE [dbo].[sp_Path_ID] @M_C varchar(20)
AS
BEGIN
SELECT M_C FROM [dbo].[TPATH]
WHERE M_C NOT IN (SELECT M_RTE_C FROM [dbo].[TTENS])
and M_C = @M_C
END
and here the line where i'm call my SP
Hide Copy Code
ds = DHHConn.RunSPReturnDS("sp_Path_ID", New SqlParameter("@M_C", DeletePathID)
4. after done compared, then if path ID that user choose are not in table TTENS so, the path ID can be delete. But if path ID choose by user are in table TTENS, so the path ID cannot be delete.
example :
[IMG]http://i59.tinypic.com/10ct029.png[/IMG]
My problem now :
1. i'm not be able to compare this data
2. i get this error Fill: SelectCommand.Connection property has not been initialized.
apple blue
27-May-15 20:48pm
View
Deleted
Hi Sascha Lefèvre and ArunRajendra Smile | :)
This code are use for manage my database transactions.
Hide Copy Code
Dim DHHConn As New DRConnection("", "")
Actually, i has another class namely as DRConnection that stored all the function for this DRConnection to open and close the connection. I don't has any idea where to fixed this error.
Actually, this program works like this :
1. user will choose path ID (retrieve all this data from table TPATH) that they want to delete.
2. before the path ID would be delete, it will compare this path ID from table TTENS of database SDO and table TPATH of database SDO where this two table share the same column namely as M_C.
3. this comparing method was write in Stored Procedure(SP).
Hide Copy Code
CREATE PROCEDURE [dbo].[sp_Path_ID] @M_C varchar(20)
AS
BEGIN
SELECT M_C FROM [dbo].[TPATH]
WHERE M_C NOT IN (SELECT M_RTE_C FROM [dbo].[TTENS])
and M_C = @M_C
END
and here the line where i'm call my SP
Hide Copy Code
ds = DHHConn.RunSPReturnDS("sp_Path_ID", New SqlParameter("@M_C", DeletePathID)
4. after done compared, then if path ID that user choose are not in table TTENS so, the path ID can be delete. But if path ID choose by user are in table TTENS, so the path ID cannot be delete.
example :
[IMG]http://i59.tinypic.com/10ct029.png[/IMG]
My problem now :
1. i'm not be able to compare this data
2. i get this error Fill: SelectCommand.Connection property has not been initialized.
apple blue
27-May-15 20:47pm
View
Hi Sascha Lefèvre and ArunRajendra Smile ! :)
This code are use for manage my database transactions.
Hide Copy Code
Dim DHHConn As New DRConnection("", "")
Actually, i has another class namely as DRConnection that stored all the function for this DRConnection to open and close the connection. I don't has any idea where to fixed this error.
Actually, this program works like this :
1. user will choose path ID (retrieve all this data from table TPATH) that they want to delete.
2. before the path ID would be delete, it will compare this path ID from table TTENS of database SDO and table TPATH of database SDO where this two table share the same column namely as M_C.
3. this comparing method was write in Stored Procedure(SP).
Hide Copy Code
CREATE PROCEDURE [dbo].[sp_Path_ID] @M_C varchar(20)
AS
BEGIN
SELECT M_C FROM [dbo].[TPATH]
WHERE M_C NOT IN (SELECT M_RTE_C FROM [dbo].[TTENS])
and M_C = @M_C
END
and here the line where i'm call my SP
Hide Copy Code
ds = DHHConn.RunSPReturnDS("sp_Path_ID", New SqlParameter("@M_C", DeletePathID)
4. after done compared, then if path ID that user choose are not in table TTENS so, the path ID can be delete. But if path ID choose by user are in table TTENS, so the path ID cannot be delete.
example :
[IMG]http://i59.tinypic.com/10ct029.png[/IMG]
My problem now :
1. i'm not be able to compare this data
2. i get this error Fill: SelectCommand.Connection property has not been initialized.
apple blue
27-May-15 0:35am
View
See my posting below :)
apple blue
27-May-15 0:34am
View
See my posting below :)
apple blue
27-May-15 0:34am
View
Deleted
///
apple blue
10-Apr-15 5:24am
View
Deleted
Richard, its not working. I cant get it :(
apple blue
6-Apr-15 4:00am
View
Its that the same way should i use if I have my user interface like : http://oi61.tinypic.com/mwy5b8.jpg
And database : http://oi60.tinypic.com/sgmrs3.jpg
Each time user key in the name of name textbox, it also will directly display age and their hobby. I had problem on how to make the loop for hooby column and to display it according to the label. In other word, I would like to make my program display as below :
Name : Jason
Age : 20
Hobby : Swimming
Games
Show More