|
hello everyone i m gopal and i need help to start learning asp.net three tire ,
if anyone can send me example of three tire i will be thankful
and if anyone can guide me than thanks in advance
gopal pandya
|
|
|
|
|
Search google
You will find lots of stuff
himanshu
|
|
|
|
|
Check the Thread of a Person who Posted before you. There is an Answer there and stop posting without goggling
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
jigarpandya wrote:
i need help to start learning asp.net three tire
First of all, Three tire architecture is not only related with ASP.Net , it is related with any of your software development, where you want to create three separate layer for UI or Presentation , business Layer (BLL ) and the Data Base Layer .
I will suggest you to go through google, you will find lots of sample on this,.
For your Reference Check It
|
|
|
|
|
Look here[^]
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
try this [^]
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
|
how to create instance of a class which is inside a app_code folder's folder.
means
my file is like below
App_code
-myfolder
class2.vb
Inside <myfolder>folder which is placed inside app_code folder.
i want to create class2 instance in my vb file.
if it is inside app_code,normalo decalration is
dim ptr as class2=new class2
but class2 is inside myfolder.
please give me some idea
kissy
|
|
|
|
|
Kissy16 wrote: how to create instance of a class which is inside a app_code folder's folder
It doesn't matter where your class file reside.
The only important aspects are the class name(usually when it is in a Folder, Visual Studio puts the name as FolderName_ClassName), the access modifier.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
thanks for ur response.
actually am using c# and vb files in my vb.net project.
for c# files am using another folder and placed the c# files inside it.
and added the subdirectories tag in web.config.
as my project is vb how can i access the c# class inside my .vb file?
please five me some example
kissy
|
|
|
|
|
What is the problem ? It doesn't matter. I don't believe you can use VB and C# files in your project, you can only mix them up for the pages. But, if it compiles, then I am wrong. Either way, the classes in the project, are visible to all languages in the project. Did you actually try anything before asking this ? Is so, and it doesn't work, post the code and the error so we can try to work out what you're doing wrong.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
am trying to use .cs class file in my vb.net project.
I read that in vs2005 ,it compiles the multiple languages.
and now in my app_code folder i have added some of my .vb classes and for c# classes i have added folder and inside i placed my c# files.
i have added the following tag in my web.config
<codesubdirectories>
<add directoryname="CsCode">
When am just compiling it is giving error ,identifier expected in the below line
<%@ Page Language="VB" AutoEventWireup="false" codeFile="Default3.aspx.vb" Inherits="Default3" %>
and i wanted to create instance of that .cs class and want to use in my .vb.aspx file.
Can it be possible,ya am i interpreting wrongly?
please send me what i have to do in this case?
please if u have time......
kissy
|
|
|
|
|
Does it compile properly after putting the C# and VB Class in different folder? Did you set the web.config Subdirectory Section like
<Compilation>
<codeSubDirectory>
....
<add directoryName="CSharpFolderName"/>
.....
</codeSubDirectories>
</compilation>
Then try to access the call method using object that class. Also check the class access modifier.
|
|
|
|
|
while building itseldf it is showing the error like "identifier expected"
in the following line..
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb" Inherits="Default3" %>
ya i have added the same in my web.config file.
there is no intellisence coming with my .cs class file.
kissy
|
|
|
|
|
hi
I have a freetextbox, a hiddenfield and a button on my web page. By pressing the button it insert the text from hiddenfield into freetextbox at current cursor position. I am doing this task using java script. when I run the webpage it give me Object required error. The code is given below
//Javascript Code
// HTML Code
<FTB:FreeTextBox id="FreeTextBox1" toolbarlayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,
FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,
runat="Server" DesignModeCss="designmode.css"/>;
<asp:HiddenField ID="HiddenField1" runat="server" />;
<asp:Button ID="btnInsert" Text="Insert Text" CssClass="button" runat="server" />;
I have registered the click event on pageload
protected void Page_Load(object sender, EventArgs e)
{
HiddenField1.Value = Guid.NewGuid().ToString();
btnInsert.Attributes.Add("onClick", "Show()");
}
When I run this page it give me error
"Object required"
Object required FormBuilder.aspx, line 644 character 29
Please help me
<div class="ForumMod">modified on Wednesday, June 24, 2009 5:35 AM</div>
|
|
|
|
|
Member 3374813 wrote: Object required FormBuilder.aspx, line 644 character 29
Well, how about telling use what line 644 is ? When do you get this error ? What have you done to debug it ?
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
When I press the button ("btnInsert") Jscript Debbuger gives me this error on the javascript code statement " var saveText = ctrl.value; " on the line 644 with yellow highlighted.
|
|
|
|
|
ctrl is therefore null. So, I assume that means you're setting it with document.getElementById, and not checking the return value. Odds are that you're using the server side ids instead of using the clientId property to get the client side id's for your script.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
I am new to Javascript How I can get Client Side Id in javascript code please
Client side Id for FreeTextBox1 and HiddenField1?
|
|
|
|
|
Member 3374813 wrote: var ctrl = document.getElementById("txtTargetText");
Member 3374813 wrote: ange.text = document.getElementById("txtSourceText").value;
document.getElementById("txtTargetText").focus();
Hope you have above elements in HTML code. If you have describe it more.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
Sorry I have posted old html
txtsourceText is id of HiddenField i.e HiddenField1 in html
txtTargetText is id of FreeTextBox i.e FreeTextBox1 in html
|
|
|
|
|
Post your new code or modify the existing one plz
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
I have modified the javascript code as I have currently on my side. It is now correct. I am waiting your help please.
|
|
|
|
|
Which browser are you using ? It works fine in IE but firefox. It seems detecting text selection in firefox[^] is different. It may fail because of this reason.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|