1,302 Posted Topics

Member Avatar for sivak
Re: SSL

Here you are [url]http://www.example-code.com/csharp/socket.asp[/url]

Member Avatar for sknake
0
694
Member Avatar for manoj pandey
Re: mca

Please clarify! I hope it's not a request for graduation project idea.

Member Avatar for Ramy Mahrous
0
50
Member Avatar for samanaonline

Look what I understand you need to assign variable to another value [code=vb.net] Dim value1 as string Dim value2 as string value1 = "value1" value2 = "value2" value2 = value1 MessageBox.Show(value2) 'shows value1 [/code]

Member Avatar for samanaonline
0
631
Member Avatar for sivak
Re: NIEM

[url]http://www.codeproject.com/KB/recipes/NIEM_IEPD2.aspx[/url]

Member Avatar for Ramy Mahrous
-2
168
Member Avatar for pupilstuff

If you've option to buy 3rd party tool, I recommend you to use Telerik RadGrid has some cool functionalities.

Member Avatar for Ramy Mahrous
0
142
Member Avatar for Pankaj18

Its properties are readonly you can't set it, I recommend you to read this article [url]http://www.aspfree.com/c/a/.NET/HTTP-File-Upload-without-User-Interaction-using-dot-NET/1/[/url]

Member Avatar for Ramy Mahrous
0
65
Member Avatar for chathuD

My solution Danny is more scalable Don't depends on current requirements and you should have some flexibility I argue using RegularExpression pattern = ..... Then if this text matches the pattern return true to accept the value otherwise false. I'll do code snippet for it soon.

Member Avatar for Ramy Mahrous
0
151
Member Avatar for serkan sendur
Member Avatar for shankbond
Member Avatar for serkan sendur

Look Serkan I didn't fully understand your question what specific functionality you are looking for but every item on the subject and how to talk to it using .NET, I just searched for windows shell API C# and I found some posts, Am I right? [url]http://www.codeproject.com/KB/cs/decompresswinshellapics.aspx[/url]

Member Avatar for serkan sendur
0
183
Member Avatar for S2009

You can use both but everyone has some pros&cons GridView [COLOR="Green"]Pros: Free, stable, and easy to bind data[/COLOR] [COLOR="Red"]Cons: A lot of work should be done to do some exportation to some formats and not richy[/COLOR] Business Objects (Crystal report) [COLOR="Green"]Pros: Stable, less work to be done for exportation to …

Member Avatar for S2009
0
109
Member Avatar for functionalCode

