User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 403,084 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,072 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 125
Search took 0.02 seconds.
Posts Made By: bala24
Forum: ASP.NET Jul 10th, 2008
Replies: 0
Views: 241
Posted By bala24
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
Posted By bala24
Re: server application unavailable

In that case Can you mark this thread as solved ?
Forum: ASP.NET Jul 1st, 2008
Replies: 1
Views: 178
Posted By bala24
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
Posted By bala24
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
Posted By bala24
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
Posted By bala24
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
Posted By bala24
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
Posted By bala24
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
Posted By bala24
Re: login with ms access table

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: 781
Posted By bala24
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
Posted By bala24
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
Posted By bala24
Re: create sqldatasource through coding

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: 16
Views: 1,035
Posted By bala24
Re: create sqldatasource through coding

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: 16
Views: 1,035
Posted By bala24
Re: create sqldatasource through coding

Try this.

http://bytes.com/forum/thread259618.html
Forum: ASP.NET Jun 26th, 2008
Replies: 8
Views: 781
Posted By bala24
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
Posted By bala24
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
Posted By bala24
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
Posted By bala24
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
Posted By bala24
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
Posted By bala24
Re: Navigating records in ASP.NET.

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: 615
Posted By bala24
Re: need help,,asp.net and sql update problem

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: 1,256
Posted By bala24
Re: pop up window or msg box in asp.net2.0 with c#

Can you tell me how you are doing this?
Forum: ASP.NET Jun 25th, 2008
Replies: 11
Views: 615
Posted By bala24
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
Posted By bala24
Re: Insert,Update,Delete codings.

The statement

has to come before


This got to make it work.
Forum: ASP.NET Jun 25th, 2008
Replies: 11
Views: 615
Posted By bala24
Re: need help,,asp.net and sql update problem

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: 1,256
Posted By bala24
Re: pop up window or msg box in asp.net2.0 with c#

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: 615
Posted By bala24
Re: need help,,asp.net and sql update problem

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: 383
Posted By bala24
Re: Please Help!! Its Urgent

Hey, I haven't Done this ever but found something that might help you.

Try this link. Its got a pretty neat...
Forum: ASP.NET Jun 24th, 2008
Replies: 7
Views: 377
Posted By bala24
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
Posted By bala24
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
Posted By bala24
Re: Visitors Counting in out website

Sorry buddy.
Can't help you in this.
Forum: ASP.NET Jun 24th, 2008
Replies: 1
Views: 627
Posted By bala24
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
Posted By bala24
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
Posted By bala24
Re: Please Help!! Its Urgent

How are you displaying the search results on the page ?
Forum: ASP.NET Jun 24th, 2008
Replies: 7
Views: 377
Posted By bala24
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
Posted By bala24
Re: Visitors Counting in out website

Could you be more detailed about your question ?
It helps you know !!
Forum: C Jun 20th, 2008
Replies: 12
Views: 1,016
Posted By bala24
Re: Read a particular line from a text file

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
Views: 810
Posted By bala24
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
Posted By bala24
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
Posted By bala24
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...
Showing results 1 to 40 of 125

 
All times are GMT -4. The time now is 1:20 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC