- Strength to Increase Rep
- +13
- Strength to Decrease Rep
- -3
- Upvotes Received
- 114
- Posts with Upvotes
- 101
- Upvoting Members
- 46
- Downvotes Received
- 87
- Posts with Downvotes
- 51
- Downvoting Members
- 30
961 Posted Topics
As usual i searched google to convert Decimal numbers to their Binary equivalents but i couldnt find any short algorithm for that matter. So here is mine.. | |
Re: I suggest that you use web user controls with .ascx extension instead of iframes. I can tell you how to do what you want with iframes too but it there will be unnecessary details. You can dynamically load the web user controls to different sections of web forms easily. | |
Re: this will give you a good idea and a working example [url]http://www.daniweb.com/forums/post882702.html#post882702[/url] | |
Re: [url]http://www.daniweb.com/forums/thread78963.html[/url] | |
Re: [QUOTE=Traicey;614678]Why should you complicate things while there is a easy way out, I mean C++ alone is complicated[/QUOTE] I totally agree with you, all you want to get is one line of string and see what you are supposed to do, as if it is rocket science.. | |
Re: [QUOTE=SushilKumar;155424]Hi Guys, Is it possible to call the C# function from Javasript...... Sushil Kumar :rolleyes:[/QUOTE] Yes it is possible to call C# function through javascript using Ajax extensions in Asp.Net | |
| |
Re: i cant exit the application using Application.Exit() | |
i like openoffice much better than ms office, what do you think? After having to use ms word 2007 and other products under the ms office package and vista OS, i started to like non-microsoft products. Thanks to these crap(i dont remember it can be crab), i even started to … | |
Converts Xml document to string | |
How to overlay two images in c#? Thanks | |
I had a background image for one of the container divs in my page. I positioned it to a specific pixel using its style properties. It worked fine in the internet explorer but was located to a wrong position when displayed by firefox. So i wrote the following code to … | |
Re: can you change my user name too? i want it to be "serkan sendur" instead of "serkansendur". | |
Re: you can create a custom installer class library project and then assign it to custom action property of your setup project. check the last attachment in this link [url]http://www.daniweb.com/forums/thread200529-2.html[/url] it will give you an idea of how to use custom installer. Ask Scott for details :) | |
i want to loop through each avaiable color in Color struct. Is that possible? | |
Re: i tried something like this but it didnt work : [CODE]protected override void OnPaintBackground(PaintEventArgs e) { base.OnPaintBackground(e); Pen pen = new Pen(Color.Red, 3); Rectangle rect = new Rectangle(0, 0, 300, 300); e.Graphics.DrawRectangle(pen, rect); }[/CODE] | |
hi guys, it took me some time to find out how to export listview to excel, so i wanted to share it with you. i would like to post this thread as code snippet but in that section there is no attachment button that i can attach project to. i … | |
i was reading xerces-c class documentation, one of the methods does the writing of buffer to a file. what should i understand from buffer, how is it different from writing some stream to a file? What should i understand from stream? Thanks | |
Re: [QUOTE=bhavik_thegame;698769]Hii,, All I have to say that PHP is much better as compared to .NET and Java. Just put it this way, PHP is much more flexible and easy to learn than .NET, An expertise in PHP can also do programming in notepad(:icon_smile: ), i.e use a simple notepad as … | |
Re: [url]http://www.webpronews.com/expertarticles/2006/11/28/aspnet-export-a-datatable-to-excel[/url] | |
i created a custom installer for my mobile application, the problem is if device is not connected to cradle it tries to install the application next time the device is connected. i dont want it to happen, i want to check if device is connected to cradle. help please. come … | |
Re: i lke mart friedman's solo albums a lot. also last sunday i went to massage salon and had an hour of massage. During that, they were playing some far east relaxing music. i think i will find some of those as they will remind of being massaged and relaxed. The … | |
| |
Re: insert a break point to button_click event handler and then run the application in the debug mode, make sure to see if all the lines are executed. or attach your solution as zip file so we can test to see what's going on. ![]() | |
Re: skin file is applied to server controls and controlled and rendered by the server(iis). css is run by client's browser. skin also generates css but in the server whereas css directly sent to browser. | |
Query your datatable like sql's "select distinct" statement | |
| |
Re: try asp.net man, all this functionality is encapsulated to one web control: calender. and there is one in ajax control toolkit for asp.net. | |
To make some operations on XML elements you have to know their types. This snippet is about getting the types of these elements. | |
Re: lvalue (pronounced "ell-value"): An expression that is an lvalue may appear as either the left-hand or right-hand side of an assignment. rvalue (pronounced "are-value"): An expression that is an rvalue may appear on the right- but not left-hand side of an assignment. for example : let say a and b … | |
Re: here is the code and the project is attached to this post : [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace CaptureMouseClicks { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_MouseClick(object sender, MouseEventArgs e) { if … | |
Re: [QUOTE=Ramy Mahrous;622109][code=c#] string str = char.ConvertFromUtf32(65) [/code][/QUOTE] i cant see this method in char, why? | |
How do i change the name of a table in my sql server 2005 express edition database using visual studio server explorer? | |
Re: watch this [url]http://www.asp.net/learn/videos/video-04.aspx[/url] | |
Re: [QUOTE=a496761;753603]I'm a VB guy, but I think c# uses == [code] if (DropDownList1.SelectedItem.Text=="buyername" ) [/code][/QUOTE] yeah you are right he should have used double equal signs. | |
Re: [QUOTE=rajesh79;515275]can anybody tell me abot the 3 tier architecture in details that means how they communicate in between layers etc...[/QUOTE] in short, you create 3 project in your solution. presentation specific taks are handled in presentation layer which is your web application. you add another project which is of type … | |
Re: [QUOTE=sknake;957234]Ok -- here you go. This is a start but you will want to expand on it. Query Runner: [code=csharp] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Threading; namespace daniweb.progress { public delegate void QueryFinished(DataTable dt); public static class QueryRunner { private struct QueryStuff { public … | |
According to [url]http://msdn.microsoft.com/en-us/library/bb384093.aspx[/url] Microsoft.Smartdevice.Connectivity.dll needs to be under drive:\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Bin\Microsoft.Smartdevice.Connectivity.dll. but i dont have that, do you know where to download it? | |
Re: you have to create a setup project. there are many tutorials for that. this is the one i posted in daniweb [url]http://www.daniweb.com/forums/thread113342.html[/url] | |
Copy a table from one database to another database in another ms sql server using sql server management studio : If your table was in the same ms sql server but in another database, you would copy it using t-sql like this : SELECT * INTO NewTable FROM existingdb.dbo.existingtable; However, … | |
Re: [QUOTE=sneekula;863349]Sooner or later some engineers will manage to create a smart robot. Smart enough to consider humans as a pest.[/QUOTE] i dont think any robot can have feelings or ego or identity. in its escence everything computer does is just loading one register with some value then move to other … | |
Re: happy geek where can we see your tatoos? do you have any image links for them? | |
Re: wow i have created big javascript applications so far and yet i have never needed to delete something from memory. why do you need it? | |
for(var i = document.getElementById("tableId").rows.length; i > 0;i--) { document.getElementById("tableId").deleteRow(i -1); } I had to write this because it took me an hour to find out the error about deleting rows from an html table by javascript. If you do this it generates an error : for(var i = 0; i … | |
that is the question, i want to watch some impactful stuff. thanks | |
i searched google to do this and mostly i found this solution: [CODE]mydiv = document.getElementById('FirstDiv');while ( mydiv.firstChild ) mydiv.removeChild( mydiv.firstChild );[/CODE] instead of doing such iterations, i basically did this and it worked successfully: [CODE]document.getElementById('FirstDiv').innerHTML ="";[/CODE] | |
Re: open task manager, you dont need c# to see process execution paths. | |
Re: i think that method is not getElementByTagName, but getElementsByTagName, so it is plural basically. try that way. |
The End.