16,003,462 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 Member 9017207 (Top 31 by date)
Member 9017207
28-Aug-17 22:29pm
View
THis is something totally different what I expected in the result. I wanted to show all rows till the sum(purchase_qty) exceeds closing stock. Even show next row. BUt that's it.
Member 9017207
27-Apr-16 4:04am
View
in the findcontrol label1, I'll mention the column name?
Member 9017207
27-Apr-16 3:28am
View
In the email body what to mention?
Member 9017207
27-Apr-16 1:17am
View
I'm a newbie. Can u pls give an example?
Member 9017207
9-Feb-16 11:59am
View
Just show column data as a button/link (not inside gridview)
Member 9017207
9-Feb-16 10:49am
View
I know how to bind in gridview. Any chance I can show those in links or button (not in gridview)
Member 9017207
6-Jan-16 4:52am
View
What can I do to solve it?
Member 9017207
5-Jan-16 7:44am
View
You are right. Error is coming in the line after that
document.set_RecordSelectionFormula(document.get_RecordSelectionFormula() + str);
Member 9017207
7-Dec-15 12:49pm
View
OK I will try this.
And after int count = cmd.ExecuteScalar(); I can show the display message right?
Member 9017207
7-Dec-15 12:38pm
View
OK I will try this.
And after counts = (int) com.ExecuteScalar(); I can show the display message right?
Member 9017207
4-Dec-15 1:21am
View
Its not giving count :(
Member 9017207
4-Dec-15 0:32am
View
I am just inserting to date and from date
Member 9017207
4-Dec-15 0:26am
View
I would like to go for option one. Can u help me write the query? I'm a newbie. Sorry
Member 9017207
30-Oct-15 3:47am
View
Thanks man. Much appreciated. Solved my problem.
Member 9017207
30-Oct-15 3:19am
View
I get the exception. The given path's format is not supported.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NotSupportedException: The given path's format is not supported.
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at _80IB_GUI.Form1.ExportTheFileAfterProcess(String sqlquery, String namefile)
at _80IB_GUI.Form1.button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Member 9017207
30-Oct-15 3:13am
View
Still didnot solve the issue. Works fine on my local machine. But not after I publish the application in server
Member 9017207
25-Aug-15 2:31am
View
Thanks a lot. ending parenthesis was causing the problem.
Member 9017207
21-Aug-15 2:51am
View
still not updating
Member 9017207
21-Aug-15 2:17am
View
I have already added parameters manually to the stored procedure. But still same error
Member 9017207
21-Aug-15 2:07am
View
Did that. Didn't find the edmx file
Member 9017207
21-Aug-15 2:06am
View
Didn't find the edmx file in any of the folders. I have the class diagrams file though. The .cd files
Member 9017207
21-Aug-15 2:00am
View
In the solution explorer I have the following folders
Project1
Project1.BusinessEntities
Project1.BusinessLogic
Project1.DataAccess
Project1.LINQObjects
Member 9017207
21-Aug-15 1:56am
View
in the solution explorer I don't fine anything. Can you please help?
Member 9017207
21-Aug-15 1:53am
View
yes i am using entity framework
Member 9017207
21-Aug-15 1:44am
View
Where to find the .edmx file? And the model browser?
Member 9017207
21-Aug-15 1:28am
View
Stored procedure have been changed. But how to refresh the data model? Sorry I"m a newbie. Can you please tell me the procedure?
Here is the whole procedure.
ALTER PROCEDURE [dbo].[SP_INSERT_INTO_FONDATION_BOLT_MST]
@JBoltNos BIGINT ,
@JBoltNos_desc [varchar](50),/*Added by Avinaash on 05/06/2013 */
@JBoltDia BIGINT ,
@JBoltDia_desc [varchar](50),/*Added by Avinaash on 05/06/2013 */
@YieldStress BIGINT ,
@YieldStress_desc [varchar](50),/*Added by Avinaash on 05/06/2013 */
@PitchCircleDia BIGINT ,
@PitchCircleDia_desc [varchar](50),/*Added by Avinaash on 05/06/2013 */
@BoltLen BIGINT ,
@BoltLen_desc [varchar](50),/*Added by Avinaash on 05/06/2013 */
@ProjectedBLen BIGINT ,
@ProjectedBLen_desc [varchar](50),/*Added by Avinaash on 05/06/2013 */
@Cost INT ,
@Product_Type [bigint],/*Added by Avinaash on 05/06/2013 */
@Bolt_Type [varchar](30),/*Added by Avinaash on 05/06/2013 */
@ED_ACC [bit],/*Added by Avinaash on 05/06/2013 */
@UNIT_OF_MEASUREMENT [varchar](50),/*Added by Avinaash on 05/06/2013 */
@IsActive BIT ,
@CreatedBy BIGINT ,
@CreatedOn DATETIME,
@ImagePath VARCHAR(MAX)
AS
BEGIN
SET NOCOUNT ON;
BEGIN TRY
BEGIN --condiditon to check 'similar data present' added by prasadh july 8rd 2013
IF exists( Select 'x' From DEF_FONDATION_BOLT_MST where [JBoltNos]=@JBoltNos AND [JBoltDia]=@JBoltDia AND [BoltLen]=@BoltLen AND [Product_Type]=@Product_Type and [Bolt_Type]=@Bolt_Type )
BEGIN
RAISERROR('Record With Similar Bolt Number,Diameter,Length For Associated Product & Bolt Type Already Present',16,1)
END
ELSE
BEGIN
--BEGIN TRANSACTION TransInsertBOLT
INSERT INTO dbo.DEF_FONDATION_BOLT_MST (/*Insertion Begins*/
[JBoltNos]
,[JBoltNos_desc]/*Added by Avinaash on 05/06/2013*/
,[JBoltDia]
,[JBoltDia_desc]
,[YieldStress]
,[YieldStress_desc]
,[PitchCircleDia]
,[PitchCircleDia_desc]
,[BoltLen]
,[BoltLen_desc]
,[ProjectedBLen]
,[ProjectedBLen_desc]
,[Cost]
,[Product_Type]
,[Bolt_Type]
,[ED_ACC]
,[UNIT_OF_MEASUREMENT]
,[IsActive]
,[CreatedBy]
,[CreatedOn]
,[ImagePath]
) VALUES(
@JBoltNos
,@JBoltNos_desc
,@JBoltDia
,@JBoltDia_desc
,@YieldStress
,@YieldStress_desc
,@PitchCircleDia
,@PitchCircleDia_desc
,@BoltLen
,@BoltLen_desc
,@ProjectedBLen
,@ProjectedBLen_desc
,@Cost
,@Product_Type
,@Bolt_Type
,@ED_ACC
,@UNIT_OF_MEASUREMENT
,@IsActive
,@CreatedBy
,@CreatedOn
,@ImagePath
)
/*Returns Success*/
SELECT 'SUCCESS' AS [STATUS],ERROR_LINE() [ERROR_LINE],ERROR_MESSAGE() [ERROR_MESSAGE],ERROR_NUMBER() [ERROR_NUMBER],ERROR_PROCEDURE() [ERROR_PROCEDURE],ERROR_SEVERITY() [ERROR_SEVERITY],ERROR_STATE() [ERROR_STATE],@@TRANCOUNT [TRANCOUNT],@@ROWCOUNT [ROWCOUNT]
--COMMIT TRANSACTION TransInsertBOLT
END
END
END TRY
BEGIN CATCH
--ROLLBACK TRANSACTION TransInsertBOLT
/*Returns Error*/
SELECT 'ERROR' AS [STATUS],ERROR_LINE() [ERROR_LINE],ERROR_MESSAGE() [ERROR_MESSAGE],ERROR_NUMBER() [ERROR_NUMBER],ERROR_PROCEDURE() [ERROR_PROCEDURE],ERROR_SEVERITY() [ERROR_SEVERITY],ERROR_STATE() [ERROR_STATE],@@TRANCOUNT [TRANCOUNT],@@ROWCOUNT [ROWCOUNT]
END CATCH
SET NOCOUNT OFF;
END
Member 9017207
21-Aug-15 1:26am
View
Deleted
Stored procedure have been changed. But how to refresh the data model? Sorry I"m a newbie. Can you please tell me the procedure?
Member 9017207
19-Aug-15 3:19am
View
UserID takes bigint
Member 9017207
2-Jan-13 6:10am
View
How to find max selected month value... can u pls write the exact code. I'm a newbie. Pls
Member 9017207
2-Jan-13 6:00am
View
Yes one month fee. I want to show values in textbox when I click either two months, three months or more
Member 9017207
18-Jul-12 5:37am
View
How can we do that? Please guide
Show More