|
You should read some CodeProject articles, maybe this one for starters: C# File Browser[^]
|
|
|
|
|
hi,
I am using ListView to display the records.
I have a column namely, 'module' contains record in following manner.
edit, delete
Actually i am adding this value through checkbox. when i select checkbox, the associated value ('edit') has been added in database, when i select another checkbox, the related value ('delete')has been added in the database. basically i can select two or three checkox, all concerned value has been added and seperated with 'comma' in same column.
My query is , I want to edit this data. when I select edit button, the value of the checkbox shows 'true'.
e.g. the 'edit' related checkbox shows 'tick' and so on.
thanx and regards,
|
|
|
|
|
This is the C# forum. You don't state what you are using this in.
Is it a web page, WPF, or Silverlight application? It makes a big deal as to how to do things based on where you display it.
|
|
|
|
|
This ICAO line retrevie from Passport, for example:
P<VNMLE<<HUY<HOP<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
B2497277<3VNM9007219M18082251010666632<<<<<58
Now, I want to Name, Sexual, Passport No,...from above line.
Please help me,
|
|
|
|
|
Take a look at the Passport section here[^] for details of the format. You could have found this information yourself easily enough, by using Google to search for ICAO line passport - that's what I did and the first link took me to this page.
|
|
|
|
|
Barry White will get you sexual.
|
|
|
|
|
Noooooo - that's an image I don't want in my mind.
|
|
|
|
|
yeah, I had been wondering how long it would take for a little quip to appear here, and I was pretty disappointed by Pete missing the opportunity.
|
|
|
|
|
I didn't miss the opportunity - I prefer to pick out the less obvious ones.
|
|
|
|
|
So I didn't have to read your initial reply twice just to make sure I didn't miss something under the surface.
|
|
|
|
|
Nope - it was a straight answer.
|
|
|
|
|
I certainly saw nothing queer about it.
|
|
|
|
|
I want to disable a LinkButton click on the client site.
if(true)
objLinkButton.disabled = true;
else
objLinkButton.disabled = false;
This disables the link but I am still able to click on the link and do PostBack.
Is there any way I can disable/enable the link.
|
|
|
|
|
You also need to remove/add the href for the link depending on what you want to do.
|
|
|
|
|
Yes I tried it like below,
document.getElementById(lkbtn).removeAttribute("href"); This works fine. But when i am adding attribute it raises error.
document.getElementById(lkbtnEditMap).addAttribute("href");
So i did like this
document.getElementById(lkbtnEditMap).setAttribute("href"); enable/disable works fine but when click on link button it showing error like resource cannot be found....
|
|
|
|
|
SatyaKeerthi15 wrote: document.getElementById(lkbtnEditMap).setAttribute("href");
What are you setting the link to? You haven't actually specified the href value in there.
|
|
|
|
|
If Set href and click on link button again its loading page. Is it the good way to load page agian when click on linkbutton in same page.
|
|
|
|
|
Hi All
I just want to fetch last active window in my xp system.How can i do that?
Can I do it from the remote system also?
Any help will be appreciated
Thanks in Advance
|
|
|
|
|
|
In my report, I added two different fields from two different datatables =First(Fields!NameOne.Value, "TestDataSet_TestDataTableOne") and =First(Fields!NameTwo.Value, "TestDataSet_TestDataTableTwo"). The result shows one row and no NameTwo is displayed. Then I changed the field as
=Fields!NameOne.Value,=Fields!NameOne.Value. Then error occured.
How can I display Both fields containing the selected data in Both datatable. Can anybody help me???
|
|
|
|
|
Recommendation for FTP/SFTP/FTPS component in C#?
Commercial/Open Source both good, any suggestion guys?
|
|
|
|
|
|
I used the following for one project.
http://www.weonlydo.com/FtpDLX.NET/ftp-sftp-ssl-net.asp[^]
I researched a number of products (looking for free and commercial) several years ago and ended up with this one. As I recall I selected it due to price, licensing and features.
I don't recall any problems with actually using it nor with figuring out how to use it.
|
|
|
|
|
This is my version of another guys code (hartertobak) in which he shows us how to use google to get the pagerank. I really liked this code and have really been looking for it BUT there needed to be some modifications to the code before it could be used for batch processing. So i made some simple but effwctive mods to his already beatiful code.
The initial idea was wonderful and worked perfectly if you only wanted to do 1 or 2 URLS but was useless for batches of urls (urls in their thousands) because google will block pagerank requests for sites from the same ip if they have a frequency of less than 1 second (ish) so i had to come up with a way to stop that happening. When i heard of this problem the first thing i did was to put a 10 second sleep between every submission. This meant that google wouldnt pick up this as a bot making the submissions since a human could quite easily make a request to google every 10 seconds.
The next thing after that was to bring in file handling and an interface so that the user could interact with the program. My first idea for this would be to import a .txt file. That way a file could be made and saved for later use and would mean not having to enter the urls one by one. Of course the user could do this but still have the flexibility to add more after it has been loaded.
The HCI is VERY simple and basic. It is a listbox with a few buttons. The listbox is the main display. and the buttons are the controls. There is a textbox for inputting urls and some error handling with the textbox but it is assumed that the user has knowledge of what he/she is doing. every url must begin with http:// and contain at least 1 dot (.)
So now i had a working program but there remains one problem. Time. The 10 second delay cannot be helped but the way i made that happen was to use Thread.Sleep which meant that the program is unresponsive. How do i make my program responsive while waiting those 10 seconds and display the results in real time?
Any help appreciated
jimbo8098
|
|
|
|
|
any real work (or sleep) that takes more than a few tens of milliseconds should be delegated to one or more separate threads; if the work load is light and the latency small (again, milliseconds; yours isn't) you could organize it with a timer.
Study the BackgroundWorker (that is actually a thread) and don't you touch any GUI (HCI?) thingies from within its DoWork handler! Use the ReportProgress/ProgressChanged stuff if you must.
PS: you're lucky I read your entire message up to the end, I didn't see a question coming any time soon!
|
|
|
|