15,893,622 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 sukhen dass (Top 36 by date)
sukhen dass
14-Aug-18 5:52am
View
Point is not that we have alternative the question is this possible using ! or ^ or not
sukhen dass
14-Aug-18 1:14am
View
Have read this docs many time but did not find solution as nowhere is given uses of '%[!anyCharacter]%'. only given is either from first not like('[!anyCharacter]%') or from last not like('%[!anyCharacter]') but not for full search
sukhen dass
15-May-15 6:05am
View
when i try with other printer its working..so, what could be the reason that not working with earlier printer.
sukhen dass
14-May-15 9:22am
View
its more than 2500+ line of code...not able to post. codeproject not allowing to post.
sukhen dass
14-May-15 9:21am
View
Deleted
its more than 2500+ line of code...not able to post. codeproject not allowing to post.
sukhen dass
13-May-15 12:44pm
View
i dont have any manual
sukhen dass
13-May-15 12:28pm
View
no only a orange color blinking led
sukhen dass
12-Jun-14 7:11am
View
don't know what setting u are pointing. but i have turned on/off xpenablevisualstyle in application setting
sukhen dass
12-Jun-14 4:18am
View
i am not using any transparent Color/behavior even i dont need transparency.its working fine in window7 and not transparent but in windowxp its transparent.
sukhen dass
4-Apr-14 4:00am
View
thanks--your solution is correct if its parent_id but i want if i pass any link_id/unit id it should return all rows parent to child/child to parent data vice a versa in a single query
sukhen dass
4-Apr-14 2:18am
View
i will pass only one input mean i will pass single unit_id(For.exe USP_GET_LINK_UNITS(1) or USP_GET_LINK_UNITS(2) or USP_GET_LINK_UNITS(3)).. but it should return all link rows either child to parent or parent to child...thanks
sukhen dass
20-Dec-13 2:52am
View
thanks for the suggestion but can not change the application which is live
sukhen dass
21-Jan-13 23:52pm
View
thanks but i cant do that because control is using on many forms in the project..please,give some other soluton if any
sukhen dass
15-Jan-13 4:45am
View
compiled many times but its not reflecting..however it is available in code window but not on form(at desing time)
sukhen dass
4-Dec-12 3:19am
View
Thanks Kasim...but your query will not give the desired output because there is no group by included..please,refer the desired output given
sukhen dass
26-Feb-12 0:08am
View
dear team members please,suggest alternate solution
sukhen dass
10-Feb-12 10:08am
View
Is there any alternative to achieve with code reusability
sukhen dass
2-Feb-12 9:59am
View
Please,team members suggest me the better solution of this problem
sukhen dass
2-Feb-12 4:59am
View
in my case implementation would be same from all inherited controls....thats why the problem
sukhen dass
12-Nov-11 10:17am
View
thanks...good explanation...but i dint get as per my question use of readonly/writeonly keyword when it is not in vb 6.0/c# but still we can write readonly/writeonly properties.
sukhen dass
12-Nov-11 9:38am
View
thanks for your valuable time.
1.I know its F4 to open the property window...but my question is not how to open the property window my question is how to navigate in that property window.
2.you might be right about the readonly property...but if microsoft has given this it should be written somewhere in msdn but i dint find there in msdn and must be some purpose
sukhen dass
12-Nov-11 9:25am
View
could you please...elaborate the question...your question is not clear..
sukhen dass
7-Nov-11 1:09am
View
i want to open a modal form in asp.net...I have a dll and I will use this dll in my different applications so I dont want to write the same code again n again so I want to use dll.This dll will open a modal form on some button click in my application.
sukhen dass
18-Oct-11 2:04am
View
Thank U Bala u helped me lot and thanks for your precious time.....its working....I will get back to u later if any problem comes....
sukhen dass
17-Oct-11 6:26am
View
I am developing this application for multiple Clients of Different Organizations.Databse will be same in SQL and location would be one that is our server only but because each organization will have their own organization data but database structure would be common for all and they will access their own database only.So,For different organization its connection string would be different.
sukhen dass
17-Oct-11 4:22am
View
Actually I want "string" value as a return not the "int" value as string.If I return an Int value as string is working but in actual I want the string value as return...For ex.I have a column Id but it has Varchar Value(AI01)
.If its an integer column and values are(1,2,3.....n) its working but varchar value not working...
sukhen dass
15-Oct-11 10:20am
View
Bala..I can use this method but the problem is multiple will user use the different database but all tables and everything will we same.So,i dont think it would be better the design time environment so,I m prefering This method....What is your suggestion about this???
sukhen dass
15-Oct-11 6:47am
View
mapping manually
sukhen dass
14-Oct-11 8:20am
View
I have changed it to....
ALTER PROCEDURE [dbo].[SP_Get_Next_Id1]
(
@Table_Name varchar(40),
@Column_Name varchar(40), --From which column to get the MaxId
@SQL_Ret VARCHAR(40) output
)
AS
Declare @SQL_MAX nVarchar(100)
DECLARE @ParmDefinition NVARCHAR(500)
--DECLARE @Return_Value int
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON
Begin
--print 'Seelct Max('+@Column_Name+')+1 From '+@Table_Name
set @SQL_MAX='Select @SQL_MAX_OUT=isnull(Max('+@Column_Name+'),0)+1 From '+@Table_Name
--set @SQL_Ret=EXEC(@SQL_MAX)
SET @ParmDefinition = N'@SQL_MAX_OUT varchar(40) OUTPUT'
exec sp_executesql @SQL_MAX,@ParmDefinition,@SQL_MAX_OUT=@SQL_Ret OUTPUT
End
END
sukhen dass
14-Oct-11 6:12am
View
---I TRIED THIS----
[global::System.Data.Linq.Mapping.FunctionAttribute(Name="dbo.SP_Get_Next_Id1")]
public string SP_Get_Next_Id1([global::System.Data.Linq.Mapping.ParameterAttribute(Name="Table_Name", DbType="VarChar(40)")] string table_Name, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="Column_Name", DbType="VarChar(40)")] string column_Name, [global::System.Data.Linq.Mapping.ParameterAttribute(Name="SQL_Ret", DbType="VarChar(40)")] ref string SQL_Ret)
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), table_Name, column_Name, SQL_Ret);
SQL_Ret = Convert.ToString((result.GetParameterValue(2)));
return ((string)(result.ReturnValue));
}
-----CALLING---------
String strReturn_Var = "";
Db_dc.SP_Get_Next_Id1("CMMS_DEPOT_MASTER", "Depot_ID", ref strReturn_Var);
---ERROR----
I tried but it is giving this error msg 'System.String' is not a valid return type for a mapped stored procedure method.
sukhen dass
13-Oct-11 5:39am
View
Hi,Bala thanks for your solution its working....But how to return string value rather than integer is it possible
sukhen dass
12-Oct-11 5:28am
View
Bala pls,reply
sukhen dass
10-Oct-11 8:25am
View
Hi,bala thank u to give your precious time...I tried as per your solution but the same error msg and I changed in variable declaration "int? return_variable = 0;" and in the defined function "ref int? SQL_Ret" parameters as per the requirement to define the nullable
and error is at this line
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), TableName, Column_Name, SQL_Ret);
sukhen dass
27-Aug-10 7:20am
View
thanks for your response to my posts...I know we can set the keyboard shortcut of our own in dot net but it only gives the key to set which is already defined or in menu.If you ever have worked in vb 6.0.Just open it and check the shortcut key to navigate through the properties if property window is open.
sukhen dass
26-Aug-10 1:29am
View
thank u for the answer.But my question is.Suppose I draw a text box at design time.As I Pressed F4 It opens the property window to set the property that i need.Now what I want in that property window Suppose i have to change its Name property but by default it focus on Its text property,Now i want to go its name property through keyboard shortcut...As it happens In vb 6.0.throught Ctrl+Shift+InitialCharacter.For More clarification pls post back.
sukhen dass
25-Aug-10 8:40am
View
I m not asking in the code window.But i m asking to work when property window is open.
Show More