5,346 Posted Topics
Re: >c sharp code for mouse control using eye contact is my project tittle pleasw any one help me!!! I think some more information is required. Can you maybe provide some more information about what it is you are trying to do? | |
Re: Take 1-26 number into each row and shuffle them. Read [URL="http://en.wikipedia.org/wiki/Fisher–Yates_shuffle"]Fisher–Yates shuffle[/URL]. | |
Re: >how i can clear the input and input another values?? Use JavaScript. [code] <script type="text/javascript"> window.onload=function() { var btn=document.getElementById("btn1"); btn.onclick=function() { document.getElementById("txt1").value=""; document.getElementById("txt2").value=""; }; }; </script> <body> <form runat="server" id="form1"> <asp:TextBox id="txt1" runat="server" /> <asp:TextBox id="txt2" runat="server" /> <input type="button" id="btn1" value="Clear" /> </form> [/code] | |
Re: Take a look at - [URL="http://msdn.microsoft.com/en-us/library/ms229605(v=VS.90).aspx"]Automatic Scaling in Windows Forms[/URL] | |
Re: [QUOTE=amitganguly2002;886805]how can i lock specific columns in a data gridview[/QUOTE] So you cannot edit it. Isn't it? [CODE=VB.NET] ..... '1st column is set to read only dataGridView1.Columns(0).ReadOnly = True [/CODE] | |
Re: Take a look at DefaultMaximumSize and DefaultMinimumSize [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview_properties.aspx"]properties.[/URL] | |
Re: Open the [b]Form1.Designer.cs[/b] file and add namespace entry or type [icode]System.Drawing.Font m_objFont;[/icode] | |
Re: I think you want to show all records in listbox but the listbox support single column. You can switch to "ListView" if you want multiple columns. [code] ListBox1.MultiColumn = True ListBox1.HorizontalScrollbar = True ListBox1.ColumnWidth = 100 ListBox1.FormattingEnabled = True For Each row As DataRow In dataCity.Rows ListBox1.Items.Add(String.Join(",", row.ItemArray.OfType(Of String).ToArray())) Next … | |
Re: >Is there any way I can add a footer to rtf with name, page no. and date using c# and word tags? Pick up an open source RTF API. Here is a link of [URL="http://www.codeproject.com/KB/string/nrtftree.aspx"]article[/URL] but it is quite [URL="http://www.codeproject.com/KB/string/gioswordnetlibrary.aspx?msg=1949274"]old[/URL]. | |
Re: I have added the JC's suggestion. I think two method of CountListener interface has no value and also I have added CountEvent object as an argument of event method. [CODE=Java] public interface CountListener{ public void countEvent(CountEvent e); } [/CODE] [CODE=Java] public class CountEvent{ private int result; private String action; private … | |
Re: Welcome emrahteam. >get all character starting zero to end from tetbox to an array. How can I do that? [code] char []ar=TextBox1.Text.ToCharArray(); [/code] | |
Re: > broadband to send sms with vb.net application Take a look at [URL="http://www.codeproject.com/KB/IP/Sending_SMS_using_Net.aspx"]this[/URL] thread. | |
Re: >Could not find a part of the path 'E:\inetpub\wwwroot\Folder1\Folder2'... If "folder1" is your root of the web-app then code should be.. [code] FileName = Server.MapPath("~/Folder2/" & FileUpload1.FileName) If System.IO.File.Exists(FileName) = False Then FileUpload1.SaveAs(Filename) End If [/code] | |
Re: Take a look at [URL="http://weblogs.asp.net/aghausman/archive/2009/05/31/how-to-show-and-select-month-year-in-calendar-extender.aspx"]this[/URL] blog. | |
Re: Use ASP.NET Form based authentication and authorization system. Learn the classes & methods from System.Web.Security namespace. | |
Re: Use ViewState. [code] Property Topic() As String Get If IsNothing(ViewState("Topic")) Then Return String.Empty Else Return ViewState("Topic").ToString() End If End Get Set(ByVal value As String) ViewState("Topic") = value End Set End Property [/code] | |
Re: Take a look at this article - [url]http://www.codeproject.com/KB/cs/iTextSharpPdfTables.aspx[/url] | |
| |
Re: [b]>If i save playlist with 1 item then it work but if i have more then it bug. i can start debugging.[/b] Look at line 23 - Statement [B]textWriter->WriteEndDocument();[/B] closes the document. [code] XmlTextWriter ^textWriter = gcnew XmlTextWriter(dig->FileName, nullptr); textWriter->Formatting=Formatting::Indented; //Writes XML declaration textWriter->WriteStartDocument(); //Writes root element (document element) textWriter->WriteStartElement("Root"); … | |
Re: [QUOTE=ms88;152716]Thank you very much for the replies..... I already setting up the apache using php_java bridge and it works well (the PHP can access all java class, such as java.lang etc)..... yes, write java application and php connect to the java application could be possible. However, im not quite sure … | |
Re: @harry.jhone Please stop posting same question across the forums. Double posts - [url]http://www.daniweb.com/forums/thread334206.html[/url] [url]http://www.daniweb.com/forums/thread334197.html[/url] Thread Locked | |
Re: Please read article - [URL="http://www.smashingmagazine.com/2010/09/23/html5-the-facts-and-the-myths/"]HTML5: The Facts And The Myths[/URL] | |
Re: Have a look: [code] DataTable dt = new DataTable(); dt.Columns.Add("No"); dt.Columns.Add("Name"); dt.Rows.Add(1, "A"); dt.Rows.Add(2, "B"); dataGridView1.RowsAdded += (sa, ea) => { if (ea.RowCount==1) { DataGridViewRow r = dataGridView1.Rows[ea.RowIndex]; r.ReadOnly = true ; } }; dataGridView1.CellMouseDoubleClick += (sa, ea) => { dataGridView1[ea.ColumnIndex, ea.RowIndex].ReadOnly = false ; }; dataGridView1.CellEndEdit += (sa, ea) … | |
Re: You can use List(of T) to hold data. [code] Public Class FileData Public Property Num1 As String Public Property Num2 As String End Class Class Test Sub ReadData() Dim lst As New List(Of FileData) Dim path As String ="c:\path\Dnormal1.txt" Dim lines() As String = System.IO.File.ReadAllLines(path) For Each Str As String … | |
Re: Response.Write should be outside the for loop. [code] protected void uploadFiles(object sender, EventArgs e) { ... for (int i = 0; i < allFiles.Count; i++) { ...... } Response.Write(htmlOutPut); [/code] | |
Re: There is a problem while reading a stream. [code] ... if (dlgOpen.ShowDialog() == DialogResult.OK) { FileStream fileAndorHunsFormulaWorksheet = new FileStream(this.dlgOpen.FileName, FileMode.Open, FileAccess.Read, FileShare.Read); BinaryReader bnrAndorHunsFormulaWorksheet = new BinaryReader(fileAndorHunsFormulaWorksheet); txtFormulaName.Text = bnrAndorHunsFormulaWorksheet.ReadString(); txtFormulaNumber.Text = bnrAndorHunsFormulaWorksheet.ReadString(); txtItemName.Text = bnrAndorHunsFormulaWorksheet.ReadString(); int number = lstResult2.Items.Count; lstResult2.Items.Clear(); while(bnrAndorHunsFormulaWorksheet.PeekChar()!=-1) { lstResult2.Items.Add(bnrAndorHunsFormulaWorksheet.ReadString()); } bnrAndorHunsFormulaWorksheet.Close(); fileAndorHunsFormulaWorksheet.Close(); } ... … | |
Re: This is the broad question and it is not possible for me to explain all theses things in details but you can do so using [URL="http://msdn.microsoft.com/en-us/library/bb288032.aspx"]TemplateField[/URL] easily. | |
Re: Have a look at Microsoft Visual studio [URL="http://blogs.msdn.com/b/jasonz/archive/2010/08/03/introducing-microsoft-visual-studio-lightswitch.aspx"]LightSwitch[/URL]. | |
Re: I guess! JavaScript lib (.js) references are added twice for a single lib (.js). | |
Re: [QUOTE=MARKAND911;1250156]How can i set my web page title as rotating. I have a page named "dog.aspx" and its title is "Dog Selection". I want this title to rotate continuously. How can i do this in ASP.net(C#).[/QUOTE] Timer & document.title property. [code] <head runat="server"> <title id="title1">Sample Text </title> <script type="text/javascript"> var … | |
Re: I think you need to read & learn socket (System.net) and other API to do so. I'd suggest a book - [URL="http://www.webtropy.com/articles/art12.asp"]Network Programming in VB.NET[/URL]. | |
Re: >password protected pages Its called [b][URL="http://www.daniweb.com/forums/post1378735.html#post1378735"]Authentication & Authorization[/URL][/b]. >Are there advantages to using .asp over a php script? Read - [URL="http://stackoverflow.com/questions/2302933/asp-net-vs-php-performance-future-proofing-ease-of-development"]ASP.net vs PHP - performance, future-proofing & ease of development[/URL]. | |
Re: Use Xml LINQ. [code] using System; using System.Xml.Linq; class Test { static void Main() { string path = @"c:\path1\sample.xml"; XDocument doc = XDocument.Load(path); foreach (var t in doc.Descendants("car")) { Console.WriteLine(t.Attribute("Id").Value ); } } } [/code] | |
Re: >How to make a color transparent does not solid Take a look at "[URL="http://msdn.microsoft.com/en-us/library/cc488183.aspx"]Drawing shapes[/URL]". | |
Re: >Bind Webmethod names with in asp.net control First, you can call webservice on client (JavaScript) to retrieve the data. | |
Re: >This is giving a ERROR 42000 syntax error Can you post/show us that MySql script file? | |
Re: Take a look at Sticky thread - [URL="http://www.daniweb.com/forums/thread63827.html"]Game Development FAQ's, Books and Resources[/URL] | |
Re: >visual studio custom template and Iwizard Yes. It is possible. Please have a look at these articles/posts: 1. [url]http://www.codeproject.com/KB/macros/VSExtnsnsTemplates2010.aspx[/url] 2. [url]http://msdn.microsoft.com/en-us/library/6db0hwky.aspx[/url] 3. [url]http://msdn.microsoft.com/en-us/library/ms185291.aspx[/url] | |
Re: >I want to coded NumericUpDown betwwen to Numbers 2,5 [URL="http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/NumericUpDown/NumericUpDown.aspx"]NumericUpDown[/URL] tutorial. | |
Re: [b]User[/b] is reserved word of [URL="http://support.microsoft.com/kb/209187"]MsAccess[/URL]. [code] string queryString = "SELECT [UserID], [Forename], [Surname] FROM [User]"; [/code] | |
Re: >How can i get DataSource property & Databind method of HTML Table. No! | |
| |
Re: nccsbim071, Which version of .net framework are you using? If it is 3.0 or later; It is called Auto-Implemented Properties. Auto-implemented properties make property-declaration more concise when no additional logic is required in the property accessors. [CODe=C#] public class Student { public int Roll { get; set; } public int … | |
Re: >I am developing a POS app.. Very good. >Please Help me Immediately. Sure! [URL="http://www.daniweb.com/forums/announcement61-2.html"]We only give homework help to those who show effort[/URL] >Urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Learn [url="http://www.catb.org/~esr/faqs/smart-questions.html"]How To Ask Questions The Smart Way[/url] | |
Re: >Plz send me the complete code for convert xml file to sql database Read the forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. You need to show effort, and what better way than posting the code that you have tried so far? Take a look at Daniweb thread - [url]http://www.daniweb.com/forums/thread255946.html[/url] (Store XML File in SQL Data … | |
Re: >what is Minimum requirement at the client side? Web-Browser. | |
Re: Welcome Harsh1708 [URL="http://msdn.microsoft.com/en-us/magazine/cc163647.aspx"][B]Learn The ABCs Of Programming Windows Communication Foundation[/B][/URL] is an excellent place to start learning WCF. Another MSDN resource link - [URL="http://msdn.microsoft.com/en-us/netframework/dd939784"]Beginner's Guide to Windows Communication Foundation[/URL] | |
Re: You can download crystal report VS2010 version from - [url]http://www.businessobjects.com/jump/xi/crvs2010/default.asp[/url] It is free. | |
Re: Sure! If you're stuck with a certain problem, feel free to ask. |
The End.