|
BasharatAli wrote: Accutaly i hve used dataset component which read connectionstring from config file
You could just set the connection string from code behind instead of specifying it in the markup code. You are trying to work around limitations that doesn't exist...
Experience is the sum of all the mistakes you have done.
|
|
|
|
|
How to write the coding for RadioButton onclick event
|
|
|
|
|
ps.srinivasan wrote: How to write the coding for RadioButton onclick event
server-side You can write the code on OnCheckedChanged event.
Clisent-side you bind a javascript function to the client onclick event.
Regards - J O H N -
|
|
|
|
|
Hi all,
Iam developing a .net 2.0 web application where i have dataentry pages to enter details for a case. Each case has a unique reference. I need to prevent users from enetering/editing/viewing this certain reference if another user is viewing/editing it. How can i do that?
N.B. i have tried a bit field in the database but iam not being able to maintain page closing/leave to release the page.
thanks
|
|
|
|
|
samerh wrote: but iam not being able to maintain page closing/leave to release the page.
You can use AJAX to do this, but you'd still be best to impliment a timeout, because if someone turns off their PC, there's literally nothing you can do.
A bit field and a date/time for a timeout is the only way to do this. Storing the Id of the person who has the lock also makes sense ( replace the bit with an int, using 0 for no lock, or a user Id, for example )
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for ur reply.
Storing the id of the user is a good solution, however iam not being able to know when the user leaves the pages of that reference, taking into consideration that this reference has around 25 detail pages and i need to keep locking this reference as long as this user is in one of these pages. My issue is that i am facing timeouts and how can i know when a user eneters a second reference to release the first one and what if he wants to use them both!!!
May be as said there is no one way to do that. I will try to check the query string and if the refId is different i will release the reference. Still i didnt test it.
|
|
|
|
|
samerh wrote: however iam not being able to know when the user leaves the pages of that reference
Corrent. You have to add a timeout because there is no way to be sure that the user has left the page.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi,
I put a html file with in the tag of the table and i want to run this html file when i run my application. that means when i run the application i want the output of the html file with in a table cell.
I am using aspdotnet(using vb.net).
please send me some solution for that.
thanks and regards
bikash pattanayak
|
|
|
|
|
You can use a frame to embedd a HTML page in your app. Or if it's an HTML snippet, you can put an asp:Literal in your page and assign the HTML to it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi,
i hv applied some xml documentation for c# using /// (three forword slashes) but how can i do the same in vbdotnet. now i am using vbdotnet 1.1
|
|
|
|
|
I don't think VB.NET supports it. You could try the VB forum ( this question has nothing to do with ASP.NET )
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi,
i am sid basically a electronics engineer presently i am working in a company where i am doing windows based projects in c# now i want to learn asp.net and ajax , as everyone in this forum has expertise asp.net i hope u all will help me to learn so please tell me how to start ... any websites ..........books ...............please
regards
sindhu tiwari
Always Innovative
|
|
|
|
|
ASP.net is a framwork for generating HTML. AJAX is something that javascript supports, and ASP.NET AJAX is a library for AJAX controls that can be added to ASP.NET. I'd recommend the O'Reilly book on ASP.NET, it is a good place to start. Learn ASP.NET first, then understand what AJAX is and what ASP.NET AJAX is, and decide where to go from there.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
For ASp.NET 2.0, QuickStart[^] might be the best place to start...
For ASP.NET 1.1, I have a few collection of links..
ASP.NET 1.1 Training Materials for Beginner I used those links when I was training my juniors in my company..
If you are using ASp.NET 2.0, you can use ASP.NET Ajax for developing the ajax-enabled website.. But for ASP.NET 1.1, you may need to use other third-party JS libraries (prototype or jQuery or etc) for developing the ajax-enabled website..
|
|
|
|
|
thank u very much sir
its me sid
|
|
|
|
|
|
Give some major diffrence between .net 2003 and 2005..
Thanks and regards
Yesuprakash
|
|
|
|
|
Well, apart from the ones that you'd get from googling your question, there's the little known fact that .net 2005 came out two years after .net 2003.
I recommend reading the sticky on how to ask questions. Are you even asking about ASP.NET ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Gridview,Login control,Details View....etc...plz refer google....
|
|
|
|
|
|
Hello there guys.Im trying to use an aspx calendar and database to display birthdays.I have everyones ID numbers in the database so using that I want to display their birthdays on that specific day.For example today.I have to check everyone that celebrates today and display their names from a database.
Please help guys.Thanx in advance
kagiso
|
|
|
|
|
U will have to write Windows Service which will check Birthday Dates everyday morning or ur schedule time and so u can display this...
|
|
|
|
|
Cant I just use system date and compare that with the date in the database??
kagiso
|
|
|
|
|
I suspect the guy who answered you is joking, perhaps because what you're asking seems so straightforward. Yes, you can work out the age using DateTime.Now. And the DB gives you the dates to put in the date picker. So, which bit do you need help with ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|