|
hello forum
i dont find any board regarding sql queries,so m posing my query in this board
i want to give an option of search on frontend (asp.net) that will find the given keyword in selected columns of each table present in database
how can i do that perfectly and without effecting the performance.
can anybody help me.
regards
rahul
|
|
|
|
|
rahuladya wrote: i dont find any board regarding sql queries
Its right here.[^]
Loading signature. Please wait...
|
|
|
|
|
|
hello all
we have seen in windows refresh by rght click on mouse or by using the F5 key ... how is this possible in C# for an application.
thanks
tony
|
|
|
|
|
By writing some code. Handle the key event, work out the user pressed f% and reload whatever data you're displaying.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hello Christian Graus
can u illustrate some sample codes plz
thanks
Tony
|
|
|
|
|
Hi
I think first you should define the meaning of Refresh for you application.(What)
For example, if there is a form that shows a list of customers ,Refresh might be to refill the list .If it's a data entry from you might want to refresh your look up fields that might have been changed by some other users and so on.
Then you should decide when this refresh should happen(When).
There might be a refresh button on the form or a shortcut key or when user opens a drop down.In either of these cases, you want to handle an event to do the Refresh.
For example:
We have a method called RefillCustomers that refill customers list and we want a refresh button that do the refresh.
The simplest way to make it work it's something like this:
handle button clicked event(in form load for example)
refreshButon.Click+=new EventHandler(RefreshButtonClicked);
then we should implement RefreshButtonClicked method:
private void RefreshButtonClicked(object sender,EventArgs e)
{
RefillCustomers();
}
and then you should implement the RefillCustomers method.
|
|
|
|
|
hello beatles1692
thanks for u r answer
thanks
Tony
|
|
|
|
|
Hi friends,
Is it possible to create player which can play all formats of video files using c#.If so give me some suggestion to do that.
|
|
|
|
|
hello B87
see this link
http://www.dotnetspider.com/forum/157129-how-play-all-video-files-webform.aspx
|
|
|
|
|
Google broken where you live ?
The easy way to play video is to embed the windows media player in your app. This will play any format that WMP can play. Quick time is the obvious unsupported one, but I believe they have a control you can use, too.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
tonyjsebastian1 wrote: Now i want this file to be opened whenever i click on this file by openfiledialog method
You write code for this
tonyjsebastian1 wrote: simply browsing the folder and double click this extension file .....
To do this, you write registry entries to associate your program with the file extension, and then when your app runs, you check the arguments passed in to see if there's a file path. If there is, you open it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
What are you talking about--"I want it to open". Open where, File.Open or what? You mean the file should open for user then use System.Diagnostics.Process and use the start method or something like that. If you need answers, you have to put some time in asking and writing the right question.
|
|
|
|
|
There's little more annoying than people who delete their posts once they get an answer.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
well at least he got the answer...hopefully! I hope I wasn't rude to him.
|
|
|
|
|
hello all,
i have created a file of extension .ct, i want this to be opened when i double click on this file how can be this done in C#
Thanks
|
|
|
|
|
|
I am developing an application in .net 3.5 using this application setup i have to install crystal reports in silent mode on client machine.
Advanced Thanks
Ravikumar.
|
|
|
|
|
I assume you try to say that you need to setup Run-time packages for Crystal Reports only.
Business Objects provides an .msi file for run-time packages and you can google for "msiexec" and its options to run the .msi setup files in silent mode.
You may create a batch file with correct options of msiexec.
Hope this helps.
P.S: You cannot run setup for CR Run-time packages %100 silent mode because the .msi file requests EULA acceptance to start.
Always keep the Murphy Rules in mind!
|
|
|
|
|
hi..
it is right, but i am conceptually confuse that how can a super class keeps the reference of its sub class..please give me basic concept for that
eg:
class A
{
............
.............
}
class B:A
{
.............
}
class C:A
{
...........
}
now
A[] aa = {new B(),new C()}
its is right and ok
but can some one help me to clear my concepts
|
|
|
|
|
B is an A. C is an A. B and C can see protected and public members of A. There is no reference, B IS an A. C IS an A. You can cast it to an A if you want an interface that shows only what is visible to the base class.
If you want to iterate over this collection and know which A is a B and which A is a C, you can use the is keyword.
foreach(A a in aa)
{
if (a is B)
{
// it's a B
}
else
{
C c = a as C;
if (c != null)
{
/a is a C.
}
}
}
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
thanx Christian
its means to use the word "reference" is wrong in that senario
and my confusion is very much cleared now
|
|
|
|
|
Glad to help
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hello,
I am using two different instances of OpenFileDialog on two separate buttons to open file dialog.
In first dialog I am setting the path according to my requirement like this
openFileDialog1.Reset();
openFileDialog1.InitialDirectory = path;
But when i click other button to open file dialog, it opens at the location where first dialog was opened. Is it possible to store the different path location for each dialog?
regards
Gajesh
|
|
|
|