- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
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
56 Posted Topics
Re: 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 … | |
Re: cin and cout are none of those. They are objects. The links are great though. | |
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 … | |
Re: 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.. | |
Re: 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] | |
Re: How are you displaying the search results on the page ? | |
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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: [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. | |
Re: Can you tell me how you are trying to approach this in the first place before I suggest anything ? | |
Re: 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] | |
Re: 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. | |
Re: 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. | |
Re: Could you be more detailed about your question ? It helps you know !! | |
Re: 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. | |
Re: 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 … | |
Re: Hey, How about using AJAX for updating the database? That way, the page won't get refreshed both times. | |
Re: Well that's what an application variable is all about. Try google with this. You'll get a solution. | |
Re: 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. … | |
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 … | |
Re: 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. | |
Re: 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 … | |
Re: Can you be more specific about the task you want to achieve? | |
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 … | |
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 … | |
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 … | |
Re: 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. ![]() | |
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 … | |
Re: [code] bot():password(567){} [/code] Can anyone tell me what this particular line does... I am totally baffled!! | |
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 … | |
Re: 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.. | |
Re: 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.. | |
Re: 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.. | |
Re: 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. | |
Re: 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. | |
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 … | |
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 = … | |
Re: 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. | |
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. | |
Re: 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. | |
Re: 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. | |
Re: What u could do is declaring the sinput as follows: [code]char sinput[20];[/code] This should resolve the issue. ![]() | |
Re: It might help if u could post the code rather than just explaining ... | |
Re: 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.. | |
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 … | |
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.. |
The End.