- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 2
16 Posted Topics
how to Pass data from one form to another page/form using javascript... | |
what is difference between _self and _parent.. expalin simply | |
Is it possible to get location in form of text through Google map using Android java? | |
Can we convert the record displayed on the web page to pdf doc ? if possible then how we can achieve this? | |
Re: try this code : string sqlIns = "INSERT INTO Customer Detail (Customer_id,Name,Address,Contact_Person,Contact_Person_no) VALUES (@Customer_id,@Name,@Address,@Contact_Person,@Contact_Person_no) SqlConnection con = new SqlConnection("Server=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\Database.MDF;Trusted_Connection=True;User Instance=yes"); SqlCommand cmd = new SqlCommand(sqlIns, con); try { con.Open(); cmd.Parameters.Add("(@Customer_id ", TextBox6.Text); cmd.Parameters.Add("@Name", TextBox1.Text); cmd.Parameters.Add("@Address ", TextBox2.Text); cmd.Parameters.Add("@Contact_Person ", TextBox5.Text); cmd.Parameters.Add("@Contact_Person_no ",TextBox4.Text.Text); cmd.ExecuteNonQuery(); lblStatus.Text = "***Record Inserted.***"; TextBox6.Text = ""; … | |
I made website that has connection with database... now i want to make exe of my project ,so that my C# code in MS Visual studio should not be visible to user. any help? | |
//When i click the update button to update record in database,i get following error : " String or binary data would be truncated. The statement has been terminated." plz help me to solve this problem using System; using System.Collections; using System.Configuration; using System.Web.Configuration; using System.Data; using System.Linq; using System.Web; using … | |
our project is having this exception in this variable it is storing summation of price it is some kind of type casting error can anyone guide us which datatype we should set it so dat it is removed ??? plz plz plz | |
Re: <body style="background-image:url('image.jpg'); background-repeat:no-repeat"> is not removing repeatition of background in my project ...:( | |
I want to write code behind by close button so when user click rhat button whole application is close... is it possible? //this code is not giving right result... protected void ImageButton3_Click(object sender, ImageClickEventArgs e) { Response.Write("<script language='javascript'>window.open('','_self',''); window.close();</script>"); // Response.Write("<script language='javascript'>self.close();</script>"); //Response.Write("<script language='javascript'> { self.close() }</script>"); //Me.ClientScript.RegisterClientScriptBlock(Me.GetType(), "closemyself", "<script>self.close();</script>"); … | |
// This code is not solving my problem .Data redundency still exist... lblresult.Text always give 0 :( int count=0 ; string selectSQL = "SELECT Equipment_Name,Vendor_Name FROM CatC"; SqlConnection myConn = new SqlConnection(); myConn.ConnectionString = "Data Source=.;Initial Catalog=ecsd1;User ID=sa;Password=786"; myConn.Open(); SqlCommand cmd1 = new SqlCommand(selectSQL, myConn); SqlDataReader reader; try { myConn.Open(); … | |
//Check radiobutton list based on the data retrieve from the database //This is also not working.. This does not select any item of the RadioButtonList1.. and also not giving any error... //Here is my code protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e) { string selectSQL; selectSQL = "SELECT * FROM Books_Magazines … | |
This is not working..:( RadioButtonList1.Text=reader["Type_Of_Purchase"].ToString(); | |
public partial class Default7 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string selectSQL; selectSQL = "SELECT Ref#,Description,Quantity,Warning_Quantity FROM Products "; SqlConnection con = new SqlConnection(); con.ConnectionString = "Data Source=.;Initial Catalog=Project;User ID=sa;Password=786"; SqlCommand cmd = new SqlCommand(selectSQL, con); SqlDataReader reader; // SqlDataReader reader1; // Try to open database … | |
public partial class Default7 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { string selectSQL; selectSQL = "SELECT Ref#,Description,Quantity,Warning_Quantity FROM Products "; SqlConnection con = new SqlConnection(); con.ConnectionString = "Data Source=.;Initial Catalog=Project;User ID=sa;Password=786"; SqlCommand cmd = new SqlCommand(selectSQL, con); SqlDataReader reader; // SqlDataReader reader1; // Try to open database … | |
This is not giving right output :((( [CODE]#include<iostream.h> #include<conio.h> using namespace std; int main() { char c[80],d[80]; cout<<"Enter a string = "; cin.get(c,80); strcpy(c,d); strrev(d); cout<<"String = "<<c; cout<<"Reverse word "<<d; getch(); return 0; }[/CODE] |
The End.