13,153 Topics

Member Avatar for
Member Avatar for prabhakar78

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

Member Avatar for pitic
0
435
Member Avatar for pdmaduranga
Member Avatar for Kleon

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.

Member Avatar for BigPaw
0
134
Member Avatar for HunainHafeez

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); …

Member Avatar for HunainHafeez
0
1K
Member Avatar for HunainHafeez

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

Member Avatar for HunainHafeez
0
157
Member Avatar for gahhon

![ae11c10b62ad1537f03030637438cc85](/attachments/large/3/ae11c10b62ad1537f03030637438cc85.jpg "ae11c10b62ad1537f03030637438cc85") 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 …

Member Avatar for gahhon
0
195
Member Avatar for gahhon

[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. :/

Member Avatar for JorgeM
0
1K
Member Avatar for priyamtheone

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 …

0
249
Member Avatar for alek.mieczkowski

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 …

Member Avatar for alek.mieczkowski
0
222
Member Avatar for nathan.williams.123276

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?

Member Avatar for LastMitch
0
52
Member Avatar for gahhon

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 …

Member Avatar for pritaeas
0
202
Member Avatar for gahhon

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 …

Member Avatar for gahhon
0
1K
Member Avatar for while(!success)

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 …

Member Avatar for LastMitch
0
509
Member Avatar for Diogo Martinho

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?

Member Avatar for kvprajapati
0
116
Member Avatar for riya#21

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 …

Member Avatar for BMXDad
0
152
Member Avatar for gahhon

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 …

Member Avatar for gahhon
0
1K
Member Avatar for edogg23

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 …

Member Avatar for edogg23
0
5K
Member Avatar for Shari_1

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 …

Member Avatar for Shari_1
0
300
Member Avatar for prabhakar78

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 …

Member Avatar for Ketsuekiame
0
125
Member Avatar for KushMishra

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 …

Member Avatar for KushMishra
1
8K
Member Avatar for prabhakar78

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

Member Avatar for prabhakar78
0
2K
Member Avatar for GeekByChoiCe

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 …

0
119
Member Avatar for weeraa

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 …

Member Avatar for JorgeM
0
2K
Member Avatar for David Mac

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 …

Member Avatar for JorgeM
0
390
Member Avatar for EddiRae

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 …

Member Avatar for EddiRae
0
334
Member Avatar for KushMishra

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 …

Member Avatar for KushMishra
1
2K
Member Avatar for Kleon

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 …

Member Avatar for Kleon
0
266
Member Avatar for grafic.web

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 …

Member Avatar for grafic.web
0
753
Member Avatar for prabhakar78

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 …

Member Avatar for tinstaafl
0
312
Member Avatar for Kleon

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 …

Member Avatar for Kleon
0
128

The End.