Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
0 Endorsements
Ranked #1K
~14.3K People Reached
About Me

Hi,
I am a die hard optimistic and believe that- "If you can't see the bright side of life, polish the dull side."

Interests
Programming in C/C++.reading fiction novels
Favorite Tags

56 Posted Topics

Member Avatar for pranab2302

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 still want to pursue with a complete embedded page, you can use …

Member Avatar for Fortinbra
0
1K
Member Avatar for himanjim
Member Avatar for Ancient Dragon
0
159
Member Avatar for bala24

Hi guys, Long time no see. Anyways, need help like always. Actually since the past two years i have been simply neglecting C++ due to my pressing commitments with ASP.Net and suddenly i feel like doing programming in C++ all over again. What i need is a startup project (Intermediate …

Member Avatar for a900nasaslam
0
182
Member Avatar for Covinus

Well Nichito , I believe that ANSI C actually standardized the fact that a function with no return type specified will be taken as int. I believe thats the reason most compilers let u have it your way with that.. Can't say the same about Standard C++ though..

Member Avatar for Tom Gunn
1
1K
Member Avatar for johnny.g

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 step you can use the following code. [QUOTE] <dropdownlist>.DataSource = <datareader> <dropdownlist>.DataBind()[/QUOTE]

Member Avatar for jpramac
0
305
Member Avatar for vishakha_ate
Member Avatar for vishakha_ate
0
123
Member Avatar for 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 inputs through JavaScript and prompts for errors through alert messages. The counter has been coded through a …

0
50
Member Avatar for brightline

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.

Member Avatar for aspking
0
118
Member Avatar for mcgarry101

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 label controls with textbox and it should work fine. Regarding the page loading slow, only put the following code in …

Member Avatar for mcgarry101
0
149
Member Avatar for pranav_jog

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.

Member Avatar for bala24
0
85
Member Avatar for amitsunnuu

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.

Member Avatar for bala24
0
71
Member Avatar for plusplus

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.

Member Avatar for bala24
0
171
Member Avatar for marcusbarnet

[QUOTE]there is no standard API to goto a specific line[/QUOTE] Just curious, If we have the index, can't we use seek to get to that line.

Member Avatar for marcusbarnet
0
979
Member Avatar for johnny.g

Can you tell me how you are trying to approach this in the first place before I suggest anything ?

Member Avatar for bala24
0
182
Member Avatar for preethi_ga

This is one way of doing it. [URL="http://msdn.microsoft.com/en-us/library/aa719548(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/aa719548(VS.71).aspx[/URL]

Member Avatar for bala24
0
64
Member Avatar for priyamsc

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.

Member Avatar for bala24
0
177
Member Avatar for preethi_ga

The statement [QUOTE]con.Open()[/QUOTE] has to come before [QUOTE] com = new SqlCommand("insert into emp values(" & Textbox1.Text & ", ' " & Textbox2.Text & " ', " & Textbox3.Text & " ", con)[/QUOTE] This got to make it work.

Member Avatar for bala24
0
73
Member Avatar for sreein1986
Member Avatar for bala24
0
323
Member Avatar for strike2008

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 returns from the postback.

Member Avatar for bala24
0
33
Member Avatar for lagyossarian

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 control as one more column along with the gridview. 2).Add a …

Member Avatar for bala24
0
60
Member Avatar for johnny.g

Hey, How about using AJAX for updating the database? That way, the page won't get refreshed both times.

Member Avatar for bala24
0
41
Member Avatar for plusplus

Well that's what an application variable is all about. Try google with this. You'll get a solution.

Member Avatar for bala24
0
95
Member Avatar for johnny.g

THe first part is easy. You can get all the tables from the database through this query: [code]SELECT * FROM sysobjects WHERE type = 'U' [/code] Just populate the dropdown with the output from this query. On selection of the dropdown, get all columns and display them in the grid. …

Member Avatar for bala24
0
127
Member Avatar for bala24

Hi, I am supposed to design an outlook calendar like functionality to an existing application. The user wants to view all reminders based on a daily, weekly and monthly basis. I was able to solve this part by creating datatable on the fly with the reminder content and displaying with …

Member Avatar for bala24
0
613
Member Avatar for Shubhib

Well you can use javascript for this purpose. You can use the window.parent property to access any control on the parent window. Just call this function on the click of the link and this should solve your purpose.

Member Avatar for bala24
0
94
Member Avatar for komodo891

That would depend upon if you have a unique value representing the thumbnail elevation in question. What you could do is , on the selection of the thumbnail pass this unique value as a query string or a session variable to the pop-up page and let the page load event …

Member Avatar for srikanthkadem
0
607
Member Avatar for plusplus
Member Avatar for bala24

Hi guys, I got this strange problem which I can't seem to solve. I have this Iframe within a webpage and I am opening another page within this. This nested page contains two drop down controls. The selection of the first dropdown populates the second with some values. The selection …

Member Avatar for majestic0110
0
68
Member Avatar for bala24

Hi, I have this data in the database and pre-defined template slides on the web server. What I need to do is to get the data from the database and to create a ppt from the available slides by populating content in them. Can anyone suggest me how this can …

Member Avatar for bala24
0
103
Member Avatar for bala24

Hi guys and Gals, Have some trouble digesting some facts about Casting in C++. 1). Why can't we use a static_cast for safe downcasting on a polymorphic class? 2).Consider this snippet.. [code] [COLOR=green][COLOR=green][COLOR=green]class[/COLOR][COLOR=green] A {};[/COLOR][/COLOR][/COLOR] [COLOR=green][COLOR=green][COLOR=green]class[/COLOR][COLOR=green] B { public: B (A a) {} };[/COLOR][/COLOR][/COLOR] [COLOR=green][COLOR=green][COLOR=green]A a;[/COLOR][/COLOR][/COLOR] [COLOR=green][COLOR=green][COLOR=green]B b=a;[/COLOR] [/COLOR][/COLOR][/code] [COLOR=green]How …

