Hello gurus,
I have an ObjectDataSource in an ASPX page calling CRUD operations from a business logic class. When exceptions occur during those operations, I'd like to inform the users of the errors as well as logging them. But I want a clear separation between my business logic and presentation layer. I know that Selected, Inserted,...
How can I populate an editable Grid with data from different tables from MSSQL Server'05 writing a code behind function???
I have used:
Dim conn As New SqlConnection(conn_web)
Dim objCmd As New SqlDataAdapter(sql, conn)
Dim oDS As New DataSet
objCmd.Fill(oDS, "TAB")
Dim dt As DataTable = oDS.Tables(0)
Dim rowC...
IIS 7 on Vista has a limit for concurrent requests (up to 10). I have a Virtual PC on my Vista with Windows Server 2008 installed on it.
IIS 7 on the virtual PC still limits simultaneous requests.
When I run the same application on ASP.NET Development Server, it's ok - there are no limits.
Is the problem in host OS?
How can I tune IIS t...
im using linq to sql
i have a Mission entity, which holds a collection of assignments. lets say i went to query the total duration of all the assignments per mission.
and i've written the following query:
return db.Missions.Select(m => new MissionNameDays()
{
Name = m.MissionName,
Days = m.Assignments.Sum(a => a.Du...
Hi I am using asp.net 2.0 and I want admin session variable timeout for 1 hour.
Is it possible? and How?
I am using windows authentication.
...
I'm new to JQuery,
but as a follow on from my previous question regarding duplicated entries to the database, on a forum type application, the question is:
Is JQuery a good solution to show to the user, transaction progress, state of submit etc
And what is the best solution, if using JQuery
Else what other solution is right.
With a vie...
hello
what is this error ? "An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
"
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding...
I'm beginning a project with a client to build a web application and I'm a little stuck on which solution to go with.
I've used Joomla for many clients in the past, but this client has specific requests that I KNOW I'm going to have to build myself.
The problem I'm facing is that I work full time under the .NET spectrum and while I a...
Hello Friends,
I am using .net c# and i want to fill datagrid with rss feed.
Problem is
When i return rss feed in to dataset then i got multiple table wich storing diffrent data.
Means i want to fill grid with "Title" and "Picture" here is my code example
protected void Button1_Click(object sender, System.EventArgs e)
{
XmlTextR...
PHP Print_r is useful to print out array and dictionary collection.
is asp.net build in this function??
...
How do I access data from html in asp.net in the .cs (code behind) file?
in .aspx page I have
<tr>
<td>Username:</td><td><input id="username" type="text" /></td>
</tr>
<tr>
<td>Password:</td><td><input id="password" type="password" /></td>
</tr>
...
I'm working on a small web form that requires the user to input (among other things), the scheduled backup time of whatever server they're adding to the system. The problem is, I'm struggling to find out the best way to take the user input and build a DateTime object (which is what the database requires).
I only really care about the Da...
I find myself using the ResolveUrl function a lot in my aspx pages but the resolved path is always relative. i would like to be able to have the rendered path start with the regular "http://localhost/myproject/"
How can i achieve that without breaking any code in case i change the hierarchy of my files?
Would it be inefficient to write ...
Hi,
I'm creating a page that uses Linqfor data access and I'm using DataList to display data. How can I use Linq to do data paging ? Please read simple code below :
I normally use a PagedDatasource but this only seems to work with a DataTable.
Here's my Linq to return Datatable which is bound with Datalist :
Public Shared Function ...
Hello gurus,
I have a FormView bound to an ObjectDataSource.
* ObjectDataSource definition (omitted portion of it for simplicity)*
<asp:ObjectDataSource
ID="odsHousehold"
runat="server"
TypeName="BLL.Households"
ConflictDetection="OverwriteChanges"
UpdateMethod="UpdateHousehold"
>
<UpdateParameters>
...
Hello, I have built a media gallery for my site. The media gallery contains media items from sites such as YouTube and Vimeo.
In the system that I'm using, no thumnail is generated for media items that I link to. So what I've done is just display a small "view" of the media in my media gallery. This means I'm just showing a small versi...
Are there any specific libraries for asp.net that are promising?
...
L2SQL seems great as long as I stick to read-only operations. As soon as I need to start changing fields, things get a bit hairy.
In particular, I'm running in to two distinct problems.
First, I'm attempting to populate a table with an arbitrary number of rows. The schema is mostly irrelevant, but it does have a 'BIGINT' primary key ...
I am having only Visual Studio 2005. Is it possible to create asp.net website with silverlight controls in Visual Studio 2005.
If yes what are the things I need to install and provide the samples.
...
Hi, I am working on asp.net 2.0.
Currently I started project that has been 80% developed by other.
when it comes to my hand there was no problem.
But suddenly I saw a problem in URL, e.g.
http://localhost:1281/MyProject/(S(tvrt5hnlt5tlwemdyjwrobjw))/Admin/WelcomeAdmin.aspx
so there is a crazy string between project Folder & subfold...