Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
54% Quality Score
Upvotes Received
19
Posts with Upvotes
12
Upvoting Members
4
Downvotes Received
9
Posts with Downvotes
6
Downvoting Members
8
4 Commented Posts
~15.3K People Reached
Interests
.NET C#, GAME - TWISTED METAL, COUNTER STRIKE
PC Specs
C# , .NET, MS SQL, ASP.NET. WINDOW XP,VISTA, WINDOW 7
Favorite Tags

36 Posted Topics

Member Avatar for ashishkumar008

[B]1.[/B] Right click on your project name in solution explorer. [B]2.[/B] Point the cursor on [COLOR="Green"]Add[/COLOR] then choose [COLOR="Green"]Existing Item...[/COLOR] [B]3.[/B] Now go to the Location of your sound file and select that sound file. [B]4.[/B] Now select your sound file in solution explorer then Right click on it choose …

Member Avatar for JOSheaIV
3
5K
Member Avatar for JayWeb

hi friend, sorry! i have not exactly solution for this problem. But these code may be helpful for you. [CODE] Point lastPoint; private void pictureBox2_MouseDown(object sender, MouseEventArgs e) { lastPoint = new Point(e.X, e.Y); } private void pictureBox2_MouseMove(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { this.Left += e.X …

Member Avatar for kvprajapati
0
168
Member Avatar for AngelicOne

Hi friend, Check this link may be helpful for you. Actually, there is many option to play a sound in .net. [URL="http://www.daniweb.com/code/snippet258293.html"]http://www.daniweb.com/code/snippet258293.html[/URL]

Member Avatar for ashishkumar008
0
151
Member Avatar for ashishkumar008

hello, Actually, i want to play sound file from [COLOR="green"]resource[/COLOR]. I am using [COLOR="green"]WindowMediaPlayer[/COLOR] Control for window application. But there is only option is "[COLOR="Red"]URL[/COLOR]" (Property of control) to play sound file. I don't want to use [COLOR="Red"]URL[/COLOR] property. Because my sound file is present in the [COLOR="Green"]Resource[/COLOR]. Any body …

Member Avatar for zinnqu
0
1K
Member Avatar for Nemo_NIIT

[CODE] con.Open(); SqlDataAdapter da = new SqlDataAdapter("select * from RoomBooking",con); DataSet ds = new DataSet(); da.Fill(ds); DataTable dt = ds.Tables[0]; int ctr, len; string codeval; len = dt.Rows.Count - 1; DataRow dr = dt.Rows[len]; string code = dr["CusID"].ToString(); codeval = code.Substring(1, 3); ctr = Convert.ToInt32(codeval); if ((ctr >= 1) && …

Member Avatar for ashishkumar008
0
1K
Member Avatar for prayag.419

First of all you create database. In database create tables,like-user details,item(clothes) details such as item id,name,quantity,availability etc,purchase details etc. Always remember relationship (ER DIAGRAM) is important. After database create front end. You can search online shoping ER DIAGRAM. This is useful for u.

Member Avatar for prayag.419
0
169
Member Avatar for ashishkumar008

Hello, i want to know how to convert digit or currency in words. like- when i enter in textbox [COLOR="green"]15000025.65[/COLOR] then in other textbox it should be converted in text format like - [COLOR="Green"]fifteen crores twenty five rupees and sixty five paise[/COLOR]. Any one can help me.......... plzzzzzzzzzzz please tell …

Member Avatar for kvprajapati
-2
85
Member Avatar for ashishkumar008

hello, any one can tell me how to embed assembly file [COLOR="green"](windows control library)[/COLOR] into resource in window apllication using .net c#. pleaseeeeeeeeeeeeeeeeeeee

Member Avatar for kvprajapati
-1
161
Member Avatar for darkagn

hello, i run this code in vs2005 in window 7 then, second text box simply show text when multiline is true. i don't know why? but if u know then please tell me. what is the exact reason.

Member Avatar for darkagn
2
379
Member Avatar for ashishkumar008

helloooo Actually, i have one question. my teacher asked to me - why we take Int16,Int32,Int64 why not Int20,Int36,Int68. Please tell me the answer. Pleaseeeeeeeeeee.... is the factor operating system like 32-bit,64-bit,16-bit? please give anyone exact answer.

Member Avatar for kvprajapati
0
162
Member Avatar for Shlesh

try this code. i hope this is useful for u. <asp:TextBox ID="TextBox1" runat="server" onpaste="return false" onDrop="blur();return false" Width="438px" Height="36px"></asp:TextBox></div>

Member Avatar for crishjeny
0
172
Member Avatar for Purushottamkr

use this... [CODE] decimal[] arr = { 12.3m, 45.2m, 5.4m, 23.44m, 43.21m }; Array.Sort(arr); Array.Reverse(arr);[/CODE]

Member Avatar for Diamonddrake
0
1K
Member Avatar for Nemo_NIIT

hello, Nemo try this code... [CODE] private void button1_Click(object sender, EventArgs e) { if (textBox1.Text == "") { label5.Text = "Please Enter Your Login ID!"; textBox1.Focus(); } else if (textBox2.Text == "") { label5.Text = "Please Enter Your Password!"; textBox2.Focus(); } else { con = new SqlConnection("Data Source=.;Initial Catalog=INOXHOTEL;User ID=sa;Password=niitdelhi …

Member Avatar for ashishkumar008
0
107
Member Avatar for Shlesh

check this link:[URL="http://code.wikia.com/wiki/Matrix_multiplication"]http://code.wikia.com/wiki/Matrix_multiplication[/URL] here is detail info.

Member Avatar for ashishkumar008
0
140
Member Avatar for ashishkumar008

helloooo, Actually, i want to know something. please read this code... [CODE]using System; using System.Collections.Generic; using System.Text; namespace temp { class Program { static void Main(string[] args) { Int16 i = Int16.MaxValue; Console.WriteLine("Simple: " + (i )); unchecked { Console.WriteLine("Unchecked: " + (i + 1)); } checked { try { …

Member Avatar for nick.crane
3
141
Member Avatar for Shlesh

Simply we can say, command line argument is that argument which is passed to Main method. Example is: [code] using System; using System.Collections.Generic; using System.Text; namespace CommandLineArgument { class Program { static void Main(string[] args) { for (int i = 0; i < args.Length; i++) { Console.Write(args[i] + " "); …

Member Avatar for ashishkumar008
0
206
Member Avatar for ashishkumar008

A jagged array is an array whose elements are arrays. The elements of a jagged array can be of different dimensions and sizes. A jagged array is sometimes called an "array of arrays". [COLOR="Red"]NOTE:-[/COLOR] I'm using Single dimensional jagged array. Actually I am using single and multi dimensional arrays as …

Member Avatar for Shlesh
1
138
Member Avatar for rodkay

rodkay, actually I can help you in c#. In c# you can use GetLength() to get multi dimensional array. Use like this: for (int j = 0; j < myjaggedarraymutidim[i].GetLength(0); j++) { for (int k = 0; k < myjaggedarraymutidim[i].GetLength(1); k++) { Console.Write(" "+myjaggedarraymutidim[i][j, k]+" "); } Console.WriteLine(); }

Member Avatar for ashishkumar008
1
175
Member Avatar for Geekitygeek

marked textbox with public keyword and also use a static variable to store textbox data. now you can use this textbox and it's data in next or other forms.

Member Avatar for beetscodes
3
1K
Member Avatar for reemhatim

I think c# is better. Try to do best in .NET C#, ASP.NET, MS SQL and also learn ORACLE. YOU CAN THINK ABOUT JAVA. BUT I PREFER C#.

Member Avatar for ashishkumar008
0
91
Member Avatar for ashishkumar008

Hi....... This code is useful to check given string is palindrome or not. Actually, there are some other way also to check palindrome. So, be careful which code gives better efficiency. You can [COLOR="Red"]comment the line[/COLOR][COLOR="Green"]-bool caseignore= str.Equals(revstr, StringComparison.OrdinalIgnoreCase);[/COLOR] and in [B][COLOR="Red"]if[/COLOR][/B] condition you can use- if(string.Compare(str,revstr,true)==0)

Member Avatar for vijaykrishnabor
0
307
Member Avatar for sakurayana
Member Avatar for ja0
Member Avatar for ashishkumar008
0
190
Member Avatar for chathuD
Member Avatar for chathuD
Member Avatar for ashishkumar008
0
130
Member Avatar for AngelicOne

Hey, You can use roll back statement in your code. Due to roll back if one statement failed then other statement not affect the database.

Member Avatar for ashishkumar008
0
97
Member Avatar for atienanurin

insert into HumanResources.Employee values("textBox1.Text","textBox2.Text");

Member Avatar for ashishkumar008
0
88
Member Avatar for Nemo_NIIT

to close any form use [COLOR="Green"]Apllication.Exit();[/COLOR] please check many instances are open in your taskmanager , may be. please end all instance of your project or form. if your problem solved then marked it as solved.

Member Avatar for ashishkumar008
-1
319
Member Avatar for destruct0

marked textbox with public keyword and also use a static variable to store textbox data. now you can use this textbox and it's data in next or other forms.

Member Avatar for ashishkumar008
0
427
Member Avatar for Poposhka
Member Avatar for ashishkumar008
0
116
Member Avatar for Lalithayadav
Member Avatar for LevyDee

string str=" levydeewithspace "; string newstr=str.Trim(); //This code remove all blank space present on both side of string.

Member Avatar for ashishkumar008
0
140
Member Avatar for Nemo_NIIT

please explain your question. I don't understand what u want to say? private void button1_Click(object sender, EventArgs e) { textBox1.Visible = false; } private void button2_Click(object sender, EventArgs e) { textBox1.Visible = true; }

Member Avatar for ashishkumar008
0
154
Member Avatar for charqus
Member Avatar for charqus

[QUOTE=charqus;1124799]Hello guys. I made a picture box and i want like when a button is pressed , the BackgroundImage of Picture Box to be changed in a screenshot from my resources. Look what i did: [code] private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { if (listBox1.SelectedItem.Equals("Rocket Launcher I")) { pictureBox1.BackgroundImage = …

Member Avatar for ashishkumar008
0
177
Member Avatar for vckicks

this give error.... In foreach line (in process) always mention namespace which is required and that place where code to be paste

Member Avatar for ashishkumar008
1
256

The End.