|
|
Sir,
Thanks for the reply.
The article illustrates the two , three, and N tier architecture only.
Can u please explain about one tier and how it is different from two and three tr architecture
Thanks
|
|
|
|
|
A one-tier implementation is self-contained. It combines presentation, business, and data services.
Ex:
A stand alone PC running Microsoft Access.
A mainframe with attached one or more dummy terminals. A dummy terminal is just a physical point of contact with the mainframe.
Regards,
Satips.
|
|
|
|
|
Thank You Satips
Can u tell me something about record locking for implementation .The query i posted just below this query.
|
|
|
|
|
This guy asks about 5 questions a week and they seem to be homework questions.
|
|
|
|
|
Sir,
My application is running on intranet. Around 25 computers are accessing the application simultaneously.Now the problem is when simultaneously more then one user is trying to update the single particular record , Then the database will select which new entry to update.I mean when a request is send to update the database .That particular record should be locked so that it can't be updated at that very time by another user.
Please help.
Thanks
|
|
|
|
|
Will ROWLOCK option of database row locking work for you?
OR Is it possible for you to use synclock of .NET
- ashish
|
|
|
|
|
Sir,
Thanks for the reply.
Can u please send some code.
Please help.
Thanks
|
|
|
|
|
If your stored procedure checks for the previous values for the existing record, it will only allow the first item to update the record. Subsequent updates will not happen unless the item is refreshed from the database. Check to see if the item was updated. If not, display a message to the user, and refresh the view.
|
|
|
|
|
Hi,
I've written a simple page where the user inputs data and then hits a submit button. It's a server button control and has code behind.
This is the odd part...
It never works when I just run the page without breakpoints in the code. There is no exception. The breakpoints SOMETIME work and when they do the code works.
Even when the code for the button works (when I step through it), the onClientClick event doesn't seem to fire.
Any help would be appreciated!
Thanks,
Peter
|
|
|
|
|
The OnClientClick property is used for events handled in the browser (i.e. Javascript), not on the server.
---
b { font-weight: normal; }
|
|
|
|
|
onClientClick is javascript, correct? If so, it's a client side event, and no postback is performed, thus missing the break point.
|
|
|
|
|
hai,
Iam beginner in this field and i need help to work out on how to make dependency between two dropdownlists ? for example i got dropdownlist 1 which shows school names and in the dropdownlist 2 containd departments names. Thus when i select one schoolname i must get the department names related to that school on autopostback(in dropdownlist 2). here can we use isindexchanged event? Can anyone please explain me in detail with a example?>
veerendrakumar Gadde
|
|
|
|
|
You should be able to use SelectedIndexChanged event on dropdown1 and on the eventhandler of that, you can fill records in dropdown2.
protected void myDropDownList_SelectedIndexChanged(object sender, EventArgs e)
{
//Write code to fill dropdown2 based on value selected in dropdown1
}
- ashish
|
|
|
|
|
I am working on an asp.net application, i need to provide the users with sample reports.
so i decided to use crystal reporting to do this. My problem is that i would like to print the reports base and various input for the user's requested query. Therefore i would like to write functions to provide the results to the user using crystal report.....
can anyone tell me how to run crystal report base on a sql query..
Nab
|
|
|
|
|
|
:-OI have a datagrid column which goes as -
<asp:templatecolumn headertext="New Inquiry Type">
<itemtemplate>
<asp:hyperlink id="hplnkInquiryType" runat="Server" text="<%#DataBinder.Eval(Container.DataItem,"investor" name").tostring()%="">>
when i try to view the page in the design mode i get this error --
Could not open in Design View . Place quotes around a '<% %>' block used as an attribute value or within a element.
it works when i wrap the text attribute within 2 single quotes -
but then the Hyperlink on the datagrid throws an error when clicked as - undefined
i.e. coz it needs the investor_name to be wrapped around single quotes.
thus the hyperlink works with the following code but no design view --
>
|
|
|
|
|
Use the "Ignore HTML" option when you post HTML code.
---
b { font-weight: normal; }
|
|
|
|
|
ASPX code seems to be missing. click "Ignore HTML tags in this message (good for code snippets)".
You also may want to wrap it in a <PRE> tag
|
|
|
|
|
i created an user control, it has 3 properties, but when i add to web page , i cannot see its properties at property window why ?
|
|
|
|
|
|
For a user control the properties are not shown in the Property window. Instead you must create a custom control. Just google for "create custom control" and you'll find a lot of tutorials.
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
a user controls are already custom controls.
|
|
|
|
|
You're wrong about that. They're two different things. I suggest reading this[^]
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|