Forum: ASP.NET Jul 10th, 2008 |
| Replies: 0 Views: 241 Problem with alert popup Hi,
I have this application that logs call durations and allows user to enter details about the call.
I am having a problem with the functionality in a peculiar case.
The application validates... |
Forum: ASP.NET Jul 1st, 2008 |
| Replies: 3 Views: 394 |
Forum: ASP.NET Jul 1st, 2008 |
| Replies: 1 Views: 178 Re: messenger on custom web page Creating a new post again and again is not going to take you anywhere.
Wait for someone to read your post and send you a solution if he knows.
Well I don't naturally. |
Forum: ASP.NET Jul 1st, 2008 |
| Replies: 3 Views: 394 Re: server application unavailable Well this doesn't tell anything.
In case if you didn't understand, it told you to check the error in the eventlog of the server.
So you have to do that to find the real error. |
Forum: ASP.NET Jul 1st, 2008 |
| Replies: 4 Views: 422 Re: editable Gridviews Well I haven't seen anybody doing this and for good reason, trust me.
This is in no way going to be better in performance and you will also face plenty of problems while updating.
Oh..ya if its a... |
Forum: ASP.NET Jul 1st, 2008 |
| Replies: 4 Views: 422 Re: editable Gridviews Well from what you have pasted it seems that instead of textboxes that will make the column editable, you have put label controls in the <EditItemTemplate></EditItemTemplate>
tags.
So replace the... |
Forum: ASP.NET Jul 1st, 2008 |
| Replies: 5 Views: 410 Re: GirdView Problem I think you are binding the gridview inside a IF not ISPOSTBACK ----END IF code in Page Load.
Paste it outside this on Page Load.
This should do the trick. |
Forum: ASP.NET Jun 30th, 2008 |
| Replies: 8 Views: 781 Re: login with ms access table Well you don't need that line at all.
The ExecuteScalar method returns a single value eg the number of records affected in an update query.
In your case it holds the id of the user which is an... |
Forum: ASP.NET Jun 27th, 2008 |
| Replies: 8 Views: 781 |
Forum: ASP.NET Jun 27th, 2008 |
| Replies: 8 Views: 781 Re: login with ms access table Try this article.
It will clarify your doubts about form authentication.
http://www.eggheadcafe.com/articles/20020906.asp
If you think that's difficult to digest, go through this... |
Forum: ASP.NET Jun 26th, 2008 |
| Replies: 16 Views: 1,035 Re: create sqldatasource through coding Do fill in the rest of the details
Dim li As ListItem
If rd.HasRows Then
Do While rd.Read
li = New ListItem
li.Text= rd.Item("fname")
li.Value = rd.Item("srid") |
Forum: ASP.NET Jun 26th, 2008 |
| Replies: 16 Views: 1,035 |
Forum: ASP.NET Jun 26th, 2008 |
| Replies: 16 Views: 1,035 |
Forum: ASP.NET Jun 26th, 2008 |
| Replies: 16 Views: 1,035 |
Forum: ASP.NET Jun 26th, 2008 |
| Replies: 8 Views: 781 Re: login with ms access table Call Executescalar with your command object. It returns a single value like id in your case if the query is successful.
If it is nothing then the login fails, otherwise, allow the user. |
Forum: ASP.NET Jun 26th, 2008 |
| Replies: 1 Views: 730 Re: calling an aspx page in another aspx page It depends on what kind of a functionality you require in the second aspx (the one you are calling).
If you are just trying to create a dynamic header, you can try looking at user controls.
If you... |
Forum: ASP.NET Jun 26th, 2008 |
| Replies: 16 Views: 1,035 Re: create sqldatasource through coding Well, your sql query is fetching all columns from the table and your dropdownlist cannot be bound to such a recordset.
What you need to do is modify your sql query to fetch only fname as in
select... |
Forum: ASP.NET Jun 26th, 2008 |
| Replies: 16 Views: 1,035 Re: create sqldatasource through coding Yes you can. Follow these steps.
1).Create a query which fetches the fname from details table.
2).Call cmd.ExecuteReader with this query.
3).Now bind the dropdownlist from the datareade.
For this... |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 11 Views: 615 Re: need help,,asp.net and sql update problem Well I understood your problem buddy.
OK. One more try.
Try this.
In your code that you posted, your variable ramram has been declared as integer and you are using the statement.
Try using an... |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 1 Views: 210 |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 11 Views: 615 |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 5 Views: 1,256 |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 11 Views: 615 Re: need help,,asp.net and sql update problem Sorry didn't get you.
But let me clarify myself.
When you use a command object to update or insert in a database, you need to use an Executenonquery.
Maybe this is giving the problem.
So try |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 1 Views: 349 |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 11 Views: 615 |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 5 Views: 1,256 |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 11 Views: 615 |
Forum: ASP.NET Jun 25th, 2008 |
| Replies: 4 Views: 383 |
Forum: ASP.NET Jun 24th, 2008 |
| Replies: 7 Views: 377 Re: Visitors Counting in out website Well I don't think so.
A session variable works on the session level and is independent of any other session.
So it will not be able to increment the counter with each session start.
Moreover,... |
Forum: ASP.NET Jun 24th, 2008 |
| Replies: 1 Views: 318 Re: problem in grid view Thats a common problem.
Add a javascript to the update botton that gets fired after a defined interval say 5 secs and disables the control.
The control will automatically get enabled once the form... |
Forum: ASP.NET Jun 24th, 2008 |
| Replies: 7 Views: 377 |
Forum: ASP.NET Jun 24th, 2008 |
| Replies: 1 Views: 627 Re: Collapsing Gridview Rows Well not sure about this but I think you can try this out.
I am assuming that you are using Nested Grids i.e a parent gridview with each row being a gridview in itself.
1). Add an HTML image... |
Forum: ASP.NET Jun 24th, 2008 |
| Replies: 1 Views: 180 Re: update problem???? Hey, How about using AJAX for updating the database?
That way, the page won't get refreshed both times. |
Forum: ASP.NET Jun 24th, 2008 |
| Replies: 4 Views: 383 |
Forum: ASP.NET Jun 24th, 2008 |
| Replies: 7 Views: 377 Re: Visitors Counting in out website I assume since you posted this in an ASP.Net forum you are atleast referring to an ASP.Net/ASP application having few HTML pages.
If so then it surely will work cause the code is supposed to be added... |
Forum: ASP.NET Jun 21st, 2008 |
| Replies: 7 Views: 377 |
Forum: C Jun 20th, 2008 |
| Replies: 12 Views: 1,016 |
Forum: ASP.NET Jun 20th, 2008 |
| Replies: 15 Views: 810 Re: count visitors Well I did mention this previously.
Application_Start : Retrieve the last written value from database and update application variable.
Session_Start: Increment the variable.
Session_End: This is... |
Forum: ASP.NET Jun 20th, 2008 |
| Replies: 15 Views: 810 Re: count visitors Well That's no difference then what you did with the webpage with grids.
You just need to write the code to connect and retrieve/insert record from db in the particular event. |
Forum: ASP.NET Jun 20th, 2008 |
| Replies: 15 Views: 810 Re: count visitors Well thats up to you to decide.
Usually db table can be used in cases if you require to check later on as to how many people are hitting your application on a per week or any other duration to keep a... |