- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
38 Posted Topics
Hi Guys i am getting error directory name is invalid.My codeis as follows : [code] private void toolStripButton1_Click(object sender, EventArgs e) { OpenFileDialog dialog = new OpenFileDialog(); parser = new GrammarParser(); parser.showStep += new GrammarParser.ShowStep(parser_showStep); if (dialog.ShowDialog() == DialogResult.OK) { string[] names = Directory.GetFiles(dialog.FileName); for (int i = 0; i … | |
I am trying to insert text file which has word "with " in it and because of that i am getting sql exception error .I am also getting error unclosed quotation mark')'.Can anyone help plz.its urgent | |
Hi I am inserting the following stirn in databse but its giving me error the string is " L'Oreal assures us "You're worth it"." now because i have single ' after L and then " and then again single ' its giving me error at L'Oreal.Can anyone help me with … | |
Hi Guys , can any one tell me how to insert array in database using insert statement. thanks | |
hi can anyone tell me how to conver array of string to string using',' as delimiter.Thanks | |
Hi Guys , I have a line which is like this :- "C:\\Users\\saurabh\\Desktop\\Projects\\Texts\\A Sign of the Times.txt" how can i jus extract the last part of it which is A Sign of the Times. Thanks | |
Hi Guys, I am reading a text file and i want to store that file ina string, below is my code, can anyone tell me what am i doing wrong [code] private void toolStripButton1_Click(object sender, EventArgs e) { // OpenFileDialog dialog = new OpenFileDialog(); FolderBrowserDialog dialog1 = new FolderBrowserDialog(); parser … | |
Re: Check this post and see if it helps. [url]http://www.daniweb.com/forums/post1201961.html#post1201961[/url] | |
Hi Guys , I am trying to load a xml file as follows and i am getting file not found exception even though the file is on the desktop.I have checked the file name and extension they are correct , can anyonehelp please [code] private void button1_Click(object sender, EventArgs e) … | |
Hi guys how can I insert multiple xml files in one table. Thanks | |
Hi guys , what i am trying to do is when i select a row in datagrid i see the selected row in a text box,now when i try to edit that row in text box that row in the datagrid gets unselected.how can i keep that row selected. Thanks | |
hi guys i need help with date time picker.What i am trying to do is to select data from table according to teh date selected by the user .My code looks like this but it doesnt work, it doesnt pull anything, can anyone help me with where am i going … | |
HI I have a question? What is the difference between WCF and Linq to Sql. Thanks for anyhelp | |
Hi Guys, What i am trying to do is , if suppose i have a word'horse' in a rich text box, i want to aplly image by cutting characters.To explai it little more, i want to be able to cut the word 'horse' in two parts 'hor' and 'se' and … | |
Hi Guys i want to know how to access one method from another. i have two buttons.one method is button1_click and second button2_click.What i want to do is to put a if condintion in button2, something like if(button1.click = true).Can anyone help me with this.Thanks | |
Hi Guys , i am trying to connect date time picker to database.So what i am trying to do is when user select a date in the datretime picker ,it should display all the words added on that particular day.Can anyone help me with this.Thanks | |
Hi Guys, I am getting index out of range error.My code looks like this [code] private void submit_Click(object sender, EventArgs e) { if (form.dataGridView2.SelectedRows.Count == -1) return; // column header clicked - do nothing // get the row just clicked DataRowView drv = form.dataGridView2.SelectedRows[0].DataBoundItem as DataRowView; if (drv != null) … | |
HI guys how can i insert todays date in my query,my query is as follows: [code] myString = @"INSERT INTO wordTbl(word,text,date) Values('" + (string)row["word"] + "','"+richTextBox1.Text+"','"+DateTime.Now.ToString()+"')"; [/code] | |
how can i redirect from one form to another in visual studio.Or even better would be if i can just change few panels in the form when i click change or save button for eg. Thanks | |
Hi , I need help with select staement.I am trying to to look for a word in column word .If i find that word then then show a message box that this word exist in databse.Can anyone help me with this.my code is something like this [code]private void dataGridView2_CellContentClick(object sender, … | |
Hi Guys, I want your help with , how to navigate between forms.I have one form that has a drop down list.first list item is to add new list item.So when user select add new item it pops up a new form to eneter item and save it.When i save … | |
Hi Guys, I want to know how can you add image to a part of word .I ll explain it further...suppose i display some text on a text box , now what i want to do is , suppose i have a word 'horse' in my text and i want … | |
how can i Add to dropdown list duing runtime in visual studio.Suppose i have 4 list items in drop down and one of the option is to add a new item.What i want to do is when i select that option(create new) i should be able to add the fifth … | |
Hi,I want to know how canwe select a value from a datagrid and search for that value in another databse.Thanks | |
hi guys i am trying to fill datagrid from database.I using the following code.Can anyone tell me what am i doing wrong. [code] public Form1() { InitializeComponent(); richTextBox1.Text = "Word: I \nDefinition:"; richTextBox3.Text = "Word: I \nDefinition:"; label2.Text = "Hindi"; dateTimePicker1.Visible = false; SqlDataAdapter dtadp = new SqlDataAdapter(); DataTable dtbl … | |
Hi Guys, I need your help with calendar.I want to know how can i popup calendar when i hit a button(I am using visual studio with c#) and look up that dtae in database. Thanks | |
how can we create individual table when ever a new user register .Can you give me an example of the query . Thanks | |
hi, i have a rich text box in my application and a save button.Can anyone tell me how to send that text from rich text box to database .Thanks | |
Hi, can anyone tell me how to compare to keys of a hashtable.I have a situation where my hashtable have same keys.I know it cant be the same but i am inserting a hashtable of dictionary which do have same keys.Thanks | |
Hi Guys, I am trying to insert hashtable in databse but one of the key in hashtable is null.Can anyone help me write an exception for this.Or if i can just move to the next key . Thanks a lot [code] private void btnUrdu_Click(object sender, EventArgs e) { SqlConnection cn … | |
hi my table looks something like this: id word definition 1 welcome some def1 2 welcome some def2 3 welcome some def3 4 5 6 7 and so on for rest of the table how can i write a query so that all the definitions for same word get inserted … | |
Hi I am trying to use replace function in c# but it doesnt seems to work.Am i doing anything wrong.Thanks [code] private void btnSpanish_Click(object sender, EventArgs e) { SimpleSpanishDict.SimpleSpanishEnglishDictionary ins = new SimpleSpanishEnglishDictionary(); Hashtable aaa = ins.AllWords(); StringBuilder insertCommand = new StringBuilder(); IDictionaryEnumerator en = aaa.GetEnumerator(); if (aaa.Count > 0) … | |
hi , i am trying to compile a project in visual studio but its asking me to update source control.Can anyone help me with this. Thanks | |
Hi , I am trying to insert chinese characters in database using sql statement but they appear as '????????' in the databse.Can anyone help me with this . Thanks | |
Hi I am getting error Error 1 Cannot implicitly convert type 'object' to 'string'. An explicit conversion exists (are you missing a cast?).Error is at the line string def = hash[elem.Word];.Can anyone help me with this . Thanks [Code] public Hashtable AllWords() { Hashtable hash = new Hashtable(); SimpleFrenchEnglishDictionary arr … | |
HI I ama reading text froma file that have word like "you're" and it gives me Unclosed quotation mark before the character string ') error.Can anyone help me with this .Thanks [code] using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; … | |
Hi, i am getting error Line 1: Incorrect syntax near 'Valuesstuntto'. and its an sql error.Can anyone help me with this thanks. [code] using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using GermanDict; using SimpleFrenchDict; using System.Web; namespace DicttoData { … | |
Hi , I am trying to insert the arraylist to database using sql .I have my code below.Can anyone help me with .My issue is that my insert statement doesnt work. Thanks [code] using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using … |
The End.