yea.. you don't need of any separate layer for DB while you have .EDMX file. You can call the .EDMX directly from BL
Shoaib Hussain
Posts
-
three tier architecture in linq to entities -
Static member variable in class?yes static member variables are same for all objects of the class. As the scope of static member variable is class level not of object level. Each object of the class can access and share static member of class. Static member is accessed via class name and not by object name, like //static member accessment className.staticmember = someValue //object level variable. objName.objMember
-shoaib-
-
thumb.db file is not updating itselfi am building a image gallery in ASP.NET. All images are placed in a specific folder and i want to show the thumb nails of all those image on the web page. Its all working well. Means that my page is displaying the thumb nails of all images that exists in the folder. The problem arise when i copy the new files in the folder, then the new copied files are not being displayed by thumbs.db file. Thumbs.db file donot update itself when new files are copied in the folder. how i can solve this problem that when ever i delete or copy images in the folder, the thumbs.db file updates itself???????????????
-<>-shoaib-<>-
-
thumb.db file is not updating itselfi am building a image gallery in ASP.NET. All images are placed in a specific folder and i want to show the thumb nails of all those image on the web page. Its all working well. Means that my page is displaying the thumb nails of all images that exists in the folder. The problem arise when i copy the new files in the folder, then the new copied files are not being displayed by thumbs.db file. Thumbs.db file donot update itself when new files are copied in the folder. how i can solve this problem that when ever i delete or copy images in the folder, the thumbs.db file updates itself???????????????
-<>-shoaib-<>-
-
thumb.db file is not updating itselfi am building a image gallery in ASP.NET. All images are placed in a specific folder and i want to show the thumb nails of all those image on the web page. Its all working well. Means that my page is displaying the thumb nails of all images that exists in the folder. The problem arise when i copy the new files in the folder, then the new copied files are not being displayed by thumbs.db file. Thumbs.db file donot update itself when new files are copied in the folder. how i can solve this problem that when ever i delete or copy images in the folder, the thumbs.db file updates itself???????????????
-<>-shoaib-<>-
-
thumb.db file is not updating itselfi am building a image gallery in ASP.NET. All images are placed in a specific folder and i want to show the thumb nails of all those image on the web page. Its all working well. Means that my page is displaying the thumb nails of all images that exists in the folder. The problem arise when i copy the new files in the folder, then the new copied files are not being displayed by thumbs.db file. Thumbs.db file donot update itself when new files are copied in the folder. how i can solve this problem that when ever i delete or copy images in the folder, the thumbs.db file updates itself???????????????
-<>-shoaib-<>-
-
help in Crystal reports to pass multilple ID's for selectionim using this formula in my current working report {Project.ProjectID} = 1 or {Project.ProjectID} = 2 or {Project.ProjectID} = 3 TRY IT.................
-<>-shoaib-<>-
-
TreeViewyour question is not much clear. If u explain it in more detailed, may i or some one other person will be in poition of solving this problem
-<>-shoaib-<>-
-
image onclick event is not workingthe problem is that after "window.location.href", browser discardes all the "\" characters. For example the resulting url after following statement is.. thumbImage.Attributes.Add("onclick", "window.location.href='" + @"..\images\" + filePath + "';"); http://localhost:4258/thumbdb/..imagesWaterlilies.jpg You can view that after images there is no any "\" character.
-<>-shoaib-<>-
-
image onclick event is not workingusing System.Web.UI.WebControls; Image thumbImage = new Image(); thumbImage.Attributes.Add("onclick", "window.location.href='" + @"\images\" + filePath + "';"); but the resulting page is giving following error: Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /thumbdb/imagesWaterlilies.jpg -- modified at 4:58 Thursday 21st June, 2007
-<>-shoaib-<>-
-
image onclick event is not workingusing System.Web.UI.WebControls; Image thumbImage = new Image(); thumbImage.Attributes.Add("onclick", "window.location.href='" + @"\images\" + filePath + "';"); but the resulting page is giving following error: Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /thumbdb/imagesWaterlilies.jpg
-<>-shoaib-<>-
-
Calling a windows formdo you know the names of all form in advance?
-
Calling a windows formsimply ask thanks if it works
-
Calling a windows formpublic Form CreateFormThroughName(string formClassName) { switch(formClassName) { case "FormA": return new FormA(); case "FormB": return new FormB(); } } try it!!!!!
-
form designer view is not openingI have created a Serializable class named "Student". [Serializable] public class Student { } Also created a custom user control. then i used the list in the custom user control. public class myControl : UserControl { List students; public List Students { set { students = value; } get { return students; } } } the controls is performing exact and there is no any compilation error. but if i use this control on any form then designer view of that form vanished out and display this error. Object of type 'System.Collections.Generic.List`1[WindowsControlLibrary1.Student]' cannot be converted to type 'System.Collections.Generic.List`1[WindowsControlLibrary1.Student]'. Kindly help that why the designer view of this form vanished out.
-
using list object as a public property in custom controlI have created a Serializable class named "Student". [Serializable] public class Student { } Also created a custom user control. then i used the list in the custom user control. public class myControl : UserControl { List students; public List Students { set { students = value; } get { return students; } } } the controls is performing exact and there is no any compilation error. but if i use this control on any form then designer view of that form vanished out and display this error. Object of type 'System.Collections.Generic.List`1[WindowsControlLibrary1.Student]' cannot be converted to type 'System.Collections.Generic.List`1[WindowsControlLibrary1.Student]'. Kindly help that why the designer view of this form vanished out.