Click here to Skip to main content
15,887,683 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: Access a control or function from asp page in Global.asax Pin
Sandeep Mewara4-Apr-13 7:09
mveSandeep Mewara4-Apr-13 7:09 
AnswerMessage Closed Pin
4-Apr-13 7:42
SajjadZare4-Apr-13 7:42 
GeneralRe: Access a control or function from asp page in Global.asax Pin
Sandeep Mewara4-Apr-13 7:47
mveSandeep Mewara4-Apr-13 7:47 
QuestionPlease help me in following Linq Query Pin
indian1433-Apr-13 14:43
indian1433-Apr-13 14:43 
AnswerRe: Please help me in following Linq Query Pin
Narayana Palla4-Apr-13 8:00
Narayana Palla4-Apr-13 8:00 
GeneralRe: Please help me in following Linq Query Pin
indian1434-Apr-13 13:12
indian1434-Apr-13 13:12 
AnswerRe: Please help me in following Linq Query Pin
Narayana Palla5-Apr-13 10:08
Narayana Palla5-Apr-13 10:08 
GeneralRe: Please help me in following Linq Query Pin
Narayana Palla5-Apr-13 10:11
Narayana Palla5-Apr-13 10:11 
Here is the VB code for the same.

VB
Public Class DbTestClass
	Public Sub Test()
		Using context = New Model.ParadiseEntities()
			Dim items = From s In context.Survey3D.Take(5)New Testing() With { _
				Key .TestId = s.Id, _
				Key .Items = From v In context.Volumes Where v.Survey3D_Id = s.Idv, _
				Key .Items1 = From v In context.Volumes Where v.Survey3D_Id = s.Idv, _
				Key .Items2 = From v In context.Volumes Where v.Survey3D_Id = s.Idv, _
				Key .Items3 = From v In context.Volumes Where v.Survey3D_Id = s.Idv, _
				Key .Item = context.Volumes.Where(Function(a) a.Survey3D_Id = s.Id).FirstOrDefault() _
			}
			Dim list = items.ToList()
		End Using
	End Sub
End Class

<DataContract> _
Public Class Testing
	<DataMember> _
	Public Property TestId() As Guid
		Get
			Return m_TestId
		End Get
		Set
			m_TestId = Value
		End Set
	End Property
	Private m_TestId As Guid
	<DataMember> _
	Public Property Items() As IEnumerable(Of Volume)
		Get
			Return m_Items
		End Get
		Set
			m_Items = Value
		End Set
	End Property
	Private m_Items As IEnumerable(Of Volume)
	<DataMember> _
	Public Property Items1() As IEnumerable(Of Volume)
		Get
			Return m_Items1
		End Get
		Set
			m_Items1 = Value
		End Set
	End Property
	Private m_Items1 As IEnumerable(Of Volume)
	<DataMember> _
	Public Property Items2() As IEnumerable(Of Volume)
		Get
			Return m_Items2
		End Get
		Set
			m_Items2 = Value
		End Set
	End Property
	Private m_Items2 As IEnumerable(Of Volume)
	<DataMember> _
	Public Property Items3() As IEnumerable(Of Volume)
		Get
			Return m_Items3
		End Get
		Set
			m_Items3 = Value
		End Set
	End Property
	Private m_Items3 As IEnumerable(Of Volume)
	<DataMember> _
	Public Property Item() As Volume
		Get
			Return m_Item
		End Get
		Set
			m_Item = Value
		End Set
	End Property
	Private m_Item As Volume

End Class

GeneralRe: Please help me in following Linq Query Pin
indian1436-Apr-13 0:05
indian1436-Apr-13 0:05 
QuestionASP.Net website asks user and password continously Pin
idrisgani3-Apr-13 8:47
idrisgani3-Apr-13 8:47 
AnswerRe: ASP.Net website asks user and password continously Pin
R. Giskard Reventlov3-Apr-13 9:57
R. Giskard Reventlov3-Apr-13 9:57 
AnswerRe: ASP.Net website asks user and password continously Pin
AContractor3-Apr-13 10:11
professionalAContractor3-Apr-13 10:11 
GeneralRe: ASP.Net website asks user and password continously Pin
idrisgani3-Apr-13 12:52
idrisgani3-Apr-13 12:52 
GeneralRe: ASP.Net website asks user and password continously Pin
Jasmine25013-Apr-13 13:27
Jasmine25013-Apr-13 13:27 
GeneralRe: ASP.Net website asks user and password continously Pin
idrisgani4-Apr-13 0:07
idrisgani4-Apr-13 0:07 
GeneralRe: ASP.Net website asks user and password continously Pin
Jasmine25014-Apr-13 6:08
Jasmine25014-Apr-13 6:08 
QuestionIntranet Asp.Net application - are there any security prohibitions built in that would prohibit sending an Excel file with macros to a user's desktop?? Pin
Duke Carey3-Apr-13 8:19
professionalDuke Carey3-Apr-13 8:19 
AnswerRe: Intranet Asp.Net application - are there any security prohibitions built in that would prohibit sending an Excel file with macros to a user's desktop?? Pin
R. Giskard Reventlov3-Apr-13 8:47
R. Giskard Reventlov3-Apr-13 8:47 
GeneralRe: Intranet Asp.Net application - are there any security prohibitions built in that would prohibit sending an Excel file with macros to a user's desktop?? Pin
Duke Carey3-Apr-13 9:24
professionalDuke Carey3-Apr-13 9:24 
GeneralRe: Intranet Asp.Net application - are there any security prohibitions built in that would prohibit sending an Excel file with macros to a user's desktop?? Pin
R. Giskard Reventlov3-Apr-13 9:46
R. Giskard Reventlov3-Apr-13 9:46 
GeneralRe: Intranet Asp.Net application - are there any security prohibitions built in that would prohibit sending an Excel file with macros to a user's desktop?? Pin
Jasmine25013-Apr-13 13:18
Jasmine25013-Apr-13 13:18 
AnswerRe: Intranet Asp.Net application - are there any security prohibitions built in that would prohibit sending an Excel file with macros to a user's desktop?? Pin
Jasmine25013-Apr-13 13:17
Jasmine25013-Apr-13 13:17 
QuestionHow to create MX Excel file from DataTable? Pin
Tesic Goran2-Apr-13 22:58
professionalTesic Goran2-Apr-13 22:58 
AnswerRe: How to create MX Excel file from DataTable? Pin
AContractor3-Apr-13 1:50
professionalAContractor3-Apr-13 1:50 
AnswerRe: How to create MX Excel file from DataTable? Pin
Jasmine25013-Apr-13 5:50
Jasmine25013-Apr-13 5:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.