464 Posted Topics
Re: For detailed code check [URL="http://www.codeproject.com/KB/cs/balamurali_balaji.aspx"]this link[/URL] | |
Re: check the name properly and also check the access specifiers i.e. check where you have created the button is that a global one (created in the form) or you created it in any function | |
Re: when we talk about constant multiplication with function we mean that the constant is to be multiplied with whole function and not with n only. e.g. [B]C*(8n^2 - 12n + 6) = (8C)n^2 + (-12C)n + (6C)[/B] | |
Re: in your code you suppose to execute line number 78 to line number 80 if if-condition is true? if yes then where are the access specifiers? | |
Re: DO you want to perform this action once? if yes then you can use an integer to do this as [CODE]int clickcount=0; { //rest code if(clickcount==0) { string str1="I Have an issue with RICH TEXT BOX WHICH I NEED TO SOLVE ASAP"; querybox.appendtext(str1); querybox.showdialog(); } clickcount++; //rest code } [/CODE]BTW … | |
Re: have you tried to use from any mobile device? it happened to me when i login from my cell phone and when i login by my computer it asked me to change my password.... it will be better to givfe any snapshot of error while logging-in. | |
Re: check these links .... [URL="http://www.codeproject.com/KB/audio-video/VoiceChatApplicationInCS.aspx"]1st link[/URL].... [URL="http://forums.asp.net/p/1561222/3864657.aspx"]2nd link[/URL]... [URL="http://help.imserver.net/SDK/109/Tutorial/C_sharp/Lesson_10__Using_Voice_&_Video_Chat_features.htm"]3rd link[/URL] | |
Re: what is the problem i cant understand ? as you have pretty good database tables you have room id in reservation and its status too so whenever you want to check the available rooms join these two tables on room id and check which of them are reserved and ofcourse … | |
Re: Follow [URL="http://stackoverflow.com/questions/5700558/how-can-i-bind-nested-viewmodels-from-view-to-controller-in-mvc3"]this link[/URL] and [URL="http://www.codeproject.com/KB/WPF/WpfMvvmQuickStart.aspx"]this link[/URL] and [URL="http://msdn.microsoft.com/en-us/magazine/dd419663.aspx"]this link[/URL] | |
Re: The code to delete contents from richtextbox is [CODE]richTextBoxEditor.SelectionStart = index;//the start of the string to be deleted richTextBoxEditor.SelectionLength = 5;//will select string of length 5 richTextBoxEditor.SelectedText = ""; //will replace the string with a null [/CODE] This code is to insert string in any specific location in a richtextbox … | |
Re: check [URL="http://www.shafqatahmed.com/2008/01/controlling-win.html"]this link[/URL] might be helpful | |
Re: in c# [CODE]textField.Text = DateTime.Now.ToShortDateString(); // Shows date as 29/04/2011.... string strFormat = "dd/MM/yy"; textField.Text = DateTime.Now.ToString(strFormat); // Display date as 29/04/11...[/CODE] for sql check [URL="http://dbaspot.com/sqlserver-server/400332-how-get-two-digit-month-value.html"]this link[/URL] | |
Re: check this [CODE] ListView.Items.Clear(); foreach (DataRow drow in myDataSet.Tables["Table_name"]) { ListViewItem lvi = new ListViewItem(drow.ItemArray[0].ToString()); lvi.SubItems.Add(drow.ItemArray[1].ToString()); lvi.SubItems.Add(drow.ItemArray[2].ToString()); lvi.SubItems.Add(drow.ItemArray[3].ToString()); lvi.SubItems.Add(drow.ItemArray[4].ToString()); lvi.SubItems.Add(drow.ItemArray[5].ToString()); listView1.Items.Add(lvi); }[/CODE] | |
Re: Hey is this your home work? if yes then i think [B]Momerath[/B] don't claim your favorites here :D | |
Re: confused... please explain your question.. Anyway you can get help and many related articles on Crystal report on [URL="http://www.c-sharpcorner.com/articles/articlelisting.aspx?sectionid=1&subsectionid=61"]this link[/URL] | |
Re: Make two text boxes(for name and password) and one button on the login form. set password character of the password text box [icode]passwordBox.PasswordCharachter="*";[/icode] then connect you form with database using following code [CODE] connection = new SqlConnection("Data Source=Server_name;Initial Catalog=DB_name;Integrated Security=true"); connection.Open(); SqlCommand Command = connection.CreateCommand(); Command.Parameters.Clear(); Command.Connection = connection; Command.CommandText … | |
Re: [URL="http://www.google.com.pk/url?sa=t&source=web&cd=6&ved=0CEcQFjAF&url=http%3A%2F%2Fwww.daniweb.com%2Fsoftware-development%2Fcsharp%2Fthreads%2F21636&rct=j&q=sql%20database%20with%20c%23%20tutorial&ei=otu7TZLkAZS2hAfh75DMBQ&usg=AFQjCNGJuapeXkZCA8F5wVN0posoDUshFg&cad=rja"]tutorial1[/URL] and [URL="http://forums.asp.net/t/1193643.aspx/1?How+To+Connect+to+SQL+using+C+and+SELECT+INSERT+UPDATE+"]tutorial2[/URL] | |
Re: check this code this will perfectly separate digits and characters[CODE]string dd = "5Ed5v3a4r3d4"; int k=0,j=0; char[] char1=new char[6]; char[] numbers = new char[6]; for (int i=0;i<dd.Length;i++ { if (char.IsDigit(dd, i) { numbers[j]=dd[i]; j++; } else { char1[k]=dd[i]; k++; } }[/CODE] | |
Re: check these links [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.textboxbase.undo.aspx#Y114"]1[/URL]....[URL="http://stackoverflow.com/questions/4231830/richtextbox-undo-adding-spaces"]2[/URL].... | |
Re: [QUOTE=moshe12007;1544605]hi i have some problem with my sql code that the code : [CODE] SELECT * FROM MenUsers,WomenUsers [/CODE] MenUsers(Table) and WomenUsers(Table) whats the problem with this code? thanks....[/QUOTE] Your code is right and seems to have no problem.... Can you please explain the problem you are encountering? | |
Re: check username and password on server are they meeting the criteria of server or not and are they present there or not | |
Re: [QUOTE=Behseini;1546925]Thanks but I just modify your code a little bit on [CODE] if((i +1) < lstCols.Count) [/CODE] to: [CODE] for(int i = 0; i<listBox1.Items.Count; i++) { if((i +1) < listBox1.Items.Count) textBox1.Text += listBox1.Items[i] + ", "; else textBox1.Text += listBox1.Items[i]; } [/CODE] Thanks again and appreciate for your time [/QUOTE] … | |
Re: [QUOTE=Victoryy;1545776]Formula field on crystal report of asp.net as hyperlink[/QUOTE] What is your problem :-/ | |
Re: try/catch will help you not to stuck but will not tell you what to do with the error it will simply resume after finding the exception so try to look why you are facing this problem as well as use try/catch | |
Re: I am from 80's it was captain planet, gummy bears, jungle book etc... long summer days without sleeping and running of the houses into the fields, making doll houses and cooking leaves... And of course Treasure quest hahaha....( This is Pakistan) | |
Re: I drink coffee because I hate tea :) | |
Re: check the following links all of them contain tutorials and examples on how to get data from sql into datagridview and dataset in a C# application might be helpful for you [URL="http://www.dotnetperls.com/datagridview-tutorial"]this link[/URL]... and [URL="http://www.dotnetperls.com/datatable"]this link[/URL]..... and [URL="http://www.switchonthecode.com/tutorials/csharp-tutorial-binding-a-datagridview-to-a-database"]this link[/URL]... and [URL="http://www.java2s.com/Code/CSharp/CatalogCSharp.htm"]this link[/URL] | |
Re: check [URL="http://csharp.net-tutorials.com/"]this link[/URL] | |
Re: check [URL="http://www.csharp-examples.net/local-ip/"]this link[/URL]... and [URL="http://www.codeproject.com/KB/cs/network.aspx"]this link[/URL].... and [URL="http://www.netomatix.com/machineip.aspx"]this link[/URL] | |
Re: the following will be a lot help in your problem.. Follow them [URL="http://www.codeproject.com/KB/directx/directshowmediaplayer.aspx"]this link[/URL] and[URL="http://www.codeproject.com/KB/cpp/media_player.aspx"] this link[/URL] and [URL="http://bytes.com/topic/c-sharp/answers/517731-create-application-like-media-player"]this link[/URL] | |
Re: [B]crishjeny[/B] have you checked after changing the location of project? | |
Re: Religion is not only faith dear it is also how you understand and interprate this faith... religion is not only to go in mosque, temple or church it is how you spend your life how it effects your daily life. Religion is to give you peace of mind, right ways … | |
Re: check [URL="http://msdn.microsoft.com/en-us/library/89211k9b%28v=vs.80%29.aspx"]this link[/URL] and[URL="[URL="http://msdn.microsoft.com/en-us/library/89211k9b%28v=vs.80%29.aspx"]this link[/URL]"] this link[/URL] check [URL="http://www.codeproject.com/KB/cs/Cryptography.aspx"]this link[/URL] and [URL="http://www.obviex.com/samples/Encryption.aspx"]this link[/URL] and [URL="http://sharpertutorials.com/simple-string-encryption-and-decryption/"]this link[/URL] all these links contain code examples and the problems related encryption of data.. | |
Re: hi, please add the follwoing code in you aspx.cs page. Step 1 : Add Namspace [CODE]using System.Data.SqlClient; using System.Data;[/CODE]Step 2 : Make Sql connection. Step 3: Pass the sql command to database [CODE] //Write this code to create Sql connection. SqlConnection conn = new SqlConnection("Data Source=servername;Initial Catalog=DatabaseName;User ID=sa;password=pwd;Integrated Security=True"); SqlCommand … | |
Re: Check this code [CODE]//Main form code String receive=""; private void buttonOnMain_Click(object sender, EventArgs e) { msBox objms = new msBox(); objms.Show(); this.Hide(); } public void set1(String val) { receive= val; } private void buttonReceive_Click(object sender, EventArgs e) { MessageBox.Show(receive); } //Message Box Code Main mm = new Main(); private void … | |
Re: Mitja is right in C# we have to create a new form to take input as a messagebox the is no implicit way to do that .... [CODE]String Response=MessageBox.Show("checking", "check", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question).ToString() //to check any specific response if(MessageBox.Show("checking", "check", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question)==DialogResult.Yes)[/CODE] | |
Re: [QUOTE]A HS grad friend of mine earned his Ph.D. in bio chemestry for that reason. [/QUOTE] no matter what was the reason but he is a doctor after all :D | |
Re: check these links might be helpful [URL="http://support.microsoft.com/kb/325322"] this like[/URL],...[URL="http://support.microsoft.com/kb/837328"]this link[/URL],.....[URL="http://stackoverflow.com/questions/1746600/active-directory-server-is-not-operational-error-code-2147016646"]this link[/URL],....and [URL="http://www.justskins.com/forums/system-directoryservices-the-server-110816.html"]this link[/URL] | |
Re: check these link may be helpful [URL="http://www.dotnetperls.com/arraylist"]1st link[/URL]....[URL="http://www.dotnetperls.com/convert-list-array"] 2nd link[/URL] | |
What is you wish right now? :) I wish I could break my chair on my Manager's head... I can't sit on it easily :( | |
Re: check [URL="http://www.fluffbucket.com/howto/example1.htm"]this link[/URL] and [URL="http://www.search-marketing.info/meta-tags/meta-refresh.htm"] this link[/URL] | |
Re: Bellow is the simple code to check a particular value in datagridview... Were you asking for this type of solution? [CODE]if (dataGridView1.Rows[row_index].Cells[column_index].Value.ToString() == "value_compars") { MessageBox.Show("Do Next Work"); //Rest of the code }[/CODE] | |
Hey... This is just a simple Game If you are allowed to give one punishment to the each of the posters above and below your post what will be the punishment use [B]^[/B] to punish post above and use [B]V[/B] to punish post bellow... Lets start.. [B]^[/B]No one [B]V[/B]Hang upside … | |
Re: Addiction is never good for anyone and I think you must have heard "Excess of everything is bad" addiction refers to the condition where you can't live without any particular thing or person..... If you like anything keep the limits so that thing never ruin your life :) By the … | |
Re: you can check these links [URL="http://www.codeproject.com/Questions/184771/What-is-the-difference-between-Event-and-Delegates.aspx"]1st link [/URL].... [URL="http://www.google.com.pk/url?sa=t&source=web&cd=1&ved=0CBgQFjAA&url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F563549%2Fdifference-between-events-and-delegates-and-its-respective-applications&rct=j&q=difference%20between%20events%20and%20delegates%20&ei=qkixTdjIMJGYvAObnKWYBw&usg=AFQjCNF1194rvEjq3TTz7tFHWZlkf24iCw&cad=rja"]2nd Link[/URL] and [URL="http://www.google.com.pk/#q=difference+between+events+and+delegates+&bih=578&biw=1366&fp=eb15e4536333349e&hl=en"]google search page[/URL] | |
Re: Social marketing seeks to influence social behaviors not to benefit the marketer, but to benefit the target audience and the general society. | |
Re: what are you doing in this specific code block? | |
Re: As [B]Narue[/B] said problem is in line number 23 and 56 just change lines as follows line 23 [B]for (int i=0; i < 5; i++)[/B] line 56 [B]MessageBox.Show(ae.Message);[/B] |
The End.