If your stored procedure returns value just one value (which returns form aggregate functions) use SqlCommand and give it stored procedure name and then execute it as Scalar; it returns object you then can cast it [code=c#] Object GetValue (string procName) { //I didn't assume stored procedure takes parameters. SqlConnection …

Member Avatar for Ramy Mahrous
0
104
Member Avatar for anupjp

What I expect is: the service writes something in file and because it doesn't perform any task again it stopped and service should do something while running.. [code=C#] OnStart(...) { InfiniteLoop(); } InfiniteLoop() { for(;;) { WriteData(filePath, DateTime.Now.ToShortTimeString()); Thread.Stop(10000); } } [/code]

Member Avatar for thewebhostingdi
0
2K
Member Avatar for Tank50
Member Avatar for ddanbe

Hey Danny, Serkan... As I have no experience about GDI+ but I just replace this line [icode] R.Inflate(1,1);[/icode] with [icode] R.Inflate(R.Size);[/icode] I feel the shape changes but I don't know that's you need Danny or not. Wish for you the best of luck in it and solve it ASAP..

Member Avatar for emarshah
0
878
Member Avatar for JakShelar
Member Avatar for ddanbe
0
89
Member Avatar for seebharath

It depends? If it depends on users and secure data -> Session If it depends on users and not secure data -> Cookies If it doesn't depend on users -> Cache or Application variables It just hints and I may be wrong please ask questions related to asp.net in ASP.NET …

Member Avatar for serkan sendur
0
110
Member Avatar for jaymar_jmj
Member Avatar for AnkitKumar

Please wrap your code between code tages [noparse][code]your code here...[/code][/noparse] Mention the line of code it breaks on

Member Avatar for ddanbe
0
397
Member Avatar for seebharath

[url]http://msdn.microsoft.com/en-us/magazine/cc163730.aspx[/url] [url]http://msdn.microsoft.com/en-us/library/ms998549.aspx#scalenetchapt06_topic18[/url] ASP.NET Forum for asp.net questions :) [url]http://www.daniweb.com/forums/forum18.html[/url]

Member Avatar for serkan sendur
0
89
Member Avatar for deedatm
Re: HELP

And adatapost forgot to say check MSDN.com after welcoming you :p C# [url]http://msdn.microsoft.com/en-us/vcsharp/default.aspx[/url] SQL Server [url]http://msdn.microsoft.com/en-us/sqlserver/default.aspx[/url] For windows application\WPF\WCF [url]http://windowsclient.net/learn/[/url]

Member Avatar for serkan sendur
0
108
Member Avatar for chindaara

Right click on the database -> Properties -> Options -> Database Read-Only => False Tell me how could you attach it? You can also change it using SMO

Member Avatar for sknake
0
133
Member Avatar for tdeck

MSDN says To specify the [B]allowable range of values[/B] for the control, set the Minimum and Maximum properties. Set the Increment value to specify the value to be incremented or decremented to the Value property when the user clicks the up or down arrow buttons. You can increase the speed …

Member Avatar for ddanbe
0
2K
Member Avatar for ninjaneer
Member Avatar for Krstevski

Is this statement "SELECT ID, Име, Презиме, Ник, Мобилен, Мобилен2, e-Mail, e-Mail2, Type FROM Table1 WHERE Table1.ID = Table1.ID" valid?

Member Avatar for Ramy Mahrous
0
157
Member Avatar for emarshah
Member Avatar for achristov

hmmm, why should I do that, we take salaries based on number of tasks we do neither number of hours nor number of lines of code :D

Member Avatar for Poab9200
0
147
Member Avatar for burger87

And if you have more questions about Localization and Globlaization in web-based application I recommend you to move to ASP.NET forum [url]http://www.daniweb.com/forums/forum18.html[/url]

Member Avatar for burger87
0
124
Member Avatar for havejeet

Look; as it's blackbox tool and you don't know how to handle its operations on file, try to do it manually (I think you query on Active Directory) or try to use files created by CSVDE as intermediate stage and read from them and write in another files using System.IO

Member Avatar for Ramy Mahrous
0
134
Member Avatar for raghuramanv

I recommend you to move to ASP.NET forum [url]http://www.daniweb.com/forums/forum18.html[/url] but I've small experience about Telerik controls so, look at: [url]http://msdn.microsoft.com/en-us/library/ms452873.aspx[/url] then you then replace controls used in this walkthrough by telerik controls.

Member Avatar for Ramy Mahrous
0
151
Member Avatar for scholar

Because isem is empty and each string has null value when you split it it doesn't return an array, and you access its 0 index

Member Avatar for Ramy Mahrous
0
71
Member Avatar for painless

To be visible to just parent class. [code=C#] namespace Example { class Parent { void Method() { Child c = new Child();//No error } class Child { } } class Painless { void Method() { Child c = new Child();//error } } } [/code]

Member Avatar for BestJewSinceJC
0
101
Member Avatar for dfswart

Webservices are made to deliver raw results and to be called from any kind of applications. Webservices won't need to know if you need string in bla bla bla format. Say; it receives string then does some operations it returns string you can from caller application to format the string …

Member Avatar for serkan sendur
0
114
Member Avatar for seebharath

People sharing some ideas [url]http://bytes.com/groups/net-c/274659-audio-recording-c-how[/url] My personal opinion is to work on MATLAB (saving time, a lot of implemented algorithms, etc...) then call it from C# MATLAB gives dll->use it from C#

Member Avatar for Ramy Mahrous
0
120
Member Avatar for nlvraghavendra
Member Avatar for sknake
0
95
Member Avatar for scholar

In your case I mainly use panels each of which holds some controls. Next and Previous buttons, Hide\Show Panels with some simple logic increment\decrement Panel index.

Member Avatar for sknake
0
215
Member Avatar for scholar

[code=C#] foreach (string s1 in s2) { newlabel = new Label(); newlabel.AutoSize = true; newlabel.Text = s1; newlabel.Location = new System.Drawing.Point(50, 20+30*i); newlabel.Name = s1; newlabel.Size=new System.Drawing.Size(60,25); newlabel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; groupBox1.Controls.Add(newlabel); //event handler newlabel.Click+=new EventHandler(LabelClick); i++; } void LabelClick(object sender, EventArgs) { MessageBox.Show( ((Label)sender).Text); } [/code]

Member Avatar for ddanbe
0
313
Member Avatar for dummy C#

Start->All programs->Microsoft SQL Server 2008->SQL Server Business Intelligence Development Studio Create project from type Report Server Project Wizard. Follow the wizard and you'll end with nice report. Any more question you're welcome

Member Avatar for Ramy Mahrous
0
98
Member Avatar for serkan sendur

I love your character, Serkan really :) I'll try that and if I could, I'll tell you.

Member Avatar for serkan sendur
0
741
Member Avatar for srikanthkadem

[QUOTE]SqlCommand doesn't implement IDisposable but DBCommand does,[/QUOTE] SqlCommand inherits from DBCommand

Member Avatar for IdanS
0
354
Member Avatar for MervinKoops

Do you use Vista? if you do; you can read this [url]http://fci-h.blogspot.com/2007/02/mysql-net-connector-error-2869-on.html[/url]

Member Avatar for MervinKoops
0
1K
Member Avatar for abhay_pundir

If you save file I recommend you to use [code=C#]Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);[/code] Another solution if your organization does like mine, locate Desktop, Documents and so on on network location you may be disconnected or something in network please check that with your network administrators.

Member Avatar for Ramy Mahrous
0
111
Member Avatar for csharplearner
Member Avatar for jerry32uk
0
437
Member Avatar for jogisarge

I don't see any need to know the name of TextBox because what differentiates one on one is the last number => TextBox[B]1[/B] and TextBox[B]2[/B] so I've button AddTextBox which creates and adds new TextBox [code=C#] List<TextBox> TextBoxesLst = new List<TextBox>(); void AddTextBox_Click(...) { if(TextBoxesLst.Count < 10) { TextBoxesLst.Add(new TextBox()); …

Member Avatar for Ramy Mahrous
0
149
Member Avatar for Tank50

WorkSheet.... because you use COM, which you didn't terminate it yourself and if you open the task manager you will see Test10.exe is running. Try adatapost help it solves your problem

Member Avatar for sknake
0
154
Member Avatar for kspriya01

loooooooooool, How lucky I'm :D I came to here by chance as I found very interested subject C#. I agree with you guys I didn't understand it :D

Member Avatar for kvprajapati
0
145
Member Avatar for auhuman

Once a time I was searching and I didn't find any free one. you can search yourself and see.

Member Avatar for auhuman
0
104
Member Avatar for Firefly1985
Member Avatar for Firefly1985
0
102
Member Avatar for puk

Here you are [code=C#] /* \r\n or just \n depending from where you got data text file or something esle \r*/ string[] lines = richTextBox1.Text.Split(new string[]{"\r\n"}, StringSplitOptions.None); //you need, say to select first 3000 lines for(int i=0; i<3000; i++) { richTextBox1.Append(lines[i]); } [/code]

Member Avatar for Diamonddrake
0
111
Member Avatar for Manak

You should work with SqlCacheDependency once a table affected event fired and you rebind data [url]http://msdn.microsoft.com/en-us/library/system.web.caching.sqlcachedependency.aspx[/url]

Member Avatar for vaheyev
0
64

The End.