1,302 Posted Topics
| |
Re: Please clarify! I hope it's not a request for graduation project idea. | |
Re: 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] | |
| |
Re: If you've option to buy 3rd party tool, I recommend you to use Telerik RadGrid has some cool functionalities. | |
Re: 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] | |
Re: 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. | |
Re: You can't. There's not way to do that. | |
Re: You may have Result Datatable and add to it columns and rows manually. | |
Re: 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] | |
Re: 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 … | |
Re: 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 … | |
Re: 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] | |
Re: 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.. | |
Re: Please mention how (programtically) you add these controls to your Custom Control's GroupBox control. | |
Re: 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 … | |
Re: Please wrap your code between code tages [noparse][code]your code here...[/code][/noparse] Mention the line of code it breaks on | |
Re: [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] | |
Re: 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] | |
Re: 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 | |
Re: 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 … | |
Re: Please open a new thread about it. | |
Re: Is this statement "SELECT ID, Име, Презиме, Ник, Мобилен, Мобилен2, e-Mail, e-Mail2, Type FROM Table1 WHERE Table1.ID = Table1.ID" valid? | |
Re: Try replacing "\t" with "\r\n" | |
Re: 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 | |
Re: 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] | |
Re: 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 | |
Re: 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. | |
Re: 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 | |
Re: 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] | |
Re: 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 … | |
Re: 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# | |
Re: .resx is xml based file, you can develop and editor to edit its values. | |
Re: 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. | |
Re: [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] | |
Re: 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 | |
Re: I love your character, Serkan really :) I'll try that and if I could, I'll tell you. | |
Re: [QUOTE]SqlCommand doesn't implement IDisposable but DBCommand does,[/QUOTE] SqlCommand inherits from DBCommand | |
Re: 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] | |
Re: 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. | |
Re: To connect to SQL Server by C# application you need to use ADO.NET libraries | |
Re: 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()); … | |
Re: 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 | |
Re: 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 | |
Re: Once a time I was searching and I didn't find any free one. you can search yourself and see. | |
Re: Sorry!! Where's your question? Do you need a tutorial for C#? | |
Re: 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] | |
Re: 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] |
The End.