|
Is the data already in sql server? If not figure out how to get it in there :P
Then give each bit of content keywords and properties to assist in finding relevant info.
Use Full Text Indexing to allow search of body's of text.
Understanding SQL Server Full-Text Indexing
[^]
If you want caching then cache the results for a set period of time.
For spell checking and stuff like that you can use soundex and double metaphone, to find similar words using phonetics and letter similarity.
Beyond this you need to research, experiment and just try stuff to see what works. If you have any specific (i.e. not stuff like "what should my database look like?" but stuff like "why isn't this stored procedure working?") problems come back and we'll be happy to help 
|
|
|
|
|
I don't see why you want to write a search engine all the way from scratch.
One of the opensource stuff that I know of is lucene [^]
If you need a dot net version check this link http://incubator.apache.org/lucene.net/
rAm
i Think, i Wait, i Fast -- Siddartha
|
|
|
|
|
Nope.
Chuck Norris counted to infinity - twice.
|
|
|
|
|
Hi all,
Can you please tell me the way to write a log entry into a text file???
once i use the LogEntry object and the Logger object, i need the use the FlatFile TraceListener to write into a .txt file.
where and how do i specify the tect file name??
Thanks,
Ramesh
|
|
|
|
|
I am not sure you are using the application block ui. In the UI its pretty straight forward.
Go to:
Application Configuration-> Logging Application Block -> Trace Listeners
In there add a new Flat File TraceListener.
It give a file name option.
The XML will look something like below:
<listeners> <add filename="trace.log" header="----------------------------------------"
="" footer="----------------------------------------" formatter="" listenerdatatype="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" traceoutputoptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="FlatFile TraceListener">
<add source="Enterprise Library Logging" formatter="Text Formatter"
="" log="Application" machinename="" listenerdatatype="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" traceoutputoptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="Formatted EventLog TraceListener">
rAm
i Think, i Wait, i Fast -- Siddartha
|
|
|
|
|
Dear all
Hi, I m new in c#, so can any one send me the code, about how i can upload/display images from my form of desktop application using SQL Server 2000.
mr_shoaib@hotmail.com
thnx
Best Regards
Shoaib A Shaikh
|
|
|
|
|
Hi guys.
I'm currently working on a datagridview which is bound up to a bindinglist containing a custom display class. The grid already contains ImageColumns for displaying the Icon properties which works properly, only that sorting on them isn't quite what we expected.
The previous programmer implemented a sortalgorithm where sorting on an DataGridViewImageColumn, for Icon type properties, would result in actually using another TextboxColumn containing numeric values for the sort part. But this isn't generic enough as all ImageColumns are sorted for the same numeric value...
So I thought I'd replace the Icon properties for the value objects with IconWrappers containing an icon and a sortable value, and make custom IconWrapperCell and IconWrapperColumn types inhereting from DataGridViewImageColumn and DataGridViewImageCell, and insert these into the DataGridView for the columns that the bindinglist create for the IconWrapper properties.
This seems to be close but no sigar. The bindinglist fails to insert the value into the new columns even though the columnname is identical. OnPaint method for the IconWrapperCell keeps trying to paint with value = null, and if I force the value to be an icon, that icon isn't drawn either.
Has anybody tried anything like this?
I'd really appreciate some feedback if anyone knows anything about replacing/forcing columnstypes for bindinlist created columns.
-- modified at 4:51 Thursday 5th July, 2007
Found a workaround to my problem.
Didn't solve the jigsaw for replacing bindinglist created columns,
but replaced the Icon properties for the value objects with Image type and
used the Image.Tag property for storing sortable values.
-Larantz-
|
|
|
|
|
Hi
I have developed an application in C#. I have made installer in .NET, but i am not able to make the uninstaller.exe to uninstall the application.
Thanks
Devesh Mishra
|
|
|
|
|
The installer is also the uninstaller. Once you've installed the app, you can go to Add/remove programs and uninstall it.
Cheers,
Vıkram.
After all is said and done, much is said and little is done.
|
|
|
|
|
Thanks for ur reply...
But i dont want to uninstall the applicaton from control panel. Because Its a time consuming process. As i am a programmer. So i want to do it programatially.
Thanks
Devesh Mishra
|
|
|
|
|
devesh_code wrote: But i dont want to uninstall the applicaton from control panel. Because Its a time consuming process. As i am a programmer. So i want to do it programatially.
What on earth does that mean? You, as the developer, create an installer and give it to your user.
Just as he runs the setup file to install the program, he has to use the Add/remove programs applet to uninstall it. I really, really don't understand what you want.
Cheers,
Vıkram.
After all is said and done, much is said and little is done.
|
|
|
|
|
No need to understand much more.
Thanks
Devesh Mishra
|
|
|
|
|
sorry i don't know the solution either. But i really liked your comment and i would like to develop an uninstaller.exe too. It's quite a hazard to go to control panel every time i need to uninstall a sw. Specially it is disgusting for developers who need to test their project again and again.
Hope someone can give a solution.... i believe many people like me, will be happy to find a proper solution...
thanks
Chayan
|
|
|
|
|
Hi Chayan
Thanks for ur comments...I have made an uninstaller.exe. Now just i have integrate it with my application.
Thanks
Devesh Mishra
|
|
|
|
|
Can you please tell me how you did that ? I am really curious to know this.
thanks
Chayan
|
|
|
|
|
Yah sure....
http://www.codeproject.com/useritems/NET_Uninstaller.asp
Try to understand it.....
Devesh Mishra
|
|
|
|
|
Devesh,
thank you very much for being so much helpful. I simply loved the article that you suggested. I can't believe it can be so simple and so cool.
thanks my friend. Now i will use it and surprise my friends and colleagues ....
Chayan
|
|
|
|
|
i fill a datatable with dataadapter and bind it to an bindingsource
one of my function return max(id) from above datatable:
<br />
datarow[] rows = ds.tables[0].select("id=max(id)");<br />
also datatble has updated whenever needed by:
<br />
datable dt=ds.tables[0].getchanges();<br />
adapter.update(dt);<br />
ds.acceptchanges();<br />
my function (select last id) work correctly for first update, but it dosn't work after add one new record, and return same record.
why? 
|
|
|
|
|
Try to update the dataset instead of the datatable, and avoind performing dataset acceptchanges. If your Datatable is bound to the control, once you update the adapter, may be the call the binding again.
Ofcourse your best friend is debugging.
|
|
|
|
|
thanks but your solution dos not fix it.
i don't have problem with update dataset or datatable, because both has update as well. but select function dosnt work probably 
|
|
|
|
|
hi..
i m using tab control(windows appln.wth C#)
i want to check the entered 3 marks in 3 text boxesin first tab page,whethr any of the txt boxes contain below 100.how to use "or" for this?
and in next tab page i want to print the result according to that in a label or txtbox.
i m new to C# .pls giv idea.
i trie this(below).but not wrking.
int x = Convert.ToInt32(Txtapti.Text);
int y = Convert.ToInt32(Txttech.Text);
int z = Convert.ToInt32(Txteng.Text);
if (x < 70 || y < 70 || z < 70)
{
Txtresult.Text = "candidate failed!";
}
|
|
|
|
|
Hello,
First I have to say that your problem has nothing todo with your subject line. (you have no problem with the tabcontrol)
accessred wrote: but not wrking.
What does it do?
Have you debuged it?
accessred wrote: i trie this(below).
Where have you placed that code?
accessred wrote: Convert.ToInt32(Txtapti.Text);
This is not good, as it will throw an exception if you input a non int string in your textbox.
I would do a int.TryParse if you have .Net > 1.1 or double.TryParse if you have .Net < 2.0.
All the best,
Martin
|
|
|
|
|
m using .Net 2.0. Thnx..
"I am burning...the only thing rest in me is you..."
|
|
|
|
|
Hello,
accessred wrote: m using .Net 2.0.
Ok, but thats the only thing I have not asked!
I don't think that your problem is solved, or am I wrong?
Still waiting for more infos, to help you.
All the best,
Martin
|
|
|
|
|
see..problem may be small..but i m a begnner in coding..thats y..
i 'm having a tab control with three tabpages.in page1,three text boxes are there for each subject marks.all details will be stored in a file that is displayed in 2nd page.third is result page.if any of the entered value is less than 100 then the result page should show the candidate failed. that shud be displayed on a textbox.(txtresult.Text)
it s the problem.
"I am burning...the only thing rest in me is you..."
|
|
|
|