Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
28% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
1 Commented Post
~7K People Reached
Favorite Tags
Member Avatar for MrBlack

[CODE] Session.Abandon(); Session.Clear(); Session["user"]=null [/CODE] i m trying to clear a Session but these methods are not working..how can i clear this Session plz help me.. thnxx

Member Avatar for prit005
0
83
Member Avatar for MrBlack

[CODE] namespace ConsoleApplication8 { class Program { static void Main(string[] args) { Person p1 = new Student(); p1.Sing(); p1.Run(); Console.WriteLine(p1.GetType().Name); Console.Read(); } } class Person { public void Run() { Console.WriteLine("Person Run"); } public virtual void Sing() { Console.WriteLine("Person Sing"); } } class Student : Person { public void Run() …

Member Avatar for Bridgekeepers
0
278
Member Avatar for MrBlack

Can anybody plz help me.. i need to find all the users who are grater than 10 days old. table name users ,fild contain with registration dates.to store date i used DateTime.Today with C#.Can any body give me a sql query to slow this

Member Avatar for crishlay
0
165
Member Avatar for MrBlack

Can any body fix this problem plz.. it throws exception "Object reference not set to an instance of an object" [CODE] namespace MC.Master.App1 { public partial class EventChecker : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Page_Init(object sender, EventArgs e) { Label FeedbackLabel = new …

Member Avatar for MrBlack
0
122
Member Avatar for MrBlack

Hi I installed visual studio 2008 64bit.and i need MS sql server express 2005/2008 64 bit. plzz help me.i tried one.but installation is not completed.Is there a special way to install it.

0
71
Member Avatar for MrBlack

Hii i want to learn how to use visual studio toolbox and its inbuilt methods and attributes use to access them with C#. Can anybody give me a link to download an ebook,Plz help

Member Avatar for kvprajapati
0
63
Member Avatar for MrBlack

hi at the moment i m learning C#,but i have lots of questions... i hope to go to UK ,is java beter than C#? and Do i need to learn C++ to get a good job, i have no idea, can any one give me a path i want to …

Member Avatar for AuburnMathTutor
0
214
Member Avatar for MrBlack

When i run the second form it occurs a error "The Process cannot access the file C:\user\Maxs\Desktop\xml\Student.soap because it is being used by another process" Can anybody fix this Form1 Creating soap file [CODE] using System.IO; using Students;// Student DLL file using System.Runtime.Serialization.Formatters.Soap; namespace TestAps { public partial class Form1 …

Member Avatar for MrBlack
0
124
Member Avatar for MrBlack

i have created two winforms ,first from take a value and pass it into the second form and display on a label, but when i run the programme it throws exception form 1 [CODE] private void button1_Click(object sender, EventArgs e) { Form2 fm2 = new Form2(this.txtName.Text); fm2.Show(); } [/CODE] form …

Member Avatar for MrBlack
0
88
Member Avatar for MrBlack

I created 2 winforms in one i create a button .when i click the button i want to go to the next form(form2) and close the form1. plz give me the code . this is my code it is not working form1 [CODE] namespace MyTest1 { public partial class Form1 …

Member Avatar for MrBlack
0
99
Member Avatar for MrBlack

Hi i m new to java, i want to make a simple application with netbeans ,(To Learn) i want to learn how to get data from a data base(mysql database) and display to textBoxes, and also want to learn how insert delete update database, Are there any tutorials or ebooks.plz …

Member Avatar for MrBlack
0
109
Member Avatar for MrBlack

There is an error , it is cannot find Symbol [CODE] import java.sql.*; public class Main { public static void main(String[] args) { try { Class.forName("com.mysql.jdbc.Driver"); String connectionUrl = "jdbc:mysql://localhost/mytestdb?" + "user=root&password=PHP"; Connection con = DriverManager.getConnection(connectionUrl); } catch (SQLException e) { System.out.println("SQL Exception: "+ e.toString()); } catch (ClassNotFoundException cE) { …

Member Avatar for MrBlack
0
4K
Member Avatar for MrBlack

this is my simple application , i try to updata ,but it is not working, in this example it shows only first reocrd and, try to update first record(i want to know the method of updating, so i can updates other records too) data base has only two fields id,name …

Member Avatar for MrBlack
0
109
Member Avatar for MrBlack

Can any body explain me[B] Adding parameters to AddParams method [/B] I cant understand the code in this code it try to delete a row from article table, for that i use SqlDataAdapter,DataSet and DataTable , //Preparing Delete Sql Command [CODE] dataAdapter.DeleteCommand=conn.CreateCommand(); dataAdapter.DeleteCommand.CommandText="DELETE FROM article WHERE artId=@artId"; AddParams(dataAdapter.DeleteCommand,"artId"); [/CODE] This …

Member Avatar for MrBlack
0
458
Member Avatar for MrBlack

in my code [B]Devide [/B]method is not working it gives an error "ExceptionHandling.Program.Devide(int, int)': not all code paths return a value" When i change public int Devide method in to void,the programe is workig , plz explain me what is the wrong with my code, im new to programming , …

Member Avatar for MrBlack
0
139
Member Avatar for MrBlack

Google have just announced that laptops shipped with Chrome OS will be released in “Late Fall”. Google’s aim is to challenge Microsoft and Apple on the desktop, by releasing an operating system with the same ideals as the Chrome web browser. With the Chrome browser, Google set out to release …

Member Avatar for MrBlack
0
116
Member Avatar for MrBlack

I m new to programming .Can anybody tell me where do we use Nested Class in piratical(i dont need the code )? and Why do we use it with out using regular class Plz explain me

Member Avatar for MrBlack
0
137
Member Avatar for MrBlack

[CODE] int i=5; i.ToString(); [/CODE] AND [CODE] int i=5; Object obj=i; obj.ToString(); [/CODE] I see this code in a c# book but i didnt understand this code, i got the meaning of boxing that mean Boxing allows value types to be implicitly treated like objects, plz explain those 2 code …

Member Avatar for MrBlack
0
145
Member Avatar for MrBlack

I m using NetBeans IDE6.8 to create a application.for this i use Japplet form . when i darg and drop buttons and textbox, i cant give them a static position.when i move a textbox some other textbox or label also go here and there, how can i prevent this , …

Member Avatar for cale.macdonald
0
56
Member Avatar for MrBlack

[CODE]1. protected void Button1_Click(object sender, EventArgs e) 2. {string s="Data Source=Black-PC\\SQLEXPRESS;Initial Catalog=Test;Integrated Security=True"; 3. SqlConnection Conn = new SqlConnection(s); 4. 5. Conn.Open(); 6. string strqry = “Insert into students values (” + TextBox1.Text + 7. “,’” + TextBox2.Text + “‘,’” + TextBox3.Text + “‘)”; 8. 9. SqlCommand Com = new …

Member Avatar for kvprajapati
0
151
Member Avatar for MrBlack

[COLOR="Green"]Can anybody plz tell me how to make a windows application form like vista view,Are there any free tools , help me :S[/COLOR]

-2
48