Search Results

Showing results 1 to 40 of 125
Search took 0.01 seconds.
Search: Posts Made By: bala24
Forum: ASP.NET Jul 10th, 2008
Replies: 0
Views: 835
Posted By bala24
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: 1,186
Posted By bala24
In that case Can you mark this thread as solved ?
Forum: ASP.NET Jul 1st, 2008
Replies: 1
Views: 418
Posted By bala24
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: 1,186
Posted By bala24
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: 913
Posted By bala24
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...
Forum: ASP.NET Jul 1st, 2008
Replies: 4
Views: 913
Posted By bala24
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: 997
Posted By bala24
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: 2,047
Posted By bala24
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: 2,047
Posted By bala24
Well the second url I sent is in vb and its quite easy to understand as well.

Try that one.
Forum: ASP.NET Jun 27th, 2008
Replies: 8
Views: 2,047
Posted By bala24
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 one..
...
Forum: ASP.NET Jun 26th, 2008
Replies: 17
Views: 3,727
Posted By bala24
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: 17
Views: 3,727
Posted By bala24
Well one way is to loop through the datareader and get the values in each row and add it to dropdownlist.
This involves the following steps.
Forum: ASP.NET Jun 26th, 2008
Replies: 17
Views: 3,727
Posted By bala24
Well glad to help.
Do remember to set this thread as Solved so that others could benefit from this solution.
Forum: ASP.NET Jun 26th, 2008
Replies: 17
Views: 3,727
Posted By bala24
Try this.

http://bytes.com/forum/thread259618.html
Forum: ASP.NET Jun 26th, 2008
Replies: 8
Views: 2,047
Posted By bala24
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: 2,593
Posted By bala24
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...
Forum: ASP.NET Jun 26th, 2008
Replies: 17
Views: 3,727
Posted By bala24
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
...
Forum: ASP.NET Jun 26th, 2008
Replies: 17
Views: 3,727
Posted By bala24
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...
Forum: ASP.NET Jun 25th, 2008
Replies: 11
Views: 1,873
Posted By bala24
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...
Forum: ASP.NET Jun 25th, 2008
Replies: 1
Views: 452
Posted By bala24
This is one way of doing it.

http://msdn.microsoft.com/en-us/library/aa719548(VS.71).aspx
Forum: ASP.NET Jun 25th, 2008
Replies: 11
Views: 1,873
Posted By bala24
Yes ..I got it that far..



So is it giving you any error while updating?
If yes, can you post that as well.

If no, well we 'll think of that part later.
Forum: ASP.NET Jun 25th, 2008
Replies: 5
Views: 4,567
Posted By bala24
Can you tell me how you are doing this?
Forum: ASP.NET Jun 25th, 2008
Replies: 11
Views: 1,873
Posted By bala24
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: 1,062
Posted By bala24
The statement

has to come before


This got to make it work.
Forum: ASP.NET Jun 25th, 2008
Replies: 11
Views: 1,873
Posted By bala24
Just curious..

Why are you calling an ExecuteReader with an update query?
Shouldn't you be using an ExecuteNonQuery instead?
Forum: ASP.NET Jun 25th, 2008
Replies: 5
Views: 4,567
Posted By bala24
Yep, you can try calling a specific function every one minute or so that checks if an entry is made and gives an alert if true.

Hope this is what is required.
Forum: ASP.NET Jun 25th, 2008
Replies: 11
Views: 1,873
Posted By bala24
Can you tell me how you are trying to approach this in the first place before I suggest anything ?
Forum: ASP.NET Jun 25th, 2008
Replies: 4
Views: 767
Posted By bala24
Hey, I haven't Done this ever but found something that might help you.

Try this link. Its got a pretty neat solution....
Forum: ASP.NET Jun 24th, 2008
Replies: 7
Views: 739
Posted By bala24
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.
...
Forum: ASP.NET Jun 24th, 2008
Replies: 1
Views: 591
Posted By bala24
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...
Forum: ASP.NET Jun 24th, 2008
Replies: 7
Views: 739
Posted By bala24
Sorry buddy.
Can't help you in this.
Forum: ASP.NET Jun 24th, 2008
Replies: 1
Views: 3,558
Posted By bala24
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: 479
Posted By bala24
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: 767
Posted By bala24
How are you displaying the search results on the page ?
Forum: ASP.NET Jun 24th, 2008
Replies: 7
Views: 739
Posted By bala24
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...
Forum: ASP.NET Jun 21st, 2008
Replies: 7
Views: 739
Posted By bala24
Could you be more detailed about your question ?
It helps you know !!
Forum: C Jun 20th, 2008
Replies: 12
Views: 2,304
Posted By bala24
Just curious, If we have the index, can't we use seek to get to that line.
Forum: ASP.NET Jun 20th, 2008
Replies: 15
Solved: count visitors
Views: 1,892
Posted By bala24
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:...
Forum: ASP.NET Jun 20th, 2008
Replies: 15
Solved: count visitors
Views: 1,892
Posted By bala24
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
Solved: count visitors
Views: 1,892
Posted By bala24
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...
Showing results 1 to 40 of 125

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC