What is the recommended way in JQUERY to send a dynamic set of data to the server, the set contains items like:
ID: 13
Copy: hello world....hello world....hello world....hello world....
ID: 122
Copy: Ding dong ...Ding dong ...Ding dong ...Ding dong ...Ding dong ...
ID: 11233
Copy: mre moremore ajkdkjdksjkjdskjdskjdskjds
This could range from 1, to 10 items. What's the best way to structure that data to post to the server with JQUERY?
Thanks
Can you tell me where to store application specific data on a Win Mobile phone.
Let's say my app is named MyApp and I install it in the program files folder. I have two initial files in My Documents that it uses with no problems. But what is the correct destination on the device?
Also, when I do an uninstall, do I leave the modified app data?
I do not know the data type of time_t. Is it a float double or something else? Because if I want to display it I need the tag that corresponds with it for printf. I can handle the rest from there for displaying time_t but I need to know the data type that corresponds with it.
Is there a way to sort Devexpress QuantumGrid rows on data from a different column other than the one whose header has been clicked? For example, when the header of column A is clicked the rows of the grid are sorted on the data from column B. Visually it should still appear that it is column A that has been sorted as the sort glyphys will be shown in column A's header.
Hello all
i have application that convert data structure from the GUI to doc/pdf/rtf/html ... files
the structere logic contains the info about pages and data on each page so basccly i can convert it to every thing .
but my problem is that i wish to convert this structure to some kind of book that is
exe binary file . and i have no idea how or which ways i can do it ?
can you give me some ideas or solutions on who to embed book into exe file
Thanks
Hi ,
I am getting the following exception "org.hibernate.HibernateException: The database returned no natively generated identity value "while adding data into database i am using the following code.Please let me know what is wrong
Sesion session=HibernateUtil.getSession();
Transaction tx = session.beginTransaction();
session.save(user);
logger.info("Successfully data insert in database");
tx.commit();
isSaved=true;
Thankx
I am using jquery table sorter and have two tables. Instead of sorting the data just in the first table, could there be a way to combine the data in the second table and sort both?
As an example, sorting column 1 on table 1 OR 2, will result in:
//ORIGINAL //RESULT
TABLE 1 TABLE 1
col1 | col2 col1 | col2
1 | 1 1 | 1
3 | 3 2 | 2
5 | 5 3 | 3
TABLE 2 TABLE 2
col1 | col 2 col1 | col 2
2 | 2 4 | 4
4 | 4 5 | 5
6 | 6 6 | 6
Hi,
I've an enterprise database store used by some rich applications and a website with it own database store.
Enterprise application work with local data and some of these data (like orders,prices ...) have to be "synchronized" to the web site datastore.
On the other side, internet customers are able to edit their profile which have to be "synchronized" to the enterprise datastore too.
Basically i need this architecture :
WebSite = WebSite Database <= || Internet || <= Enterprise Database <= Rich Applications
I've witnessed a debate on this topic, I wanted to know your opinion ? From a programmers perspective, can a we consider a neural network a more advanced "data structure" ?
Is a neural network actually more than a data-structure ?
Is there any way, i can use 'Load data infile' in a stored procedure.
I am using mysql.
LOAD DATA LOCAL INFILE 'C:\\MyData.txt' INTO TABLE
tempprod fields terminated by ',' lines terminated by '\r\n';
SELECT * FROM product p;
Is there a way to sort Devexpress QuantumGrid rows on data from a different column other than the one whose header has been clicked? For example, when the header of column A is clicked the rows of the grid are sorted on the data from column B. Visually it should still appear that it is column A that has been sorted as the sort glyphys will be shown in column A's header.
Can anyone think of a (preferably quick) way to move the data() attached to a DOM element to a new instance of itself?
The lightbox plugin I'm using deletes and re-appends and element to the page in order to display it in the lightbox (to aviod the multiple-ids issue that ASP.net has), and obviously the .data() that is attached to the element is lost when this happens.
I have xml structure
all data comes here inside CDATA
I am using css file in it to format text and classes are mentioned in xml
Below is the code which shows data but does not format with CSS.
Thanks in advance!
var myXML:XML = new XML();
var myURLLoader:URLLoader = new URLLoader();
var myURLRequest:URLRequest = new URLRequest("test.xml");
myURLLoader.load(myURLRequest);
//////////////For CSS///////////////
var myCSS:StyleSheet = new StyleSheet();
var myCSSURLLoader:URLLoader = new URLLoader();
var myCSSURLRequest:URLRequest = new URLRequest("test.css");
myCSSURLLoader.load(myCSSURLRequest);
myCSSURLLoader.addEventListener(Event.COMPLETE,processXML);
var i:int;
var textHeight:int = 0;
var textPadding:int = 10;
var txtName:TextField = new TextField();
var myMov:MovieClip = new MovieClip();
var myMovGroup:MovieClip = new MovieClip();
var myArray:Array = new Array();
function processXML(e:Event):void
{
myXML = new XML(myURLLoader.data);
trace(myXML.person.length());
var total:int = myXML.person.length();
trace("total" + total);
for(i=0; i<total; i++)
{
myArray.push({name: myXML.person[i].name.toString()});
trace(myArray[i].name);
}
processCSS();
}
function processCSS():void
{
myCSS.parseCSS(myCSSURLLoader.data);
for(i=0; i<myXML.person.length(); i++)
{
myMov.addChild(textConvertion(myArray[i].name));
myMov.y = textHeight;
textHeight += myMov.height + textPadding;
trace("Text: "+myXML.person[i].name);
myMovGroup.addChild(myMov);
}
this.addChild(myMovGroup);
}
function textConvertion(textConverted:String)
{
var tc:TextField = new TextField();
tc.htmlText = textConverted;
tc.multiline = true;
tc.wordWrap = true;
tc.autoSize = TextFieldAutoSize.LEFT;
tc.selectable = true;
tc.y = textHeight;
textHeight += tc.height + textPadding;
tc.styleSheet = myCSS;
return tc;
}
I want to read MMS data i have seen the part table in the mmssms.db where the mms entries stored i am using cursor to and i want to know the appropriate URI like i am using "content://mms-sms/conversations" and the Column names of "Address"(Sent to), "Text" or "Subject" and "Data" column name of image.
i have seen the schema of mmssms.db and Their Column of part Table.
Thanks in Advance.
Hi Folks,
I have some data in one of my mysql table stored as utf8. The data is some japanese text. I need to export it to excel. Could you tell how to do it?
Exporting by SELECT ... INTO OUTFILE returns some plain text file. I'm not sure how to read it back in excel so that japanese character would show properly
Thanks
Nayn
Hi all,
I got an array which contains some data like this:
$arrs = Array("ABC_efg", "@@zzAG", "@$abc", "ABC_abc")
I was trying to print the data out in this way (Printing in alphabetic order):
[String begins with character A]
ABC_abc
ABC_efg
[String begins with character other than A to Z]
@$abc
@@zzAG
I don't know how to do it.
In my ASP.NET application I want to implement by data acess layer using the Entity framweok so I can use it as an ORM tool. But I dont want the rest of the application to care that I'm using this or be polluted by anything entity frameowrk specific.
I cant seem to find anyone who is using the entity framework exclusively in their Data access layer so I'm keen to see any online examples of this/ experience people have.
One site would take data from the site var. C# PostBack method.But when the page's source code as submitted does not renewed. Object Can not Be Coming Referanced error. So I do post but the page refresh itself. This post has been displayed next to new data coming from the user how can I get?
I have an int(11) column which is used to store money. I read some of the answers on SO and it seems I just need to update it to be a decimal (19,4) data type.
Are there any gotchas I should know about before I actually do the converting? My application is in PHP/Zend and I'm not using an ORM so I doubt I would need to update any sort of class to consistently identify the data type.
I want to send data to a printer on LPT1 and i trying exactly this but my CreateFile returns -1 (The system cannot find the file specified.Exception from HRESULT:0x80070002).
How to open LPT1 port and send data to?
I am trying this on XP and after that in win7 64 bit because from what i've read working with LPT in win7 64 bit is a bit of a problem, or should i say 64 bit of a problem:)
PS:Since it's my first post this year: Happy New year to everybody.
I have an c# application that uses tables from sqlserver 2008 database (runs on standalone pc with local sqlserver).
Initially i install database on this pc with some initial data (there are some tables that application uses and the user doesn't touch).
The question is - how can i upgrade this database after user created some new data without harming it (i continue developing and can add some new tables or stored procedures or add some columns to existing tables).
Thanks in advance!
I have two sources (source A and Source B), source B is an another one target table in my db. both are in diff user id . Now i have to transfer some data,s from these two sources to target table. Can i transfer data without using the joiner transfermation? how to do ?
i just want to know the difference between loading the data inside the constructor and loading the data outside the constructor but not inside any methods
example: Loading inside constructor
public class Model{
Object testobject;
public Model(){
testobject=new Object();
}
}
VS
example: Loading outside constructor
public class Model{
Object testobject=new Object();
public Model(){
}
}
I want to pass data to id
<script language="javascript" src="/foo.aspx?id=1"></script>
I have this code in a aspx page.
The data should be passed on load, before this code is being executed.
how can i do that?
bunch of thanks.