Hello All,
I have a tree view control which I have to bind a dataset with multiple data tables in it, and have relations between them.
can you suggest how can I do that, I have tried many ways but none of them proved useful...
Thanks
...
Possible Duplicate:
How do I create a regular expression to accept not more than 10 digits?
I want a regular expression which will allow up to 10 digits in a user control having a text box. (ASP.net 3.5).
...
Nice to meet you. I developed Windows application with VisualStudio so far.
It was these days and has begun to do the Web application.
Therefore there is a question, but will there be UI which added a select box and text box in HTML?
Though it can choose some choices, it is a thing to have the direct input if there does not have it....
How do i keep checking if a user still is active, for like every 1 minute? I need to know which user is currently active and who is not! I'm not using ASP.NET membership provider!
Lets say, maximum 3 log in are allowed for one user to log in simultaneously from 3 different locations, if the same user, which is the 4th log in, try to log...
I am writing a login page for my site. I was thinking, would generating a random 64bit number and store it in the DB along with a httpOnly cookie be a good way to store the data? then every time a user receives a page (theres a toolbar which says how many new msg he has) to check if the random cookie matches the random cookie + userId in...
I need to add an entry into a database everytime a field changes in a form indicating the old value and the new value.
How would you go about this??
Would you...
Add a hidden field for every field and compare it to the new value on submit then add an audit entry if neccessary??
Do a select of the data to be inserted on post then comp...
Hi to Everyone..
Actually i am new in asp.net, i am using 5 different session variable in one of my web application. My question: Is there is any performance differs? If yes please tell the reason and what should i use instead of session variable because 5-session variables are compulsaryly needed in my application....without that i can...
Hello,
In an asp.net app, I have a task that ftps some xml files down to a local folder on my computer. I then want to read those files but when they're copied to my local folder, they don't have the Network Service user account set up. So, my question is how, in .Net C#, do you programmatically add the "Network Service" account with fu...
I have downloaded Skype4COM from Skype
so my question is, can i integrate it with Asp.Net for creating Video Conference on the web ?
...
Hi,
We are facing an issue with a SharePoint webpart we have developed.
After every app pool process recycle, thw webpart is not accessible to any users unless a local user accesses the webpart page first.
We recycle our application pools daily and unless a local user hits the webparty page, it is unavailable for all other users.
The e...
Hi,
I have a few HttpWebRequests and HttpWebResponses chained together, also using CookieContainer.
The code simulates a user going through three different 'I agree' pages which set the cookie info, logging in with username and password on a fourth, and doing a POST (search) on the fifth returning the response as a string.
Is there a ...
Or maybe i am doing it wrong, why are the cookies not being set when doing a Redirect?
static void doLogin()
{
var req = HttpContext.Current.Request;
...
user_cookie.set(userId, loginId);
...
HttpContext.Current.Response.Redirect(req["returnLocation"]);
}
static public void set(long userId, long loginId)
{
var c...
This is related to another question of mine
After eliminating the obvious (or so I thought) and biggest memory consumer (images in asp.net cache), not much has changed. We use Enterprise Library Exception Handling in this web (don't know why, but we do) and these exceptions do not get logged. Just for the record, server has 4 GB of memo...
Hello SO Gurus,
As far as I know, ASP.NET MVC leverages a lot of the features of ASP.NET Web Forms, one of these services is how to get the Html response from the template .aspx file (the view). Can asp.net mvc leverages any other platform to generate html over template files (something like PHP for example)?
EDIT: There is NO use case ...
Hello.
I'm having some wierd behaviour in my WinForm application coded in c#.
in my:
private void buttonSave_Click(object sender, EventArgs e)
Im calling my function:
functions.sendStatusEmail();
The weird thing is that, when i press the Save button then email send is not triggered. But if I close my application the mail is handle an...
I'm trying to add an item to a DropDownList in a Setter, and the added item doesn't stay.
I have confirmed that Viewstate is correctly enabled as suggested in this question (http://stackoverflow.com/questions/445222/switched-to-asp-net-3-5-dropdownlist-doesnt-remember-dynamically-added-items)
Here is my code.
Private Sub Page_Init...
Recently, my Visual Studio 2008(with Resharper 4.5) has started to reformat asp tags into lowercase.
Example:
<asp:Repeater runat="server" id="rp">
becomes
<asp:repeater runat="server" id="rp">
and I can't find a way to make it not do this. I use Ctrl-k Ctrl-d to reformat.
I've tried resetting the Visual Studio settings, turning...
Has anyone used plexityhide's GTP.NET for asp.net 3.5 as im trying to colour the individual cells based on a var that im getting from a linq query as follows
PilotDataContext pilot = new PilotDataContext();
var schedule = from x in pilot.slot_tbl_Schedules select x;
foreach (var s in schedule)
{
if (s.AppointmentType == "Repair")
...
I have the following problem:
I have a form in site/banen (currently local running webserver) which is using a SQL database. The link is made using ADO.net and is instantiated in the controller in the following way:
DBModelEntities _entities;
_entities = new DBModelEntities(); // this part is in the constructor of the controller.
Ne...
Hi there,
I've written some rules for our static content subdomains so that, when they come into IIS, they are redirected to our www. subdomain.
The reason for this is that we have several subdomains being indexed by Google. However, when I create the urls, I am still able to view files at img1.mydomain.com with the statuscode being 20...