- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
9 Posted Topics
Re: Hi, Declare the type of Data field as Nchar(10),if U use sql server database. try this code [CODE]Dim con as new sqlconnection Dim com as new sqlcommand con.ConnectionString="give connection string" con.open com.connection=con com.commandText="insert into tablename values(@joindate,@...)" com.parameters.Add("@joindate",Sqldbtype.nchar,10).value=System.DateTime.Today.ToString() com.ExcuteNonQuery[/CODE] Hope this helps U If it helps make it as solved Thanks … | |
Hi friends, in my website i want to display reports using [U]reportViewer[/U] control. I am not able to connect this report viewer to database. Please help me in solving this. Thank U | |
Hi friends, I am doing a small project.In that the user can order for some products.when the user clicks the oreder_submission Button one conformation dialogue Box should appear with the message of confirmation with two buttons "Yes" and "no". Pleae give me the code in C#. | |
Hello Friends, What is the code i have to write on Button click event to perform signout from a web page using C#. I have just wriitten the code Response.Redirect.But if I use back Button it is coming back to the page again. Please help me . thank U. | |
Hi Friends, I have created web setup for my web application. If i double click the file [B][U]"WebSetup1.msi"[/U][/B] it is giving the message that "Please install IIS and run this setup again".Can I download IIS from any website.Or is there any other method to solve this. Please mention the site … | |
I am doing a small project.In that users can register for yoga programs.When the administrator set the new program with date ,place and timings then the registered users should get email automatically with all above details . Please help me doing this. I have done the registration part successfully. | |
Hi, I want to pass cid genarated in selling.aspx to orderform.aspx . How to retrieve the query string in orderform.aspx I gave the code below in selling.aspx [code]SqlConnection con; SqlDataReader dr; con = new SqlConnection("Persist Security Info=False;Uid=sa;Password=q1w2e3/;Initial Catalog=YOGADATA;Data Source=PC-1"); con.Open(); t=0; SqlCommand com = new SqlCommand("select * from Custlogin", con); … | |
Hi friends, I have created a form with a dropdown list and a text box and i have a table named customer with fields cid and name in database. I successfully binded the cid column to dropdown list.now my problem is i want to bind the name into the text … | |
Hi friends, I am learning ASP.NET. I have designed a login form with username and password.The code i have given in Button click event is: SqlConnection con; SqlDataReader dr; int t; con = new SqlConnection("Persist Security Info=False;Uid=sa;Password=q1w2e3/;Initial Catalog=YOGADATA;Data Source=PC-1"); con.Open(); SqlCommand com = new SqlCommand("select * from Login", con); t … |
The End.