Must I use the computer name while doing the liking of a form to the database?
View Complete Post
Hi,
I would want to know what is better: to keep a lot of data in cache at once or to keep a little data by paging?
For example:
I have 1000 articles and 200 pages.
Hi, I have window form to let user fill data, I want to alert user if close web browser before saved web form data, could anyone provide any clue?
Thanks,
Martin
Hi all,
I have a SQL routine which builds me an entire XML file and returns it as a string. If I save the content of this file as sample.xml for instance, I am able to open it in IE or any other browser and the user can expand the nodes and see all the content he wishes.
I am trying to build a ASP.Net page which will display the content of a XML file in the same way (or similar) that the browsers do.
So far, I've been reading some posts and noticed I can use XmlDataSource control and its Data property to load the entire XML doc as a string. Now I am stuck how to display the contents. I found TreeView very confusing and not sure if DataGrid would be a alternative as well. I need to user to be able to open and expand the nodes.
Please someone point me to the right direction. What controls to use, etc... sample codes are the best ;-)
Thank you
i grid view contain the following coloum
id name DateofBirth DateofJoining
1 a 22-Aug-1980 10-jan-2000
1 a 22-may-1980 20-feb-2000
1 a 12-Feb-1980 15-mar-2000
1 a 3-Aug-1980 7-jan-2000
how to sort if we click DateofBirth or Dateofjoining and not sort any where if we click(Id,Name)
i have created university timetable.
how to display data.??
days show in row wise and period showin column wise
aur every period have particular course..
gridview..detalview or any thing..??
plz reply urgent....
give complete steps
My page has ListView with SqlDataSource. I set SqlDataSource as DataSet and EnableCaching = True.
BEFORE I filter SqlDataSource, I don't have problem to get the record value for selected record data in my ListView.
AFTER I filter SqlDataSource, my ListView can display the filter record data properly, but I have problem to get the record value for selected record data in my ListView. The record value for selected record data does not refer to the record value what I am selecting.
Please advise this problem. SqlDataSource must be set as DataSet and EnableCaching = True for solving this problem.
Thanks.
I am continuing wokling on a learning experience called www.ewdnetconcepts.com It is my first ASP.NET website and I am using VS 2010 Pro C# ASP.NET . I am using a tutorial from programminghelp.com which incoporates AJAX in a User Comments Page. I have the data base set up and am confiquring the Data Source and I am having problems with the syntax to be used in the UI field SELECT
and INSERT
Any help greatly appreciated
MIKE E
Hard to describe be here goes.
Currently I have this in the aspx page
<% = new BuildFormField() { FieldName = "FirstName" }%>
And the simplified object
Class BuildFormField(){
return GetFieldAttributes("FirstName") //calls a linq query based on the field name to get all the attributes of the field ie size/class and builds the html string.
}
The problem is, I will have many of these and it queries the database every time. What I would like to do is build a general dataset once and query that result set for each field.
I can't figure out where I should setup the initial query. Obviously don't want to put it in the aspx page or the controller and I can't figure out how to create a class that would only get called once that I could use again inside the BuildFormField Class.
Hope that makes sense. Yea, a bit unusual of a way to create form fields, but there is good reasons.
Thanks ahead of time.