- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
21 Posted Topics
[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 | |
[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() … | |
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 | |
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 … | |
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. | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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) { … | |
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 … | |
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 … | |
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 , … | |
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 … | |
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 | |
[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 … | |
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 , … | |
[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 … | |
[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] |
The End.