Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums

14 Posted Topics

Member Avatar for shsh_shah

Hi, I have a 2 text boxes tbox1 and tbox2 now i want to populate tbox2 when a value is entered in tbox1...how this can be done? note: Supplier Table tbox1: SuppilerID tbox2: SupplierName..Should populate when supplierID is entered. How this can be done. As I am using MSAccess db... …

Member Avatar for LP...
0
310
Member Avatar for shsh_shah

Hi, Hi, I have a grid view and want to populate columns of gridview based on the selection from combobox. How to do that? Please help on this issue... Problem: Below is my code which fills combobox and gridview columns...but it also display data as well in all columns as …

0
72
Member Avatar for shsh_shah

Hi, I am implementing TictacToe using AI so following is some of my code snippet. 1. How to recognize computer move and how would i implement that? 2. What I will add in private void box2_Click(object sender, EventArgs e) method? 3. I want to assign best possible move for PC …

Member Avatar for Killer_Typo
0
173
Member Avatar for shsh_shah

Hi, I have one form which is login form which contains username and image browsing field. Now in Login.cs [code] private void LoadGameButton_Click(object sender, EventArgs e) { TicTacToe tic=new TicTacToe(usernametextBox.Text,imgTextbox.Text); if (imgTextbox.Text.Equals("")) { MessageBox.Show("Please select any image"); return; } else { tic.Show(); // this.Hide(); } } [/code] In TicTacToe.cs [code] …

Member Avatar for JerryShaw
0
122
Member Avatar for shsh_shah

I have done one application now which is about scheduling application. Now I was looking for windows service and how to do add so i created new project in the existing project of my form. Now the query is "how I would add any of my task in windows services?" …

0
69
Member Avatar for shsh_shah

Hi, [B] I have a listview control where i added some column headers. Now the query is when i select any text on the textbox i want to import on listview control under the specific column header. ???? [/B] Currently its adding any selected text from textbox to listview control …

Member Avatar for shsh_shah
0
142
Member Avatar for shsh_shah

Hi, Can Anyone help me in pseudo code or algorithms to write InsertAt() method for LinkedList. Basically when this method will be called it will ask user where he want to put that data somewhere in the middle of nodes and then that data will be inserted in between the …

0
76
Member Avatar for shsh_shah

Hi All, I am working on linked list application which the structure is as: [code] public static void Main(String[] args) { Console.WriteLine("Please Enter the data to be Inserted in the LinkList..."); Object obj = new Object(); node n = new node(); linklistImp llist = new linklistImp(); ArrayList ast = new …

Member Avatar for shsh_shah
0
123
Member Avatar for shsh_shah

Hi, Is there anyway i can put my every entry of username in a file like this e.g. using any auto number generation with every entry 1. Test 2. Hello After i put them in a file like this i want to search and delete based on the numbers. e.g. …

Member Avatar for shsh_shah
0
137
Member Avatar for shsh_shah

when enter the text to find the string i want to ignore the case how to implement that in a context below [code] public override void Search() { //file = new FileStream(@"C:\username.txt", FileMode.Open, FileAccess.Read); Console.WriteLine("Input a string "); String data = Console.ReadLine(); sr = File.OpenText(@"C:\username.txt"); String st = sr.ReadToEnd(); // …

Member Avatar for shsh_shah
0
111
Member Avatar for shsh_shah

How to search for a string in a file. As string might be somewhere in the middle of text file. :!: [code] [COLOR=#008080]Console[/COLOR][COLOR=#000000].WriteLine([/COLOR][COLOR=#800000]"Input a string "[/COLOR][COLOR=#000000]);[/COLOR] [COLOR=#008080]String[/COLOR] data = [COLOR=#008080]Console[/COLOR].ReadLine(); sr = [COLOR=#008080]File[/COLOR].OpenText([COLOR=#800000]@"C:\username.txt"[/COLOR]); [COLOR=#008080]String[/COLOR] st = sr.ReadToEnd(); ????? [/code] help please? thanks

Member Avatar for Lardmeister
0
110
Member Avatar for shsh_shah

Hi, I am going to ask a question which is small bit silly but for me not as i want to grasp this information in mind. The question is i have seen samples of different codes which have as following [code] Class A { int [] arr=new int[5]; public A() …

Member Avatar for shsh_shah
0
94
Member Avatar for shsh_shah

Hi If i have switch statement look like this and after getting or display function or by entering wrong character(default) how can i go to same screen which will display different options. As i know there are goto statements but that is not recommended? So please can anybody recommend me …

Member Avatar for shsh_shah
0
112
Member Avatar for shsh_shah

Hi, I have problem when i get an array using I get "Array Index Out of Bound" in QuickS function [code] getArray(int [] arr) for (i = 0; i < arr.Length; i++) { String val = Console.ReadLine(); arr[i] = Convert.ToInt32(val); } public static void quicks(int lo, int hi, int[] arr) …

Member Avatar for shsh_shah
0
159

The End.