Keeping data in session vs. populate on postback
What is preferable, keeping a dataset in session or filling the dataset on each postback? ...
What is preferable, keeping a dataset in session or filling the dataset on each postback? ...
I am using ultra web Grid.. I am populating data using datatable and the grid is bound to the datatable. I am able to fetch the data and show the grid from the database. I have a editable column in the grid, I need to loop thru this grid and populate the second grid in the same page.. How do i do ? Please give me the client side code...
Hey guys, first off let me just say Im a jQuery noob! I want to make a simple plugin that auto-populates a html select element, it works fine on the first element but when I call it again to populate a second it appends nothing. Here are my calls in the ajax tab where #product and #new-category are the select elements: $(function(){ ...
If I have downloaded Wikipedia XML dumps, is there any way of removing all of the internal links from within an XML file? Thanks ...
I need help, I need to populate a tableview with objects from my array... I may be using some methods from mac code (lol). I just need some help. Here is my header and implementation files, thanks. #import <UIKit/UIKit.h> @interface Chuck_FactsViewController : UIViewController { IBOutlet UITableView *tableView; NSMutableArray *chuckJo...
Hello, I am making an application (iPhone app) which gets information (jokes) from an RSS feed, then populates the tableView. Now, would I take the RSS and store it in an array then populate the tableView, or what? And how do I receive information from an RSS feed? Thanks! ...
Hey there. I hope this question hasn't come up before - I couldn't find it on the list of related questions. Anyway, I'm a fairly newbie programmer (first year of a computing degree, so I know about squat), and I'm currently having a play with C# and WPF. For fun, I'm trying to create a simple music browser - to begin with, it'll just r...
I am testing my knowledge of ADO.NET and SQL and am currently just trying to do the basics. I want to read from a table and when the user clicks a button, a message box pops up with the value in the ApplicationName column. It currently doesn't do anything when I click the button... any ideas? protected void TestSubmit_ServerClick(objec...
Even if I know it's not ideal - I need to programmatically populate a listView (for whatever reason). I am declaring my columns in the markup: <ListView.View> <GridView> <GridViewColumn Header="Name" DisplayMemberBinding="{Binding Path=Name}"/> <GridViewColumn Header="...
Hi all... I have seven fields that need to be populated in seven text boxes. The data is coming from a SQL Compact DB... Here's my code so far, but I'm stuck. What do I need to do to populate the text boxes on Form Load... thanks much. Woody private void mcContactSubmit_Load(object sender, EventArgs e) { // Setup our SQL connect...
Hi there guys, how can i pass the items from a comboBox to a dataGridView ? I have the comboBox filled with a column (attribute) from a table in the DataBase, when i click on a button (btnAdd) I wat to load all the tuple(from that table) of the selected item (attribute) in the comboBox to populates a row of the dataGridView. So i can add...
Hi, I am trying to make saving and loading easier for some GUIs that I've made, and I would like to be able to pre-populate a filename for the user on save. Getting the JFileChooser to point at a convenient directory is easy enough, but pre-populating the name doesn't seem so easy. Currently, my code is: JFileChooser f = new JFileChoo...
I am building an application with a fairly hefty form that is built using 11 sub-forms (and I will mention that they are all ZendX_jQuery forms). In one of the sub-forms I have a few quirkier elements. I need a list of features about rooms in a house. So I require multiple text input boxes that belong to an array - these inputs are the...
I am currently developing a piece of monitoring software that takes an input file of server names and ip addresses and creates a rudimentary database of information. I want to default some values as it processes the config file and it works fine for the first time round the loop but any subsequent entries get created with weird (well wei...
Hello, In my code I need to remove rows from the DataGridView after a recurring interval, and so I call the following function when a timer expires: private void removeRows(DataGridView dgv) { foreach (DataGridViewRow row in dgv.Rows) { // if some condition holds dgv.Remove(row); } dgv.R...
Hi.. For a kind of testing I need to create a sybase database and needs to populate the Database also.what are the best way to populate the database with some junk data? Also for me the create database is hanging or nearly 3 days?after disk init of 2.1TB,i given: $ isql -Usa -P"" -SSERVER1 1> create database teradb on tbfile = "2.1T" ...
I am use c# and for unit testing and integration testing usually I need to populate fields automatically based on attributes. Lets say we will test if we can write and get back user data to database. I create a user object populate fields write user to database Read user object from database Check fields if what I write is same a...
Hi All, How do I populate 2 jquery grid with pagination, sorting and searching in a single page ...
Hi all, I have a DataGridView which reads data from a custom (CSLA) list object. The dataset might have 100,000 records, and obviously I don't want to show them all at once because, for one, it would take ages to load. I think it would be nice if I could read the first (for instance) 20 records, and make it so upon scrolling to the end...
hello, i'd like to put in html pages around a javascript that call a remote javascript file in my server, elaborate datas by give content back to the html page where the javascript will populate a div by id with the given data. what's a possible way to perform it? the data will be calculated in php. ...