Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
2 Commented Posts
0 Endorsements
~8K People Reached
Favorite Forums
Favorite Tags

38 Posted Topics

Member Avatar for sdhawan

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 …

Member Avatar for ddanbe
0
210
Member Avatar for sdhawan

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

Member Avatar for nick.crane
0
46
Member Avatar for sdhawan

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 …

Member Avatar for sdhawan
0
331
Member Avatar for sdhawan

Hi Guys , can any one tell me how to insert array in database using insert statement. thanks

Member Avatar for kvprajapati
0
1K
Member Avatar for sdhawan

hi can anyone tell me how to conver array of string to string using',' as delimiter.Thanks

Member Avatar for ryuslash
0
63
Member Avatar for sdhawan

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

Member Avatar for finito
0
90
Member Avatar for sdhawan

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 …

Member Avatar for kdcorp87
0
102
Member Avatar for nozzers

Check this post and see if it helps. [url]http://www.daniweb.com/forums/post1201961.html#post1201961[/url]

Member Avatar for PierlucSS
0
93
Member Avatar for sdhawan

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) …

Member Avatar for CFusion
0
113
Member Avatar for sdhawan
Member Avatar for sdhawan

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

Member Avatar for nick.crane
0
101
Member Avatar for sdhawan

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 …

Member Avatar for nick.crane
0
127
Member Avatar for sdhawan

HI I have a question? What is the difference between WCF and Linq to Sql. Thanks for anyhelp

-1
70
Member Avatar for sdhawan

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 …

Member Avatar for finito
0
136
Member Avatar for sdhawan

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

Member Avatar for sdhawan
0
219
Member Avatar for sdhawan

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

Member Avatar for sdhawan
0
125
Member Avatar for sdhawan

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) …

Member Avatar for sdhawan
0
157
Member Avatar for sdhawan

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]

Member Avatar for sdhawan
0
155
Member Avatar for sdhawan

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

Member Avatar for sdhawan
0
127
Member Avatar for sdhawan

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, …

Member Avatar for nick.crane
0
136
Member Avatar for sdhawan

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 …

Member Avatar for sdhawan
0
65
Member Avatar for sdhawan

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 …

Member Avatar for sdhawan
0
76
Member Avatar for sdhawan

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 …

Member Avatar for sdhawan
0
112
Member Avatar for sdhawan

Hi,I want to know how canwe select a value from a datagrid and search for that value in another databse.Thanks

Member Avatar for nick.crane
0
100
Member Avatar for sdhawan

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 …

Member Avatar for sdhawan
0
94
Member Avatar for sdhawan

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

Member Avatar for nick.crane
0
52
Member Avatar for sdhawan

how can we create individual table when ever a new user register .Can you give me an example of the query . Thanks

0
56
Member Avatar for sdhawan

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

Member Avatar for sdhawan
0
92
Member Avatar for sdhawan

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

Member Avatar for sdhawan
0
116
Member Avatar for sdhawan

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 …

Member Avatar for Ketsuekiame
0
133
Member Avatar for sdhawan

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 …

Member Avatar for sdhawan
0
72
Member Avatar for sdhawan

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) …

Member Avatar for jlenriquez
0
183
Member Avatar for sdhawan

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

0
27
Member Avatar for sdhawan

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

Member Avatar for sdhawan
0
117
Member Avatar for sdhawan

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 …

Member Avatar for apegram
0
1K
Member Avatar for sdhawan

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; …

Member Avatar for kvprajapati
-1
726
Member Avatar for sdhawan

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 { …

Member Avatar for sdhawan
0
345
Member Avatar for sdhawan

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 …

Member Avatar for kvprajapati
0
382

The End.