Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~6K People Reached
Favorite Forums
Favorite Tags

14 Posted Topics

Member Avatar for anudjoe

Hi, Check the availability of the value for the first checkbox before inserting the value into another textbox [CODE] if(textbox1.text!=" ") { textbox2.text=textbox1.text); } [/CODE] All The Best

Member Avatar for Ramesh S
0
180
Member Avatar for sudharani

Hi, try this code protected void btn_clk(object s,eventargs e) { sqlcommand cmd=new sqlcommand("select email from usertable",connectionstring) string email; sqldatareader dr=cmd.executereader(); while(dr.read()) { email=dr[0]; SmtpClient c = new SmtpClient(yourIPAddress); MailAddress addr = new MailAddress(fromaddress); MailAddress add = new MailAddress(email); MailMessage msg = new MailMessage(); msg.To.Add(add); msg.From = addr; msg.IsBodyHtml = true; …

Member Avatar for sudharani
-1
2K
Member Avatar for blackbr

Hi, You can do it using CDO.Message You can generate the report in a seperate file and call the file in CreateMHTMLBody() method. Here is an example CDO.Message msg=new CDO.Message() msg.to= toaddress msg.cc= msg.from= fromaddress msg.subject= msg.CreateMHTMLBody(reportpageurl,CDO.CdoMHTMLFlags.cdoSuppressNone,"",""); msg.send()

Member Avatar for blackbr
0
877
Member Avatar for laghaterohan

Hi, You can directly pass it in the function paranthesis. see the code below <head runat="server"> <title>Untitled Page</title> <script type="text/javascript"> function message(name) { alert("Hello" + name) } </script> </head> In my code behind file : btnok.Attributes.Add("Onclick", "message(textbox1.text);");

Member Avatar for laghaterohan
0
112
Member Avatar for rojina

Hi, To send an sms u have to use a sms gateway just as we use payment gateway in shopping cat application. regards

Member Avatar for praveenkumarm
0
51
Member Avatar for saj_amo

Hi, What is @class_id? You are trying to pass a value to the sql statement but the variable @class_id does not contain any value. First you have to declare a variable,then initialize it and then you can add it as a parameter to the sql statement. regards

Member Avatar for sknake
0
138
Member Avatar for coollife

Hi, I think you want to implement your application as a three tier architecture. i.e., seperating presentation, business logic and data access Well i can suggest you some other way. first you have created a class called Prod [CODE] public partial class Prod : System.Web.UI.Page { } [/CODE] Now create …

Member Avatar for Ramesh S
0
81
Member Avatar for ismailc

Hi, You can do it using sessions. in the first page add the textbox1 value to a session variable in the onclick event session["tb1"]=textbox1.value; in the second page assign the value in the session variable to textbox2 in Page_Load textbox2.value=session["tb1"]; u dont need to pass the value to the second …

Member Avatar for ismailc
0
877
Member Avatar for sudharani

Hi, You might have stored the name of the customer in the database. Just write a query to fetch the name from the table and add it to the textbox. protected void dropdownlst_selectectchange(object s, evetntargs s) { string str=dropdownlist1.selecteditem.text; string sql="select name from customer where custid="+str; sqlcommand cmd=new sqlcommand(sql,connectionstring) sqldatareader …

Member Avatar for sudharani
0
177
Member Avatar for Haimanti

Hi, You have written a function for e-mail validation in a seperate cs file. You can call the function in the onclick event handler as for suppose your event handler is btnclk then [code=ASP.NET] protected void btnclk(object s,eventargument e) { // create object of cs class bool x=object.ValidateEmailAddress(txtEmail.Text) if(x==yes) { …

Member Avatar for sknake
0
127
Member Avatar for ritu verma

Hi, You can do it using javascript and css. Try this code it might help. <head runat="server"> <title>Untitled Page</title> <style type="text/css" runat="server"> .cs { background-color:Window; } .cs1 { background-color:ButtonFace; } </style> <script type="text/javascript"> function mov() { var btnid= document.getElementById('btn1'); btnid.className='cs'; } function mout() { var btnid= document.getElementById('btn1'); btnid.className='cs1'; } </script> …

Member Avatar for ritu verma
0
2K
Member Avatar for shine_jose

Hi, Your problem can be solved by using sessions. store the value you have entered in the textbox in a session variable and when the master page opens for the second time just insert the valuein the session variable into the text box. I hope this would solve your problem.

Member Avatar for praveenkumarm
0
315
Member Avatar for coollife

Hi, If ur doubt is how to add names to the dropdown list ,To add country names to a dropdown list,there must be a source from which the dropdown list control takes the data.So first the names of the countries should be stored in a database from where they can …

Member Avatar for praveenkumarm
0
66
Member Avatar for praveenkumarm

Hi, i want to play a vedio clip in my web page.ihave added a media player control to the visual studio toolbox using the following procedure. Right click in the toolbox,select Choose items from the drop down,select Com Components tab from the dialog box and then check the corresponding checkbox …

Member Avatar for praveenkumarm
0
121

The End.