I've a few pages content on a database with a large content.
Should i use a database to store it or try another solution to avoid many connections to database from users? I've thought and XML document but i want to avoid problems with html tags.
About performance, is there better using an database or other solution?
I have already created add/delete rows.. if i click on addRows new rows will be added and when i click DeleteRows the row will be deleted..BUT my question is when new rows are added n the entered data in new rows need to inserted into DAtabase...
Or must it be a SQL Server database? If I'm reading the documentation right, as long as I use Entity Framework and not Linq to SQL, I can go against a Sybase data source. But I'm not certain...
Rather than having a details button next to the database entry I would like to make a link out of the name field.basically i want the item.Name field to be the name of the link in theHtml.ActionLink(" **here*** ", "Details", new blablalba)What is the syntax to do this in asp.net
I have a page which lists stores,malls of individual cities. I have used the list of cities in DropDownList. I have added dynamic title to page as like
It works fine. But when I see that page in Google Search then its showing only one title like "Stores in Delhi". Here 'Delhi' is in the default selected value in DropDownList1. But as I have many cities in that DropDownList1, I want to show each value of DropDownList1 to be appear in search result as title according to search query. For example if user types search query "Stores in Jaipur" then search result should show result with this title "Stores in Jaipur" Remember that Dynamic title is working fine but question is that "How to show is in search result"
i want to build dynamic sitemap from database..even my menu items are also dynamic...and i want do display sitemap having categories and related menu items from database..
so i dont know how to build dynamic site and create dymanic links of that menus and categories..
Example: we have different articles in a database like cars, jewelery, boats. The data related to these articles is different in the tables. I have to show that data in a textboxes and let the user change those data and update. I can do the update and reading the data from database. But the problems is for each item the no.of columns and rows will differ.
My task is I need to get the data according to the use selection in the table with textboxes. I dont know which container (gridview, formview or etc) will suites for my requirement. send me any sample code or any tutorial related to this.
Note: showing the data in a table should be a constraint. Because I should show data row wise (each row contains 3 textboxes and 3 labels (DB table column names))
i have read and used this script.Adding Dynamic Rows in ASP.Net GridView Control with TextBoxes..it is very usful to me but i want to fetch data from sqll database and fill the newest row with it. the past row data hav to be remain same. becoz of the same name of textbox it happens. whenever i try to fetch data from database and fill textbox all rows get updated with the same data.
I have a page with a data repeater. Each row has a dropdownlist for the user to select a value and the values in every dropdown are the same. I also have an SqlDataSource which each dropdownlist gets its values from as its created. Everything is working as it should but for each dropdown that is rendered a seperate call is made to the database.
suggest a better way for me to do this that means only one call to the database for all dropdowns rendered?
I am trying to find a good way of building out dynamic controls in a repeater from sql. Basically I have bunch of questions(male/female, where are you from) and question type(textbox, radio button) in sql. In the repeater I need to build the control object based on sql table and the answer. Does anyone have a good example or ideas who it can be done.
I have a dynamic Table which contain 8 rows and 8 Colums
Table t = new Table(); TableRow rr = new TableRow(); TableCell cc = new TableCell(); and in the each Cell CC I add a dynamic Button(Or Linkbtn) LinkButton LB1 = new LinkButton(); LB1.Text = "AM"; LB1.ID ="Link1"; cc.Controls.Add(LB1); rr.Cells.Add(cc); LB1.Click += new EventHandler(LB1_Click); t.Rows.Add(rr);
i have a table with 8 rows , 8 colums and each cell contain a LinkButton (which diffrent in IDs) I want to add Lable in the same cell of this LinkBtn(LB1) which it clicked but I cann't What shoud I write here?
im creating dynamic buttons on page load and on the click event of button1 handlere iam creating more buttons this is going fine but on click event of button 2 work is not done so how to maintain a chain of creation of button on click events
We currently allow users to store HTML in the database. Would like to allow them to add scriptlets to their HTML email templates that would be executed at run time. Example:
[Code]....
What I want to have happen is to have the scriptlet execute before being rendered to the output stream.I found an article from Rick Strahl that is about 8 years old:
http://www.west-wind.com/presentations/dynamicCode/DynamicCode.htm. It looks like the code at the very bottom is exactly what I want, but when I tried it in my .Net 4 app, it didn't work. I get the error:
2 Errors:Line: 0 - Metadata file 'RemoteLoader.dll' could not be found
Line: 0 - Metadata file 'wwScripting.dll' could not be found
I presume this is from the Generated source code. Not sure how I tell the Generated source code where those 2 DLLs are.
Is there a different/better way of doing this these days?
Im just wondering how you go about creating dynamic properties on entities that generated from a database generated model.For example I have a UserInformation table. In that table it has basic information on the user (well derr) like user name, address details etc etc. I want to add a readonly property that concatenates the user's Name, Address details and Phone Number into one string that I can output to a view. Any ideas on how i would go about creating this dynamic property. This is just a simple example, i am wanting to do some more complex calculating and concatenating.
Does anyone have experience of either creating stylesheets/themes on the fly from a database or else access the style properties of say a label control and changing these based on database values?
Im basically trying to give my users the ability to modify any one part of the design of the website while stroing these choices in a database - for example they may like a red heading.
Im happy with the solution I have for the database but was wondering if I should attach these values programatically to each individual element or dynamically produce a complete stylesheet as the page loads.