Member Avatar for thekashyap
0
116
Member Avatar for bops

No, but you can return a pointer pointing to your X-D array through which you can then access the elements from the calling function.

Member Avatar for iamthwee
0
817
Member Avatar for bala24

Hi all, I was reading about some stuff about References in C++ and got into a debatable topic.. Is references same as a constant pointer to a variable or not. I got some info. to support the topic [URL="http://www.codeproject.com/useritems/References_in_c__.asp"]here[/URL]. At the same time, something that says otherwise [URL="http://www.cprogramming.com/tutorial/references.html"]here[/URL]. Can you …

Member Avatar for bala24
0
123
Member Avatar for meiyantao

[code] bot():password(567){} [/code] Can anyone tell me what this particular line does... I am totally baffled!!

Member Avatar for Narue
0
251
Member Avatar for bala24

Hi, I was just browsing through some stuff about Initialization lists in C++ and got stuck with a doubt.. Why is it necessary to use initialization lists while giving a value to constants or references ?? Why is it not possible to do so in the normal way..i.e initializing them …

Member Avatar for ~s.o.s~
0
115
Member Avatar for tech291083

Hi guys, I believe the moderators could help a lot in this one by telling their experiences.. I am sure lots of people (including me) will get motivated by that.. So can some of you write about your programming experiences and your favourite languages. Would greatly appreciate it..

Member Avatar for bala24
0
288
Member Avatar for jaepi

Try using a dry run method.. Convert the variable values in binary and then use the XOR oerator on them. U 'll be surprized to see the results..

Member Avatar for jaepi
0
171
Member Avatar for gpta_varun

Hi, I would like to add here, that to use the variable in the file link.c , try to declare it again as follows [code] extern int itemp; [/code] This 'll probably resolve the issue..

Member Avatar for gpta_varun
0
164
Member Avatar for ziofu

If u r actually working on a unix machine u can use the interrupt handling commands to do this job for you.. For example... you can program the Ctrl + C to act differently and end with the desired output on the screen.

Member Avatar for ziofu
0
97
Member Avatar for rdsii64

hey buddy, Before u get a loud bashing from the moderators of the site regarding ethics , do keep in mind that each new problem is supplosed to be as a new post. So put up the request again in order to get the answers.

Member Avatar for thekashyap
0
130
Member Avatar for bala24

Hi, I need to do the usual i.e design a form to get user registration details. I need to allow him to select his country ,state city but i figure making three separate postbacks would greatly reduce the performance. Alternatively i was planning to fetch the whole data at client …

Member Avatar for bala24
0
78
Member Avatar for bala24

Hi, I usually only participate in the C/C++ forum but i guess desperate times need desperate measures. Well, i am trying to query an LDAP through DirectoryServices but can't seem to get it right and need ur help in the matter. Here's the code i am using.. [code] strUID = …

Member Avatar for bala24
0
192
Member Avatar for Lynqu2

Hi all, Reading all this sure makes me motivated. Mr. Dragon, hats off to u . Thanks for sharing that piece for all the daniweb users.

Member Avatar for Lynqu2
0
454
Member Avatar for bala24

Hi , can anyone give me some good links to learn all about data structures and using them in C. I have an exam soon on the topic and although i did went through it in my college days, its all washed out now. Thanks in advance.

Member Avatar for Dave Sinkula
0
85
Member Avatar for nuwan243

Man, You surely know how to annoy people. Try doing urself first before u actually bombard this site with all the questions in ur mind.

Member Avatar for JRM
0
118
Member Avatar for senguptapallab

Try bjarne stroustrup's book: C++ Programming Language Although it is a little cryptic, but i find that it covers everything, well he made it afterall.

Member Avatar for JoBe
0
147
Member Avatar for Walkers

What u could do is declaring the sinput as follows: [code]char sinput[20];[/code] This should resolve the issue.

Member Avatar for iamthwee
0
151
Member Avatar for andrax
Member Avatar for andrax
0
218
Member Avatar for vicky_dev

An old one.. Hope this is what u looking for [code] char*s="char*s=%c%s%c;main(){printf(s,34,s,34);}"; main() { printf(s,34,s,34); } [/code] These are called signature programs by the way..

Member Avatar for SpS
0
307
Member Avatar for bala24

Hi all, I got this problem after reviewing aznballerlee's problem posted some time back and the replies to it. I need to design the same function but with only one parameter i.e remove_S(char *p) I cannot take any local variables within the function. main looks like this ... [code] int …

Member Avatar for JRM
0
152
Member Avatar for bala24

Hi everybody, i was planning to learn Visual C++ .net 2003 but don't know where to start. Can somebody recommend a good link for the same. Thanks in advance..

Member Avatar for Ancient Dragon
0
127

The End.