No.. It cant directly call using JAvascript. Rather you could put a handler which will call the stored procedure and return the output. Call the handler using AJAX. ;)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript
Ok Sir, but I just want to track which txt box has been focused , or hovering or clicking it a msg to show or will go to the redirected page. It will also work. Your excellency. :)
Hi, coming to ur question
deepseeindeepsy wrote:
Is it possible to fetch it?
Ans : Yes I am giving a small example Step 1: Create the Stored Proc
Alter Procedure GetMultipleRecords
As
Begin
-- First select
Select \* from test1
-- Second select
Select \* from test2
End
So this will give u two record sets Step 2: Use Data Adapter & DataSet
From Asp.net application, by using DataAdapter get the records set into the DataSet
Step 3: Use respective datatable(s) from DataSet Get the record sets from the DataSet into DataTable(some pseudo code in c#) e.g.
DataSet ds = getDataRecords();->You will get the records from database
if(ds!=null && ds.tables.count > 0)
{
//Store the result for Select * from test1 into datatable firstDt
DataTable firstDt = ds.tables\[0\];
//Store the result for Select * from test2 into datatable secondDt
DataTable secondDt = ds.tables\[1\];
}
Hope you get the idea. Now try by urself and I am sure you will reach the point. Have a nice day. :)
Niladri Biswas
If you like, sure.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
OnMouseEnter, then timer stop. OnMouseLeave, then timer start. Surely, No? (me thinks you didn't do the scrolling code yourself else you would have managed this small addition on you own)
Life goes very fast. Tomorrow, today is already yesterday.
You can use webbrowser controls in winform and WPF. then, you can show the Silverlight content on that browser control. but why... :)
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) Microsoft MVP (Silverlight), WPF/Silverlight Insiders
Use a timer and the ontick event to manage the marquee effect (move the picture on every tick). Use the OnMouseOver event to stop the movement by disabling the timer
Never underestimate the power of human stupidity RAH
Now in that case , Change the Authentication and use SQL Authentication. This means you have to give up Windows Authentication and have a spacial credentials for your Database Remove your Windows username from the Permissions of the Database and Add a new username that can only be used by you, then in that case you and only you can access the DB. remember the Windows Authentication does not even ask you for a password as long as you have the correct username the user can enter and that is not advisable in a secure environment. Hope it helps
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/
I prefer the original: Soha alábecsül a erő -ból emberi butaság :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
Hi, I am sorry but I have very limited experience on Win Forms. But I can refer the following link: [^][^] Regards Saanj
Either you love IT or leave IT...
Hi, Sir,You just suggested me the solution at design time. But here I m displaying data from database dynamically on textchange event using like query in datagrid.