13,153 Topics

Member Avatar for
Member Avatar for mmmundhra

operating system : windows XP, sp3 When i click on asp.net gridview smart tag > edit columns button. Then my visual studio 2008 IDE just crashes. This problem happens in every asp.net project where gridview control is used. I think this problem occures when i enabled automatic updates in my …

0
64
Member Avatar for bhavyajyothinat

can someone send the code for connecting with MySql in asp.net. and code for inserting some entry to a table. I have no idea about MySql. Am having an interview on 16th March.They asked me to do with MySql. Please someone help me..

Member Avatar for bhavyajyothinat
0
290
Member Avatar for YHDown

i have a gridview with values and email addresses. it sends emails to the email addresses if it is checked (checkbox). i use arraylist to store the email addresses and the values in the rows as content in email. how to check through the arraylist? if the 1st address is …

0
61
Member Avatar for Dragonbaki

Hi experts.,:) I have tried to send mail using silverlight application and now i am very much tired because of can't get it correctly.... I wrote a Web Service for sending mail as like below. [CODE] using System.Web.Mail; MailMessage msg = new MailMessage(); msg.From = emailFrom; msg.To = emailTo; msg.Subject …

Member Avatar for Dragonbaki
0
140
Member Avatar for sourav_kings

Hello experts, My doubt is pretty simple, I suppose. But still I need assistance. I have a registration form as ASP.NET web form. There are 5-6 fields in it (username, password, email id, sex, country etc. ). I want to enter all the data, entered by a new user in …

Member Avatar for Wegginho
0
130
Member Avatar for arthcarrigan

Hello all, I seem to have a problem, hope if you can help me out. So the application is written in asp.net c#, and its implemented on a win server 2008 R2 iis 7. sql 2008 The server has two network cards, each on a seperate subnet. So that people …

Member Avatar for arthcarrigan
0
147
Member Avatar for rohitmanhas_12

iam working on project in asp.net using c#.... iam getting this error when iam inserting value from form to database... Incorrect syntax near 'nvarchar'. Must declare the scalar variable "@Occupation"... how to remove this error... plz reply...

Member Avatar for Sarama2030
0
1K
Member Avatar for Shantanu88d

I am binding a DataSet objetc as a datasource to my GridView. However i want to omit first column from being displayed. If i write [CODE]GridView1.Columns(0).Visible = False[/CODE] then i get error saying there was some indexing error. How can this be acheived ??? Also a weird thing is that …

Member Avatar for sarifah n
0
201
Member Avatar for YHDown

