115 Posted Topics
Please any one can guide me how to write a [B] mysql database search[/B][I] in java....[/I] I want to search mysql database for some data in keywords. please help... thnakx | |
I use navigator.device.exitApp(); to close my html5 app. It clears local storage. But i want to retain local storage in app exit. What can i do? Thankx in advance | |
I have this ajax request. $.ajax({ type: 'Post', dataType: 'json', contentType: "application/json; charset=utf-8", url: 'https://********/***/*******.asmx/Login', data: "{ userID: '" + userName + "', pwd: '" + password + "' }", success: successCallBack, error: failureCallBack }); Problems is this works fine in older chrome browser. Eg. 20.XX.XX But it does not … | |
I want to install an older version on chrome in windows 8. But when i install an older version it automatically update it to the new version at first launch. How to stop this and install an older version of chrome. Thankx in advance. | |
I m working with teamcity. I want to build an ipa using the code in the repo. i used the code in http://yiannisoftware.wordpress.com/2009/09/27/how-to-build-ipa/ But it only gives the ipa file without the content. Please give suggestions. Either to correct this code or a way to create ant script to build … | |
I have two web services added to the project. One is real web service. Other one is test webservice. i have used them to set some parameters. eg: WS.OrderDescription WS.Amount WS.OrderNumber etc I want to change this WS and WS-test interchagebly. For that i want to add this two into … | |
I am using StingBuilder.append("Address : {0}, {1}, {2} {3} \n", Street1, Street2, PostalCode, City); Problem is if Street1 or street2 is null String builder returns , ,code,city. I want to remove those commas(,) as well. how can i do that? Thank you in advance. | |
Can I get data from two databases (in same database server) to a c# project. How to include two edmx files? Or is there another way? Thank you in advance | |
I m using mvc4. I have urls like http://<mydomain>/<contoller0>/<action1> , http://<mydomain>/<contoller0>/<action2>,... I want to show to the user only as http://<mydomain>/<contoller0>/{somepage} for all the actions in that particular controller. How to impliment this in RouteConfig? I dont want to mess any requests to other controllers. Just want to do it … ![]() | |
CAn i use 'waitfor' in t sql in sql server 2012 to wait in terms of days? eg. Wait three says after an event to do something else? Thankx in advance | |
I am using sqlserver 2012. i want to convert nvarchar value from a table in to an integer. How can i do it? i am using it in a stored procedure. and nvarchar value only contains numbers. What i want to do is to multiple that nvarchar value and assign … | |
What is the procedure can be used in MS-SQL server 2012 in order to create a workflow as in dynamics CRM? Is there a way. Or what is the alternative? Thnakx in advance. | |
I have an assignment where i should demonstrate concurrency controls.In order to do that i should work with two sessions in the same database in ms sql server. How can i do that. | |
I am tryn a currency converter using hash table. What is the technique to use to enble covert both ways. Ex: Dollers to Euro and Euro to Dollers . I can understand how to do it one way using currency as the hashKey and rate as Hashvalue. (I hope that … | |
I have a trigger on insert CREATE TRIGGER [dbo].[InsertNewCustomersAsGroupMembers] ON [CustomerBase].[dbo].[Cutomers] AFTER INSERT AS BEGIN SET NOCOUNT ON; -- Insert statements for trigger here DECLARE @inserterdCustomerID uniqueidentifier UPDATE [CustomerBase].[dbo].[GroupMembers] ?---? END GO I want to get the values of the inserted record at [CustomerBase].[dbo].[customers] into the trigger inorder to update … | |
I use Mvc 4 with razor. I have a View that in back end creates a database entry in Action method. Problem is when i refresh the page (Press F5) the back end method calls again and create duplicate of the database entry. How to stop this? public ActionResult SummaryPage() … ![]() | |
$('#div').load('/controller/_partialview); <div id="div">"partial view"</div> does not work (does not load the partial view) in IE9 It works perfrectly on firefox and chrome What is the solution? thanks in advance ![]() | |
SQL server 2012 query. declare IDList cursor for (SELECT ID FROM [dbo].[News] WHERE PublishFromDate BETWEEN cast(@fromDate as datetime) AND cast(@toDate as datetime)) order by PublishFromDate The above cursor wrks fine. But when add order by "desc" make it is not working. declare IDList cursor for (SELECT ID FROM [dbo].[News] WHERE … | |
I have a web site created with asp.net mvc3 using razor view engine. It is visible in mobile devices. (eg. ipad). but there are css anomalities. How can I achieve this. View the same site in desktop and mobile device (ipad)? I am hoping i can achieve only with changin … | |
I am using flot graphs for jquery in mvc3 razor web app. I'm loading partial view containing a plot graph to a div. I have a pop up window coming from another event. After popup window closes following error gives. *This only happens in IE* Following is the error: "Microsoft … | |
I want to draw a chart similar to area chart in asp.net. possible to use js / jquery. I tried out java script libraries that are available to draw charts, But those has no chart per my requirement. But I couln't find any pure code examples to draw a chart. … | |
I want to detect the time when the image is set to wpf <Image></Image> . What I want to do is perform an image resize operation just ofter the image is set. (Otherwise current image.width & hight cannot be obtained.) The problem is I can't get any events that triggers … | |
I created an ms access database and a form to enter data to it. I want to launch that form without opening access. How can I do that? Thankx in advance. | |
How do I perform a mouse click event programatically. but the problem is i do not want to perform it on a UIelement. I just want to perform a mouseclik once. Can i do that? thank you in advance. | |
I have a project named project1 in VS in a solution called Solution 'ShopEntry'. I want to have a copy of the project1 as project2 within the same solution. How can I do it without having errors. thankx in advance | |
I added a tool tip from code behind onto an image. When the tool tip reaches an area of a image (determined by cordinates) it shows the tooltip. But when i call the method `tooltip.isOpen = true;` mouse pointer get stuck for a little time. How can I avoid this. | |
I have drawn rectangles on an Image. (Tagging). I want to place tool tips when mouse moves over them. I have written a style to highligh the rectangle of a particular point on the image. <Style x:Key="highlighterStyle" TargetType="{x:Type Rectangle}"> <Setter Property="StrokeThickness" Value="2"/> <Setter Property="Stroke" Value="Orange"/> <Setter Property="IsHitTestVisible" Value="False"/> <Setter Property="Fill" … | |
I want to implement mouse over event on a image in WPF. But it seems to be there is no event for that in WPF. How can I implement that. I tried with a trigger . But only the property is available. <Image.Triggers> <Trigger Property="IsMouseOver" Value="True"> </Trigger> </Image.Triggers> But the … | |
I am tryin to add rectangle to on to an image in wpf. Rectangle is drawn at MouseLeftButtonDown event. Problem is I want to add this rectangle straight to the Grid (on to the image) without using a canvas. How Can I do that? or How can I avoid using … | |
I am working on a wpf project which there is a scrolviwer that holds an image <ScrollViewer Grid.Row="2" x:Name="Image" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" > I want to add tooltips on the image. Not a single tool tip but several relevant to the area. How can i desplay several tool tips on a … | |
I have a simple wpf panel (user control) which shows a list of items in a panel. I want to show it in the mouse right click event in side another panel(user control) How can I do that, this is wat i have tried protected override void OnMouseRightButtonDown(MouseButtonEventArgs e) { … | |
I want to implement an event similar to taggin a photo in wpf. Wht functionality should i use to mark a certain area of an image in order to tag it. thakx in advance. ps: i have tried <pres:RadTransitionControl.ContentTemplate> <HierarchicalDataTemplate> </HierarchicalDataTemplate> </pres:RadTransitionControl.ContentTemplate> and <Image></Image> but those dont support that fuctionality | |
I want to print a word document in a printer that is located remotely across the internet. Can I do that..& how. Please help Thankx in advance. | |
How to set default values for attributes in entities of dynamic CRM 2011 | |
I'm working on Microsoft Dynamics CRM. I want to retrieve all the columns from an entity. When I use [CODE]Query.ColumnSet.AllColumns[/CODE] ..It indicates an error. So how can I retrieve all colunms..thankx in advance. | |
How can I add a column(attribute) to an entity in CRM 2011 programmatically ? (with c#) | |
I want to open a file with .ts2 extension (i believe ts means time stamp). what programs i can use in order to read he content of that file? Thankx in advance. | |
I am using IIS 7.5 and ASP MVC3 . I have used a third party forum in my site (with username passwords). when user tries to access the forum for the 1st time it gives 302 error and shows the redirect link without redirecting to the forum. After the first … | |
how to set the window order of an installed program in setup factory there is a method called Window,setOrder(number winhandle, number insertafter) I am not sure what are the values to put to winhandle please help | |
hi, I am getting following compilation error when i'm tryin to run j2me app in net bean 6.5. Please tell me how to resolve it. C:----\nbproject\build-impl.xml:56: Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-mobility-antext.jar file in the IDE installation directory. thank you. | |
I have being tryn to send and recieve sms from j2me emulator. I cameup with following code inorder to send the sms [CODE] String mno=toWhom.getString(); // mno= massage number String msg=message.getString(); try { clientConn=(MessageConnection)Connector.open("sms://"+mno); //MessageConnection clientConn; } catch(Exception e) { alert = new Alert("Alert"); alert.setString("Unable to connect to Station because … | |
Is it possible? I have three midlets. I want only one running first and others should be available to the user after lauching the 1st midlet. How can I achieve this?? | |
Could anybody tell me that how I can see the web page on the emulator? When I give url of particular page i get connected to web directly using HttpConnection object but instead of web page output i get souce code of that page. What could be the reason for … | |
When I try to enter data in to PIM with J2me, It gives an InvalidIDException. What is it? and how can I resolve it. | |
I want to synchronize the data in the record store in mobile phone with mysql database. I connected them through a web service. How can i sync them. What is the way?? i looked in at syncML. Didn't found how to use it properly. Is there any other ways?? please … | |
(Think this is a java problem!!!) When I print a result set of a mysql query it doesn't print the 1st value. I used ResultSet rs = stmt.executeQuery("Select * from names"); while(rs.next()){ textAr.append(rs.getString("name")+"\n"); } This prints the values from index 2.. How can i print all the values.??? thankx in … | |
I am trying to connect to a database through j2me app and send two strings.It gives me java.lang.SecurityException: Application not authorized to access the restricted API error. (Caught in the try catch block) [CODE] import java.io.*; import javax.microedition.io.*; import java.util.*; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class storeNumbers extends MIDlet implements … | |
I want pass some parameters (two strings) to the run() method when starting the thread through thread.start(). how can I do that? | |
I connect a mysql database through a Axis2 web service with J2me app. Every time i insert a data to the database the following exception occurs. java.rmi.MarshalException: SAXParseException in response from server But the operations get completed successfully. Also this occurs only when i try to write a record to … |
The End.