7
Answers

deduction Values

yesubabu k

yesubabu k

8y
360
1
i have a gridview in that 
 
CO_RoomRent as [Room Rent],
CO_ExtrbedAmount as [Extra Bed Amount],
CO_ExtrapersonAmount as [Extra Person Amount],
CO_TotalRoomRent as [Total Amount],
CO_TransactionAmount as [Transaction Amount]
those are the fields
now in textbox i will give discount percentage
using that percentage
deduct that percentage
display
remaining value display in gridview
 
desktop application
c#
sql server2008
please help me 
 
 
 
Answers (7)
1
Tapan Patel

Tapan Patel

NA 8.1k 101k 8y
Problem is supposed to be reside in the Metadata definition of the edmx file.
 If you are using EntityConnectionStringBuilder & If your edmx is in same project, then it should look something as below: (I have folder hierarchy so it looks bit large.)
 

  1. EntityConnectionStringBuilder Object.Metadata = string.Format("res://*/Folder1.SubFolder.EDMXFolder.EDMXFileName.csdl|res://*/Folder1.SubFolder.EDMXFolder.EDMXFileName.ssdl|res://*/Folder1.SubFolder.EDMXFolder.EDMXFileName.msl";  
 
 If it is in different project, it should start with project name. Folder name and so on.
 
 
Please take a look at how to build connection string at below link.
 
https://msdn.microsoft.com/en-us/library/bb738533(v=vs.110).aspx
 
 
Please mark it as an answer if it resolves the issue. 
 
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 8y
Please make sure that connection string is correct. Secondly make sure that server instance is running mode in server.
0
Ritesh Singh

Ritesh Singh

NA 1.3k 40.1k 8y
Hi,
 
Please check the below nice link:
 
http://stackoverflow.com/questions/24398247/entity-framework-database-issue-a-network-related-or-instance-specific-error-o
http://stackoverflow.com/questions/7781426/entity-framework-throws-exception-network-related-or-instance-specific-error-o
 
Note: Please accept the answer if it help you and answer your question.
 
Thanks & Regards,
Ritesh