No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Hai, Why you want to avoid the Postback? Is it to retain the upload path? If its for retaining path you put one hidden control in the form and set the path to the hidden control so that you can use it again after postback. If you really want to …
Hai, You might be talking about javascript menu right? You can create these menus in two ways. 1. In asp.net we have control called Menu Control. Using that you can easily obtain this requirement 2. You have to use Javascript for creating the menu. Usually in most site we will …
Hai, Is there any specific error message or its simply not validating anything? Is it possible you to try out the application from the server itself? If yes, please check over there. Are these validators under any master page? NB: Please check for the JavaScript settings on these machine. Try …
hai, is the receipt field is of nvarchar type. Increase the datatype size and try. (for testing you can provide nvarchar(max) and then adjust the size needed for your application). Thanks, Shenu
hai, there is nothing to resize for label. It will get resized automatically. Remove the width you have assigned for it and try. You can write a css for text align like label.text{text-align: right} then call it with the css class. thanks, Shenu
[QUOTE=sonia sardana;1012771][code] public partial class FrmOnline : System.Web.UI.Page { string Query; SqlCommand cmd; SqlConnection conn; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { OpenSQLConnection(); SqlCommand cmd = new SqlCommand("select * from Info1 where UID=1", conn); SqlDataReader dr; dr = cmd.ExecuteReader(); while (dr.Read()) { dr.Read(); TextBox1.Text = dr[0].ToString(); } …
The End.
shenulal