I am using the code from MS to print a form however it looks like the form needs to be visible with a Show/ShowDialog() to work.
I am trying to use the code for a form that I don't want to show.
Any ideas?
i get data from database, in YYYY-mm-dd format, but i want to show just dd.mm (example - i get 2010-05-28, want to show 28.05).
could you help me?
thanks
I get data from a database in YYYY-mm-dd format, but I want to show just dd.mm (example - I get 2010-05-28; I want to show 28.05)
Could you help me?
Thanks
public class TestClass{
private String divisions[] ={};
public void doAction(){
Collection testArray = new ArrayList();
// put testArray will data
divisions = (String [] ) testArray.toArray(division); //should i use this
divisions = (String [] ) testArray.toArray(new String [] {}); //should i use this?
}
}
if i use case 1, and i call doaction multiple time, the division, something will show wrong records
if i use case2, divisions will always show the correct records. is my assumption should use case 2?
hi, i need to show a number to a user : 1.96666777 (timeHour)
moduloformat = [NSString stringWithFormat:@"%0.0f hours ",timeHour];
but it is rounding off the number automaticly. It gives "2" and i want to show "1"
i could use a NSrange and take the first number but i wanna know how to deal with this.
Thanks!!
excuse my English I speak Spanish
I'm trying to display multiple php and mysql registration, after that the show in an iframe
the problem is that apparently in the iframe shows me errors accents and other characters for example: for example (?D?nde cuesta menos y se consume m?s?")
this is what shows (?)
In the original query or first does not show me that, but in the iframe shows me that error
and probe with http-equiv = "content-type" and I worked
What else I can do?
What should I do?
regards
I need to retrieve my data from a ListView control set up in Details mode with 5 columns.
I tried using this code:
MessageBox.Show(ManageList.SelectedItems(0).Text)
And it works, but only for the first selected item (item 0). If I try this:
MessageBox.Show(ManageList.SelectedItems(2).Text)
I get this error:
InvalidArgument=Value of '2' is not valid for 'index'. Parameter name: index
I have no clue how I can fix this, any help?
Edit: Sorry, should have said, I'm using Windows.Forms :)
I would like to make sure if a textbox has any content at all, that jQuery can show it's parent (an <li class="hidden_dedication") element and set add a class of 'shown'. I'm pretty sure that it should be something like this, but cannot get it to work:
if ($('li.hidden_dedication input').val() !== null) {
$(this).parent().show().addClass('shown');
}
I cannot figure it out.. any ideas?
Many thanks
hi.
I need to decorate all the activities shown in designer with some icons or other pictures.
is there any way to show all activities with some decoration (lets say cross "X" as picture )
I have some data tracked and I want to show that this activity finished OK and this failed because of ... etc.
do someone of you know? It would really help me a lot.
I am trying to make a ranking manager for a small project.The totals are stored in the database.I can easily get the max and min using mysql and also arrange the records descending.The problem comes in when there is a tie.I need to show a tie in the form:1,2,3,3,4,5,6,7,7,7,7, etc.The repeated numbers will show the ties.I have been thinking of ways of achieving the above but i need more ideas;mine is seems long and complicated.
Can anybody share his/her idea of doing the ties.
I have used Jquery UI Tabs, and given close option to the tabs. By default i am creating three tabs and its corresponding three divs. Now when i close a tab then the tab and its div are removed. I need to just hide the tab and div and when i click Add Tab i should just show the hidden tab and div. I am not sure how to show/hide the tab and div property.
Thanks in advance.
Jeevi
I am new in android development. I am not getting call onActivityResult method.
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
System.out.println("================================");
if(resultCode==RESULT_OK) {
Toast.makeText(TaskListActivity.this, "Pass", Toast.LENGTH_LONG).show();
} else{
Toast.makeText(TaskListActivity.this, "Fail", Toast.LENGTH_LONG).show();
}
}
Hi!
I'm writing a static page controller.
I get the menuname in the routes.rb and it's call the static controller show method.
match '/:menuname' = 'static#show'
And static_controller.rb:
@static=Staticpage.where("menuname =
?", params[:menuname])
But if I want print @static.title in the view, I get this error:
undefined method `title' for #
Whats wrong?
the SQL query looks good:
SELECT staticpages.* FROM staticpages WHERE (menuname = 'asd')
I have created a html page in php and upon submission i validates that page using PHP. After validating i want to show an alert msg to show its status like showing any greeting or request for re-enter.
I have dont validation. Now i m using
header( 'Location: http://localhost/assignment/WebForm.htm' ) ;
to redirect user to same page but with a alert msg at page load or something like that. What I need to do ?
Using delayed_job to send emails- files are filename.text.html.erb
Sometimes they show up in my inbox rendered properly and sometimes they show up as HTML code.
I notice that when I stop and start the delayed_job daemon on the server, it seems to help in some cases but not all the time.
Any ideas?
Hi, when I make in my site, it displays a tiny line, which can be hidden on some elements because I'm usually using them on CSS buttons, but I have an if statement that says if this show the result if not show a non breaking space.
How do you reset the to display nothing?
Thanks.
I need to check the checked property of a checkbox and perform an action based on the checked property using jQuery.
For example, if the age checkbox is checked, then I need to show a textbox to enter age, else hide the textbox.
But the following code returns false by default:
if($('#isAgeSelected').attr('checked')) {
$("#txtAge").show();
} else {
$("#txtAge").hide();
}
How do I successfully query the checked property?
I've an HEADER.html page and a lots of directories in the same directory and want to show the header.html and dir-listing together at the site index like at this site :
http://www.mirrorservice.org/sites/ftp.apache.org/
in my configuration :
dir-listing.activate = "enable"
dir-listing.show-header = "enable"
it only shows header but not directory listing.
Any suggestions?
hi
I am using crystal report for get a report . I have two table , table1 and table2.
Primary key of table2 is foreign key of table1, I set some field in my report file to show the data of table1 and I want to show a specefic field of table2 insted of a field that is foreign key of table1, What is the query of LINQ for this problem?
Can any one please let me know the best way to use IF statement in mysql query to show if the "email" field is NULL then it should show as "no email"...
Postcode Telephone Email
----------------------------------------------------------
BS20 0QN 1275373088 no email
BS20 0QN 1275373088 no email
PO9 4HG 023 92474208 [email protected]
SO43 7DS 07801 715200 [email protected]
----------------------------------------------------------
hello
whatever i append to $('click_filter1') it shows the error ... is not a function (for show(), hide(), toggle())
if i insert an alert, the alert gets executed, so the framework is init ok
the element with the id exists for sure
what can be the problem of this? why iam getting this error?
$('click_filter1').addEvent('click', function() {
$('click_filter1').show();
}.bind(this));
My calendar resource is a nested resource under profile
map.resources :profiles, :has_many=>[:calendar]
I am trying to write a rspec spec for calendarcontroller
it "should use supplied date" do
get :show , :month = '09' , :year = '2010'
end
But i get an error stating
No route matches {:month="09",
:year="2010",
:controller="calendar",
:action="show"}
Any idea how i could get around this ?
SQL query which select the record from three tables and there is no relation between these tables. Actually I want to make it a VIEW.
suppose there are three tales Table1, Table2, Table3
I want to show records of Table1 first with some filter criteria
and then the records from Table2
and in last from Table3 as when we execute the view it show like the records like a Table.
There can be any number of rows but the records must be in this sequence.
hi,
i am using php,mysql,jquery.
When a user clicks on save i go to back end and save data and show the response. once show the success i need to disable the save button for say 1 min. how do i do it.?