Questions tagged [dynamic-data]

Dynamic data denotes information that is asynchronously changed as further updates to the information become available.

984 questions
69
votes
16 answers

Dynamic Database Schema

What is a recommended architecture for providing storage for a dynamic logical database schema? To clarify: Where a system is required to provide storage for a model whose schema may be extended or altered by its users once in production, what are…
Fake Jim
  • 1,122
  • 2
  • 11
  • 10
39
votes
8 answers

App_Code folder is missing in VS 2010

I was trying to create a Dynamic Data Website using VS 2010 RC. An attempt to create an App_Code folder where I would put a LINQ to SQL class, failed. When I selected 'Add ASP.NET Folder' to add the folder, I had options to create only the…
Vadim
  • 21,044
  • 18
  • 65
  • 101
33
votes
13 answers

Why does jQuery UI's datepicker break with a dynamic DOM?

I'm working with a dynamic DOM here, and have called the jQuery UI datepicker to all inputs with a specific class name, in this case .date It works great with the first, static, construct but when I clone it the event handlers don't seem to want to…
Will Morgan
  • 4,470
  • 5
  • 29
  • 42
29
votes
2 answers

how to change timespan variable to a integer type?

I'm trying to convert timespan variable into an integer variable using 'parse'. I get an error that says: Format exception was unhandled: Input string was not in correct format This is the code is have : private void…
Aman Mehrotra
  • 373
  • 4
  • 7
  • 15
28
votes
5 answers

go to link on button click - jQuery

I have a script as below $('.button1').click(function() { document.location.href=$(this).attr('id'); }); the button1 has variable unique ids. on click, the page must redirect to url "www.example.com/index.php?id=buttonid" but now the page is…
Alfred
  • 21,058
  • 61
  • 167
  • 249
28
votes
3 answers

Dynamic form from JSON data (different types)

I try to create a dynamic form in AngularJS using the data from a JSON. I have this working: HTML

Enrique Aparicio
  • 807
  • 1
  • 7
  • 19
27
votes
11 answers

How do you dynamically allocate a matrix?

How do you dynamically allocate a 2D matrix in C++? I have tried based on what I already know: #include int main(){ int rows; int cols; int * arr; arr = new int[rows][cols]; } It works for one parameter, but now for…
chustar
  • 12,225
  • 24
  • 81
  • 119
25
votes
7 answers

Why no variable size array in stack?

I don't really understand why I can't have a variable size array on the stack, so something like foo(int n) { int a[n]; } As I understand the stack(-segment) of part of the data-segment and thus it is not of "constant size".
user695652
  • 4,105
  • 7
  • 40
  • 58
25
votes
8 answers

How do I invoke a validation attribute for testing?

I am using the RegularExpressionAttribute from DataAnnotations for validation and would like to test my regex. Is there a way to invoke the attribute directly in a unit test? I would like to be able to do something similar to this: public class…
CobraGeek
  • 543
  • 1
  • 5
  • 10
24
votes
6 answers

Dynamic (Runtime Generated) Forms in ASP.NET MVC

This is a general design question: How would you implement a dynamic (runtime generated) form in ASP.NET MVC? Here's the situation: A site admin can define form parameters (fields, type of fields, validation) with a GUI (MVC view). As needed, the…
Robert Claypool
  • 4,262
  • 9
  • 50
  • 61
24
votes
6 answers

How to give dynamic file name in the appender in log4j.xml

I am using log4j to log information. I have used a log4j.xml file for creating log files. I have given the absolute path for each log file as a param tag value. E.g.:
Bittu
  • 241
  • 1
  • 2
  • 4
19
votes
4 answers

Dynamically call Class with variable number of parameters in the constructor

I know that it is possible to call a function with a variable number of parameters with call_user_func_array() found here -> http://php.net/manual/en/function.call-user-func-array.php . What I want to do is nearly identical, but instead of a…
bmarti44
  • 1,247
  • 2
  • 14
  • 22
16
votes
1 answer

how to dynamically create SQLAlchemy columns

I have a csv file with first line as fields and remaining lines as data. With this file I would like to create a table. Since the fields are quite long and may vary, I want to dynamically create it. After several tries and searches, I figured I…
Nicolas
  • 163
  • 1
  • 1
  • 4
16
votes
4 answers

ASP.NET dynamically created controls and Postback

I know this question has been asked thousands of times, and I've struggled with it before, but for some reason, I can't accomplish what I want to accomplish... I have a dynamically added LinkButton that when clicked will dynamically add a control…
Honus Wagner
  • 2,830
  • 13
  • 44
  • 61
16
votes
2 answers

getElementsByClassName not working

I coded a php page that displays information from a mysql database neatly into tables. I would like to hide empty table rows with an onLoad event handler. Here is a sample table with code that hides a when it has no content. but i can only get…
new star
  • 197
  • 1
  • 1
  • 7
1
2 3
65 66