I have a problem sending emails correctly. Currently the system i am developing sends emails using CDO message. i have a gridview containing the values i need to send in the email(assume value1,value2,value3,...,recipient's email). Once i check the checkboxes located at the last column of the gridview (i placed checkbox …

0
40
Member Avatar for shailaja mohite

Hi, I am create one application in asp.net. I have to use datagrid view in this application. I want to sort Gender. I am use the template field in datagrid view. [CODE] <asp:LinkButton ID="LnkBtnGender" runat="server" CommandName="Sort" CommandArgument="Gender">Gender</asp:LinkButton> [/CODE] plj help me..

Member Avatar for shailaja mohite
0
103
Member Avatar for scranton

apparently attributes on web controls are automatically partially encoded for example, if you do the following [CODE]System.Web.UI.WebControls.Image img = new System.Web.UI.WebControls.Image(); img.Attributes.Add("whatever","<");[/CODE] you get this in html [CODE]<img whatever="&lt;" />[/CODE] (the < is encoded) but, [CODE]img.Attributes.Add("whatever",">"); [/CODE] results in [CODE]<img whatever=">"/>[/CODE] (the > is not encoded) i dont know why. …

Member Avatar for scranton
0
89
Member Avatar for MaSSaSLaYeR

Hello! I'm trying to find a code to delete multiple columns because when you delete a column the next column takes his place so for example: If you delete column 6 then column 7 becomes column six. I tried the following code with an for loop & a while loop: …

0
95
Member Avatar for minkzzzzzzz

I create website on asp.net, is name ExpenseReport First, I create 'DBConnect' class in App_Code by using namespace ExpenseReport [CODE]using System; using System.Data; using System.Configuration; using System.Collections; using System.Data.SqlClient; namespace ExpenseReport { public partial class DBConnect { private SqlConnection objConn; private SqlCommand objCmd; private SqlTransaction Trans; private String strConnString; private …

Member Avatar for Akash Saikia
0
611
Member Avatar for paresh_thummar

I want to check weather my database contain row or not? and if it contain then i want to delete that row. this process can be done during run time of page.

Member Avatar for Knvn
0
85
Member Avatar for aniperiye

i have a problem. i want to import multiple tables from a same excel sheet to a datalist or more.how can i identify different tables.please help anyone. advance thanks to all.

Member Avatar for aniperiye
0
109
Member Avatar for bmason

This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, …

Member Avatar for Momerath
0
123
Member Avatar for paresh_thummar

I got error invalid column 'A1009' string v11; chk1 = "select Sno from Student where SID = "+ @smemno.Text.ToString(); SqlCommand ck1 = new SqlCommand(chk1, cn); [COLOR="Red"]v11 = (string)ck1.ExecuteScalar();[/COLOR] what should i do please help me....

Member Avatar for Momerath
0
82
Member Avatar for darshini.dayal

[code] <% if (this._arr_design.Count > 0) { %> <% foreach (Ameronix.Teeone.Models.Design obj_design in this._arr_design) { %> <tr> <td style="width: 254px; height: 27px;"><%= obj_design.name_design.ToString() %> <div class="thumbnails"> <% foreach (System.Collections.Generic.KeyValuePair<int, Ameronix.Teeone.Models.DesignSection> kvp in obj_design.arr_design_section) { %> <div class="thumbnail"><a href="/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg" rel="lightbox"><img src="../resources/get_image.aspx?src=/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg&width=50&height=50" /></a></div> C# …

0
105
Member Avatar for Weppies

Hi Can anyone help me. I need to display the username in the lable of the masterpage. But I also have to show the logo of the business of the user. How should I do this! Regards Weppies

Member Avatar for agileswaran
0
805
Member Avatar for Erickk

Hi pros, I am using CreateUserWizard in my webby, how can i set my password value as username's? I couldnt find any other solution because the password property is read only. thanks in advance

0
57
Member Avatar for paresh_thummar

i want to know weather table contain row which have some value like "987654321"(primary key).

Member Avatar for abelLazm
0
63
Member Avatar for CrazyProgrammer

Hi all, i was wandering if someone good explain to me about clr? what are some advantages or disadvantages of programming c++ with clr, what are the main differences if there are any? If I understand it right clr programming is using the .NET framework, but could someone please give …

Member Avatar for CrazyProgrammer
0
154
Member Avatar for RobertKramers

Hi there, Im getting the error above, when i run my code. [code] string myCommand = "SELECT * FROM Manager WHERE UserName=" + ID; SqlDataAdapter da = new SqlDataAdapter(myCommand, con); DataSet ds = new DataSet(); try { con.Open(); da.Fill(ds); [B]// <- highlighting this part of the code..[/B] } finally { …

Member Avatar for samuelmac
0
3K
Member Avatar for Shantanu88d

Hi all, I have added a template field in a gridview. In that i have added a radio button. I have written a code which will get row Id of GridView of a row which is having a radiobutton on it checked. Through code i am getting even name of …

Member Avatar for Shantanu88d
0
94
Member Avatar for alam14_mist

In attachment I have sent the structure of my website.I have used web configuration file for connection string. How can I publish the website in IIS? Notice : I have never publish asp.net web site. so help me in step by step way. Thanks.

0
49
Member Avatar for xanawa

Hi, I created an image button and i would like to put a bmp image icon i can't figure out how. I putted my icon in the bin and gave the imageURL: Bin\IconRegister.bmp In the interface the picture is shown put when i run the web appliction it does not …

Member Avatar for xanawa
0
76
Member Avatar for pinkygirl

Hello, How to save values of each and every controls to SQL database using CreateUserWizard?

0
64
Member Avatar for Erickk

[CODE]<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <script language="javascript" type="text/javascript"> function run(){ if (document.txtbox.value.length==0){ alert("BLANK"); } } </script> <form name="test" action="javascript<b></b>:void()" method="get"> <input type ="text" name="txtbox" value="" /> <input type ="button" name="btn" value="CLICK" onclick="run()" /> </form> </asp:Content>[/CODE] I'm using masterpage and the above code is on dafault.aspx, I wanted to place some JS …

0
90
Member Avatar for pavankumarr

Hi, I created a new Virtual Directory in Windows Server 2003 . But when i click Browse I'm getting this error: [B] System.Data.SqlClient.SqlException: Invalid object name 'tempdb.dbo.ASPStateTempApplications'. [/B] Can someone please help me to solve this issue. Regards, Pavan Kumar

Member Avatar for pavankumarr
0
202
Member Avatar for amyiee

Hi Guys, I'm new to ASP.NET MVC, so please pardon me if I mentioned wrong terminology on my question I'm trying to create an application for a soccer related application. Right now I'm trying to design database/class structure for my application. However I run into a problem when I'm trying …

0
116

The End.