13,153 Topics
![]() | |
i am having combobox in the each cells of the datagrid when i select others from the combobox i want to add textbox in the same cell of that datagrid if anyone knows how to do it give some code sample | |
have any open source software for create vb program | |
Hi guys i am starting an online studying website and need an idea or any suggested page or tutorials.I want to be something like pluralsight or udemy, and suggestions and ideas will be very welcomed. | |
i am trying to create and fill crystal report via code but an error occurred, REPORT HAS NO TABLES but when i try to extract data from DATASET then it shows exact data,no problem but doesn't work for Crystal report. CODE: protected void Dataset_load() { SqlConnection sqlcon = new SqlConnection(conStr); … | |
waht are the uses of crystal reports ? yes i searched google and found same thing everywhere that "it's used for presenting data from different data sources etc". but i can't get the actual meaning. Why and where to use CR in asp.net? Simple words please | |
 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) setDropDownList(); bcChart.Series["Series1"].Points.DataBindXY(getDate(), getAmount()); bcChart.Series["Series1"].LegendText = "#VALX - RM #VALY{N2}"; } As you can see my bar graph is displaying 2 items, but how come the legend only show one items and i can't display the legend text as i … | |
[Click Here](http://forums.asp.net/t/1872263.aspx) I want do the same thing as this link posted. But i don't have any idea how can i start or do with it. :/ | |
I have an MDI application containing an MdiParent form and few MdiChild forms. The MdiParent has a fixed MenuStrip, a fixed ToolStrip and a fixed StatusStrip. The MdiChild forms have one or more ToolStrips and a StatusStrip along with other controls in them. The ToolStrips and the StatusStrip of the … | |
Hi all, Im working on a page that sends information to a mssql database. Its a basic registration page with a UserID, Password, First Name, Middle Name, Last Name, and Email box. When Sign up is clicked, all the information in the textboxes should be sent to the Users table … | |
![]() | Hey all, Am new to Sharepoint development and am trying to create an Event Receiver to communicate with a Web service. Does anyone have any advice or any references that can point me in the right direction? ![]() |
protected string getEmailAddr() { SqlConnection conGet = new SqlConnection(ConfigurationManager.ConnectionStrings["connMSJ"].ConnectionString); SqlCommand cmdGet = new SqlCommand("SELECT Email FROM Member WHERE Username=@username", conGet); cmdGet.Parameters.AddWithValue("@username", strUsername); conGet.Open(); SqlDataReader dtrGet = cmdGet.ExecuteReader(); if (dtrGet.Read()) return dtrGet[0].ToString(); else return null; dtrGet.Close(); conGet.Close(); } `dtrGet.Close();` Occured the Unreachable Code Detected with Green Colour Underline. How can i … | |
I have a page which allow user to login. Once they are login, a cookie will create with a value and redirect the user to specify pages.. And a master page will be load. Inside the master page will retrieve the cookie value and display if the cookie value not … | |
Hi guys, I've been trying to implement autocomplete on a form I'm creating and was successful with using a global variable as the source. Now i'm trying to use a hiddenfield as the source, but it does not seem to work. Firebug shows the error "414 Request-URI Too Long." Is … ![]() | |
Hello, Recently I've been having some issues with the CultureTypes.SpecificCultures as for a reason I don't know I can no longer retreive United Kingdom Culture from it everytime I ask GetAllCultures() Method. Did they change this? | |
I have two dropdownlists on my page containing semester number and subject names respectively. When I select First semester from dropdownlist1 and click on go button then the dropdownlist2 contain subjects of first semester fetched from database in sqlserver.... it is working fine, but when i select semester Second from … | |
Let's say my HTML markup have these div id <div id="div1"> //Contents </div> <div id="div2"> //Contents </div> And i am trying to response redirect to some page which focusing on a specific div id in the code behind.. any tricks would be archieve this? Due to my webpage is applying … | |
Hello. I'm trying to use SqlDataReader to return information from my database. It works fine until it comes to a datetime field. I'm getting an error saying: " Input string was not in a correct format." on the line where I'm declaring a variable to hold my field. Here is … | |
Hi. I'm working on this project where I'm supposed to make a simple online store using ASP.net, MVC4 and Entity Framework. I'm on this part where I want to add some products to a database everytime I run my project, and these products are the one I'm going to list … | |
hi i want the selecte columns count in datagrid for ex if i select the first column than i want that first columns count i tried it datagrid selection change event but i can't able to get the particular column count. if anyone knows how to do it give some … | |
Hi All, I am working on a page that creates a dynamic MySql query with the selected fields at the run time and for this I want to take a combobox with few checkboxes so that based on their selection I can fetch the query result and populate them into … | |
hi in my application i want the user to select only time from the datepicker i don't know how to display only time in datetime picker if any one have any idea give some code sample | |
Hey guys, I am desperated right now. Im my application i want to export some data from an entityset to excel. So far so good. But i want to exclude some properties. So i thought creating a custom attribute for those properties is might a good idea to make things … | |
I want to call jquery function (or something like that) from vb code. This is what i need. There is a VB function named Calculation(). It takes few seconds to complete the calculation. (Let's get it is taken 10 Seconds) In this 10 seconds the user don't know something is … | |
Hi All, I've been away from daniweb for a long time but now need some help! I have created a number of 'reports' for my customer, these are separate pages with controls to allow parameters to be set and a gridview to list records. I now need to find a … | |
Hello, I am having an issue with the FindControl looking for a textbox in the Insert mode. I am doing this in the ItemCommand. I have a "Copy" button that is on the ReadOnly mode. I then change over to the Insert mode and start working with filling in some … | |
Hi All, I am creating a dynamic GroupBox through C# and want to change only the header font and not all the fonts in that. GroupBox myGroupBox = new GroupBox(); myGroupBox.Header = mychk.Content.ToString(); myGroupBox.Content = myStack; Here, *myGroupBox.FontWeight* changes all the contents inside the *myGroupBox* but how to change only … | |
hi guys i am having this small issues with image slider, it shows in the broswer just one picture, than slider continues but it does not show the content of the other pictures(can not read them). i have 8 pictures in my Images folder in my project, but it reads … | |
Hi, i applyed an CalendarExtender to my text box, this is the code : <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" Enabled="True" TargetControlID="TextBox1"> </asp:CalendarExtender> </div> </form> </body> </html> but when i run it, i get this … | |
hi i am validating cells in the datagrid in datagrid celleditending event. if the validation fails message is diplayed in the message box when i click ok in the message box the focus move to the previous row .i want the focus in the current validated cell i try this … | |
I am creating registration Form, here's the code SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["RegConnectionString"].ConnectionString); con.Open(); string insCmd = "Insert into Registration(UserName, Password, EmailAdress, FullName, Country) vaues (@UserName, @Password, @EmailAddress, @FullName, @Country)"; SqlCommand insertUser = new SqlCommand(insCmd, con); insertUser.Parameters.AddWithValue("@Password", TextBoxPass.Text); insertUser.Parameters.AddWithValue("@EmailAddress",TextBoxEA.Text ); insertUser.Parameters.AddWithValue("@FullName",TextBoxFN.Text); insertUser.Parameters.AddWithValue("@Country", DropDownListCountry.SelectedItem.ToString()); try { insertUser.ExecuteNonQuery(); con.Close(); Response.Redirect("Login.aspx"); } catch … |
The End.