Click here to Skip to main content
14,580,516 members

Comments by Siva Hyderabad (Top 200 by date)

Siva Hyderabad 20-Sep-14 1:33am View
   
but same code works in aspx page...and i bind dropdownlist in page load event..I think it may be master page problem?
Siva Hyderabad 20-Sep-14 1:13am View
   
Do not repost same Question...
Siva Hyderabad 21-Aug-14 2:45am View
   
Hello karthik , do you remember me?
busy na?
Siva Hyderabad 5-Aug-14 8:34am View
   
http://www.c-sharpcorner.com/UploadFile/c4cfca/how-to-add-textbox-dynamically-using-javascript-in-Asp-Net/

see this link..
Siva Hyderabad 5-Aug-14 7:19am View
   
Deleted
cool,wait a min
Siva Hyderabad 5-Aug-14 7:05am View
   
if you click on button first time, then it will add two textboxes ,after clicking then it will adding one textbox..
Siva Hyderabad 5-Aug-14 6:01am View
   
hello member10385151? is it working or not?
Siva Hyderabad 5-Aug-14 5:54am View
   
if you click on button, then it will added automatically

Siva Hyderabad 8-Jul-14 5:56am View
   
Thanks,it's working fine..
Siva Hyderabad 30-Jun-14 5:47am View
   
this.refresh()
Siva Hyderabad 24-May-14 9:01am View
   
Deleted
goto website menu in menu bar - > select "Add Reference" -> select System.Configuration -> Click Ok button
Then Configuration Manager added
Siva Hyderabad 20-May-14 2:20am View
   
you should change

GridView1_RowCommand to GridViewDept_RowCommand..
Event is incorrect
Siva Hyderabad 20-May-14 2:17am View
   
You should use
EditItemTemplate

<asp:TemplateField HeaderText="Amount Received" ItemStyle-HorizontalAlign="Center">
<edititemtemplate>
<asp:TextBox runat="server" ID="txt_amtrec" Width="90px" onkeypress="return validatenumerics(event)">
<asp:RequiredFieldValidator ID="RFVrecdate1" runat="server" ControlToValidate="txt_amtrec"
Display="None" ErrorMessage="Must Enter Received Amount" ValidationGroup="duereport">
<asp:ValidatorCalloutExtender ID="VCErecdate1" runat="Server" TargetControlID="RFVrecdate1" />

Siva Hyderabad 9-May-14 4:54am View
   
what have you tried so far?where you struck,post your code?
Siva Hyderabad 2-May-14 8:20am View
   
Deleted
hello...cheppu
Siva Hyderabad 2-May-14 7:39am View
   
Deleted
vachindi
Siva Hyderabad 2-May-14 7:39am View
   
Deleted
chusanu...
Siva Hyderabad 2-May-14 7:34am View
   
Deleted
what a technology.. i know..nenu check chesanu oka sari..adi naku teliyadu..na number vijayawada lo tesukkunna..
Siva Hyderabad 2-May-14 7:32am View
   
Deleted
office lo..i mean madhapur lo.
Siva Hyderabad 2-May-14 7:30am View
   
Deleted
call this number now..
040 - 40247347
company name:Enliven Infotech
Address :H. No: 8-3-119/B/8, Srinagar Colony,
Hyderabad: 500073. Andhra Pradesh, INDIA.
Siva Hyderabad 2-May-14 7:27am View
   
Deleted
dont post your number in this..you just give missed call
Siva Hyderabad 2-May-14 7:25am View
   
Deleted
dont think negative..it's good for better communication for you..dont mis understanding
Siva Hyderabad 2-May-14 7:22am View
   
Deleted
ne phone esthey bagumtmdi anukumta
Siva Hyderabad 2-May-14 7:18am View
   
Deleted
hm..book meda kuda rasukunna..nuv
Siva Hyderabad 2-May-14 7:15am View
   
Deleted
nenu 2012 passed out.. i completed M.Sc computer
Siva Hyderabad 2-May-14 7:13am View
   
Deleted
k,k.see..nenu neku eppincheysthanu ani mathram cheppanu..but neku job ravataniki matharam help chestha..ela prepare avvvvvvvali ..emti ani
Siva Hyderabad 2-May-14 7:08am View
   
Deleted
u know telugu
Siva Hyderabad 2-May-14 7:00am View
   
Deleted
sure..k,k..this is my number 9492971434
Siva Hyderabad 2-May-14 6:58am View
   
Deleted
ne message pakkana right side lo cross symbol umdi chudu
Siva Hyderabad 2-May-14 6:55am View
   
Deleted
k,k..i am at Peers Tech
Siva Hyderabad 2-May-14 6:52am View
   
Deleted
delete all convesation
Siva Hyderabad 2-May-14 6:50am View
   
Deleted
where u learn your course
Siva Hyderabad 2-May-14 6:47am View
   
Deleted
i am so existed..
Siva Hyderabad 2-May-14 6:46am View
   
Deleted
i stayed at s r nagar..
Siva Hyderabad 2-May-14 6:42am View
   
Deleted
hello ,are u there
Siva Hyderabad 2-May-14 6:41am View
   
Deleted
you dont worry.i will help you
Siva Hyderabad 2-May-14 6:39am View
   
Deleted
where are you now?
Siva Hyderabad 2-May-14 6:37am View
   
Deleted
k,k..are u complete ur dotnet course ..q
Siva Hyderabad 2-May-14 6:33am View
   
Deleted
what's ur qualification?
Siva Hyderabad 2-May-14 6:33am View
   
Deleted
present we dont have any openings
Siva Hyderabad 2-May-14 6:30am View
   
Deleted
i am working at madhapur in KJLGROUP company...
Siva Hyderabad 2-May-14 6:28am View
   
Deleted
k,k...we add this at master page..
Siva Hyderabad 2-May-14 6:26am View
   
Deleted
yes,you
Siva Hyderabad 2-May-14 6:09am View
   
Deleted
where are you from ?
Siva Hyderabad 2-May-14 6:08am View
   
Deleted
how to install toolkit..which steps you follow.
Siva Hyderabad 2-May-14 5:37am View
   
Deleted
hello Member 10787362,what happend...problem solved or not
Siva Hyderabad 2-May-14 5:17am View
   
Deleted
we add like this...
I think ,your problem should be downloading Ajax client side control .dll file..
Siva Hyderabad 2-May-14 5:15am View
   
Deleted
<asp:TextBox ID="txtdate" runat="server" Width="115px">  <br>
   <br>
<asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtdate"<br>
Format="dd/MM/yyyy" Enabled="True" />
Siva Hyderabad 2-May-14 5:10am View
   
Deleted
k,k...are you using first time ajax control
Siva Hyderabad 2-May-14 5:02am View
   
Deleted
you forget this line..
/asp:content
Siva Hyderabad 2-May-14 4:54am View
   
Deleted
Now copy and paste this code <br><br>
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SalesOrder.aspx.cs" Inherits="SalesOrder" %><br><br>
 <br><br>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %><br><br>
 <br><br>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"><br><br>
<script type="text/javascript" language="javascript"><br><br>
function GetTotal() {<br><br>
var val1 = document.getElementById('<%=txtq.ClientID%>').value;<br><br>
var val2 = document.getElementById('<%=txtp.ClientID%>').value;<br><br>
if (val1 != "" && val2 != "") {<br><br>
document.getElementById('<%=txttotal.ClientID%>').value = val1 * val2;<br><br>
}<br><br>
} <br><br>
</script><br><br>
<style type="text/css"><br><br>
.style9 {<br><br>
height: 34px;<br><br>
}<br><br>
</style><br><br>


// You forget this end "asp:content" tag..
Siva Hyderabad 2-May-14 4:46am View
   
Deleted
add this line after <%@ Page %> tag
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
Siva Hyderabad 2-May-14 4:30am View
   
Deleted
next steps you need to follow these instruction from this site...
http://www.aspdotnet-suresh.com/2011/11/how-to-install-ajax-control-toolkit-in.html
Siva Hyderabad 2-May-14 4:27am View
   
Deleted
if you want ajax Calender control ..you must download the AjaxToolKit.dll file from this
https://ajaxcontroltoolkit.codeplex.com/releases/view/116091
Siva Hyderabad 28-Apr-14 0:59am View
   
Gridview has properities like..<br>
Widht = "200px" Height = "200px" ..
Siva Hyderabad 26-Apr-14 0:32am View
   
download ajaxtoolkitcontrol from this site
http://ajaxcontroltoolkit.codeplex.com/

after add all Ajax Client side Controls from this site..

http://www.aspdotnet-suresh.com/2011/11/how-to-install-ajax-control-toolkit-in.html
Siva Hyderabad 25-Apr-14 2:23am View
   
Deleted
function printwindow() {
document.getElementById('<%=lnkprint.ClientID%>').style.visibility = "hidden";
document.getElementById('<%=lnkExport.ClientID%>').style.visibility = "hidden";

window.print();
document.getElementById('<%=lnkprint.ClientID%>').style.visibility = "visible";
document.getElementById('<%=lnkExport.ClientID%>').style.visibility = "visible";


}

<table width="70%" class="table2" align="center">
<tr>
<td align="right">
<asp:LinkButton ID="lnkExport" runat="server" Text="Export to Excel" ForeColor="Blue"
OnClick="lnkExport_Click" />  
<asp:LinkButton ID="lnkprint" runat="server" Text="Print" OnClientClick="printwindow();"
ForeColor="Blue" />
</td>
</tr>
<tr>
<td align="center">
<div id="divbirdtal" runat="server">
</div>
</td>
</tr>
</table>
Siva Hyderabad 25-Apr-14 2:23am View
   
TxtCollegeName.Text = dt.Rows[0]["collegename"].ToString();
Txtaddress.Text = dt.Rows[0]["address"].ToString();

string completeaddress = TxtCollegeName.text+''+Txtaddress.Text
Siva Hyderabad 22-Apr-14 3:42am View
   
You can't append a query string in Server.Transfer.
You can pass values in Context
Eg:
Context.Items["ParamName"] = value;
Siva Hyderabad 22-Apr-14 2:41am View
   
hi,thanks jas,i updated with new link
Siva Hyderabad 21-Apr-14 7:09am View
   
what happend...is there any error palagiri
Siva Hyderabad 21-Apr-14 7:02am View
   
else condition insert statement here..
String strInsert = "insert into ProductDetailsTable(Categories,C
ProductDetailsTable(Categories,CategoriesType,Title,Description,Price,State,City,ContactName,ContactEmail,ContactMobile,ContactPhoto,ContactedViaEmail,ContactedViaMobile,DateAdded)values('" + lblEducation.Text + "','" + ddlCategoryType.Text + "','" + txtTitle.Text + "','" + txtDescription.Text + "','" + txtPrice.Text + "','" + ddlState.SelectedItem.Text + "','" + ddlCity.SelectedItem.Text + "','" + txtContactName.Text + "','" + txtContactEmail.Text + "','" + txtContactMobile.Text.Trim() == "" ? null : txtContactMobile.Text.Trim(); +"','" + txtContactedViaEmail.Text + "','" + txtContactedViaMobile.Text.Trim() == "" ? null : txtContactedViaMobile.Text.Trim(); +"','" + lblDateTime.Text + "')";
Siva Hyderabad 21-Apr-14 7:00am View
   
if condition insert statement here..I modified error here
String strInsert = "insert into
ProductDetailsTable(Categories,CategoriesType,Title,Description,Price,State,City,ContactName,ContactEmail,ContactMobile,ContactPhoto,ContactedViaEmail,ContactedViaMobile,DateAdded)values('" + lblEducation.Text + "','" + ddlCategoryType.Text + "','" + txtTitle.Text + "','" + txtDescription.Text + "','" + txtPrice.Text + "','" + ddlState.SelectedItem.Text + "','" + ddlCity.SelectedItem.Text + "','" + txtContactName.Text + "','" + txtContactEmail.Text + "','" + txtContactMobile.Text.Trim() == "" ? null : txtContactMobile.Text.Trim(); +"','" + txtContactedViaEmail.Text + "','" + txtContactedViaMobile.Text.Trim() == "" ? null : txtContactedViaMobile.Text.Trim(); +"','" + lblDateTime.Text + "')";
Siva Hyderabad 21-Apr-14 6:56am View
   
wait
Siva Hyderabad 21-Apr-14 6:48am View
   
these are insert query lines
Siva Hyderabad 21-Apr-14 6:48am View
   
replace this

String strInsert = "insert into ProductDetailsTable(Categories,CategoriesType,Title,Description,Price,State,City,ContactName,ContactEmail,ContactMobile,ContactPhoto,ContactedViaEmail,ContactedViaMobile,DateAdded) values('" + lblEducation.Text + "','" + ddlCategoryType.Text + "','" + txtTitle.Text + "','" + txtDescription.Text + "','" + txtPrice.Text + "','" + ddlState.SelectedItem.Text + "','" + ddlCity.SelectedItem.Text + "','" + txtContactName.Text + "','" + txtContactEmail.Text + "','" + txtContactMobile.Text.Trim() == "" ? null : txtContactMobile.Text.Trim(); +"','" + strimage + "','" + txtContactedViaEmail.Text + "','" + txtContactedViaMobile.Text.Trim() == "" ? null : txtContactedViaMobile.Text.Trim(); +"','" + lblDateTime.Text + "')";

and

String strInsert = "insert into ProductDetailsTable(Categories,CategoriesType,Title,Description,Price,State,City,ContactName,ContactEmail,ContactMobile,ContactPhoto,ContactedViaEmail,ContactedViaMobile,DateAdded)values('" + lblEducation.Text + "','" + ddlCategoryType.Text + "','" + txtTitle.Text + "','" + txtDescription.Text + "','" + txtPrice.Text + "','" + ddlState.SelectedItem.Text + "','" + ddlCity.SelectedItem.Text + "','" + txtContactName.Text + "','" + txtContactEmail.Text + "','" + txtContactMobile.Text.Trim() == "" ? null : txtContactMobile.Text.Trim(); +"','" + strimage + "','" + txtContactedViaEmail.Text + "','" + txtContactedViaMobile.Text.Trim() == "" ? null : txtContactedViaMobile.Text.Trim(); +"','" + lblDateTime.Text + "')";
Siva Hyderabad 21-Apr-14 6:45am View
   
you just copy above two lines
Siva Hyderabad 21-Apr-14 6:01am View
   
else condition

String strInsert = "insert into ProductDetailsTable(Categories,CategoriesType,Title,Description,Price,State,City,ContactName,ContactEmail,ContactMobile,ContactPhoto,ContactedViaEmail,ContactedViaMobile,DateAdded)values('" + lblEducation.Text + "','" + ddlCategoryType.Text + "','" + txtTitle.Text + "','" + txtDescription.Text + "','" + txtPrice.Text + "','" + ddlState.SelectedItem.Text + "','" + ddlCity.SelectedItem.Text + "','" + txtContactName.Text + "','" + txtContactEmail.Text + "','" + txtContactMobile.Text.Trim() == "" ? null : txtContactMobile.Text.Trim(); +"','" + strimage + "','" + txtContactedViaEmail.Text + "','" + txtContactedViaMobile.Text.Trim() == "" ? null : txtContactedViaMobile.Text.Trim(); +"','" + lblDateTime.Text + "')";
Siva Hyderabad 21-Apr-14 6:01am View
   
if condition
String strInsert = "insert into ProductDetailsTable(Categories,CategoriesType,Title,Description,Price,State,City,ContactName,ContactEmail,ContactMobile,ContactPhoto,ContactedViaEmail,ContactedViaMobile,DateAdded) values('" + lblEducation.Text + "','" + ddlCategoryType.Text + "','" + txtTitle.Text + "','" + txtDescription.Text + "','" + txtPrice.Text + "','" + ddlState.SelectedItem.Text + "','" + ddlCity.SelectedItem.Text + "','" + txtContactName.Text + "','" + txtContactEmail.Text + "','" + txtContactMobile.Text.Trim() == "" ? null : txtContactMobile.Text.Trim(); +"','" + strimage + "','" + txtContactedViaEmail.Text + "','" + txtContactedViaMobile.Text.Trim() == "" ? null : txtContactedViaMobile.Text.Trim(); +"','" + lblDateTime.Text + "')";

You just changed this line
Siva Hyderabad 21-Apr-14 5:57am View
   
Deleted
Now Paste this code as it is button click
if (FileUpload1.PostedFile.ContentLength != 0 && ddlState.SelectedItem.Text != "Select State" && ddlCity.SelectedItem.Text != "Select City")
{
string strimage = @"~\ProductImage\" + FileUpload1.FileName;
FileUpload1.PostedFile.SaveAs(Server.MapPath(strimage));
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["DBCONNECTION"].ConnectionString);
String strInsert = "insert into ProductDetailsTable(Categories,CategoriesType,Title,Description,Price,State,City,ContactName,ContactEmail,ContactMobile,ContactPhoto,ContactedViaEmail,ContactedViaMobile,DateAdded) values('" + lblEducation.Text + "','" + ddlCategoryType.Text + "','" + txtTitle.Text + "','" + txtDescription.Text + "','" + txtPrice.Text + "','" + ddlState.SelectedItem.Text + "','" + ddlCity.SelectedItem.Text + "','" + txtContactName.Text + "','" + txtContactEmail.Text + "','" + txtContactMobile.Text.Trim() == "" ? null : txtContactMobile.Text.Trim(); +"','" + strimage + "','" + txtContactedViaEmail.Text + "','" + txtContactedViaMobile.Text.Trim() == "" ? null : txtContactedViaMobile.Text.Trim(); +"','" + lblDateTime.Text + "')";
SqlCommand cmd = new SqlCommand(strInsert, con);


try
{
con.Open();
cmd.ExecuteNonQuery();
Thread.Sleep(3000);
ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Your Add has been Posted Successfully goto to Home and check')", true);
//lblDisplay.Text = "Your Add has been Posted Successfully";
}
catch (SqlException ex)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Select State/City')", true);
string errorMessage = "Error in entering competition";
errorMessage += ex.Message;
throw new Exception(errorMessage);
}
finally
{
con.Close();
}
Clear();
}
else
{
string strimage = "NoImage.jpg";
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["DBCONNECTION"].ConnectionString);
String strInsert = "insert into ProductDetailsTable(Categories,CategoriesType,Title,Description,Price,State,City,ContactName,ContactEmail,ContactMobile,ContactPhoto,ContactedViaEmail,ContactedViaMobile,DateAdded)values('" + lblEducation.Text + "','" + ddlCategoryType.Text + "','" + txtTitle.Text + "','" + txtDescription.Text + "','" + txtPrice.Text + "','" + ddlState.SelectedItem.Text + "','" + ddlCity.SelectedItem.Text + "','" + txtContactName.Text + "','" + txtContactEmail.Text + "','" + txtContactMobile.Text.Trim() == "" ? null : txtContactMobile.Text.Trim(); +"','" + strimage + "','" + txtContactedViaEmail.Text + "','" + txtContactedViaMobile.Text.Trim() == "" ? null : txtContactedViaMobile.Text.Trim(); +"','" + lblDateTime.Text + "')";
SqlCommand cmd = new SqlCommand(strInsert, con);
try
{
con.Open();
cmd.ExecuteNonQuery();
Thread.Sleep(3000);
ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Your Add has been Posted Successfully goto to Home and check')", true);
//lblDisplay.Text = "Your Add has been Posted Successfully";
}
catch (SqlException ex)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Select State/City')", true);
string errorMessage = "Error in entering competition";
er
Siva Hyderabad 21-Apr-14 5:29am View
   
first send me your button click logic
Siva Hyderabad 15-Apr-14 9:14am View
   
Firstly ,What have You tried so far?
Siva Hyderabad 15-Apr-14 7:55am View
   
http://jsfiddle.net/jomanlk/JJh9z/1/

check this link once..

SambasivaRaoG
Siva Hyderabad 15-Apr-14 2:31am View
   
change this
protected void Recentinternship()
{
SqlConnection con = new SqlConnection("Data Source=jayraj-pc\\sqlexpress;Initial Catalog=Internship;Integrated Security=True;Pooling=False");
con.Open();
string str = "select B.CompanyLogo as ' ',A.Title,A.InternshipStartDate,A.ApplicationDeadline,A.Duration,A.InternshipCity,A.Category,A.Stipend,A.InternshipID,A.Degree,A.Branch,A.CompanyID,A.Title,A.CompanyName from Internship AS A INNER JOIN Companies AS B ON A.CompanyID=B.CompanyID ";
// SqlCommand cmd = new SqlCommand(str, con);
SqlDataAdapter da = new SqlDataAdapter(str,con);
DataSet ds = new DataSet();
da.fill(ds,"0");

// SqlDataReader dr = cmd.ExecuteReader();

GridView2.DataSource = ds.Table["0"].ToString();
GridView2.DataBind();
//GridView2.BottomPagerRow.Visible = true;


dr.Close();

con.Close();

}
Siva Hyderabad 15-Apr-14 1:47am View
   
once debug your code..it is fired or not...other wise, remove the code...once again add onpageindexchanging event by using gridview properity,event option..
Siva Hyderabad 7-Apr-14 3:17am View
   
could you provide your code.for more clarification
Siva Hyderabad 4-Apr-14 4:57am View
   
panel property visible true or false using java script
http://stackoverflow.com/questions/16635285/setting-a-panel-to-visible-using-javascript
Siva Hyderabad 4-Apr-14 3:43am View
   
This line also
id='txt'
Siva Hyderabad 4-Apr-14 3:42am View
   
every control should be contains different ID's
change
la.ID = "abc1" , la.ID = "abc2" , la.ID = "abc3"
Siva Hyderabad 4-Apr-14 3:31am View
   
+5
Siva Hyderabad 4-Apr-14 3:19am View
   
+4
Siva Hyderabad 4-Apr-14 2:33am View
   
what have you tried so far ?
Siva Hyderabad 29-Mar-14 5:36am View
   
you can also mention Datakeynames
int ID = Convert.ToInt32(gvproducts.DataKeys[e.RowIndex].Values[0].ToString());
Siva Hyderabad 29-Mar-14 5:25am View
   
Try this]
select * from Table where Column1=1 and Column2=1 and Column3=1
Siva Hyderabad 29-Mar-14 1:55am View
   
if you're using SQL Server 2005 use varchar(MAX). Text datatype is deprecated and should not be used for new development work.
Siva Hyderabad 29-Mar-14 1:51am View
   
update tbl_assigntask set [time]='12:00:00 PM' where id=38

time should be datatype varchar(50) or not?
Siva Hyderabad 27-Mar-14 8:42am View
   
I think , You need back up the table ?yes?
Siva Hyderabad 26-Mar-14 5:37am View
   
I think, Your code in debugging state, or You are not saved file data...First Build the project,and place a debug point at required position..
Siva Hyderabad 22-Mar-14 6:37am View
   
CREATE TABLE tbl_MonthName
(
[ID] INT,
[MONTH_NAME] VARCHAR(50)
)
GO

INSERT INTO tbl_MonthName
SELECT 1, N'January' UNION ALL
SELECT 2, N'February' UNION ALL
SELECT 3, N'March' UNION ALL
SELECT 4, N'April' UNION ALL
SELECT 5, N'May' UNION ALL
SELECT 6, N'June' UNION ALL
SELECT 7, N'July' UNION ALL
SELECT 8, N'August' UNION ALL
SELECT 9, N'September' UNION ALL
SELECT 10, N'October' UNION ALL
SELECT 11, N'November' UNION ALL
SELECT 12, N'December'
GO

SELECT * FROM tbl_MonthName
GO
Siva Hyderabad 22-Mar-14 6:20am View
   
Deleted
ALTER PROCEDURE [dbo].[k_RT_GetListNew]
@status int

AS
BEGIN
--HRM

SET NOCOUNT ON;
if(@status=1)
begin
select sno,Bookname from K_RT_DCNoBook order by bookname
end


else if(@status=2)
begin
select productname,sno from K_RT_MiscellaneousProducts order by productname
end
Siva Hyderabad 22-Mar-14 3:30am View
   
<connectionstrings>
<add name="KJLDB" connectionstring="Data Source=192.168.15.20;Initial Catalog=Test-sambasivarao;Persist Security Info=True;User ID=sambasivarao;Password=ashokkumar" providername="System.Data.SqlClient">
Siva Hyderabad 22-Mar-14 3:29am View
   
Deleted
<connectionstrings>
<add name="KJLDB" connectionstring="Data Source=192.168.15.20;Initial Catalog=Test-sambasivarao;Persist Security Info=True;User ID=sambasivarao;Password=ashokkumar" providername="System.Data.SqlClient">
Siva Hyderabad 22-Mar-14 3:28am View
   
Deleted
<connectionstrings>
<add name="KJLDB" connectionstring="Data Source=192.168.15.20;Initial Catalog=Test-sambasivarao;Persist Security Info=True;User ID=sambasivarao;Password=ashokkumar" providername="System.Data.SqlClient">
Siva Hyderabad 22-Mar-14 3:25am View
   
hi
Siva Hyderabad 20-Mar-14 9:53am View
   
<add name="KJLDB" connectionstring="Data Source=192.168.15.20;Initial Catalog=Test-sambasivarao;Persist Security Info=True;User ID=sambasivarao;Password=ashokkumar" providername="System.Data.SqlClient">
Siva Hyderabad 20-Mar-14 7:01am View
   
public static void FillDataset(SqlConnection connection, CommandType commandType, string commandText, DataSet dataSet, string[] tableNames);
public static void FillDataset(SqlConnection connection, string spName, DataSet dataSet, string[] tableNames, params object[] parameterValues);
public static void FillDataset(SqlTransaction transaction, CommandType commandType, string commandText, DataSet dataSet, string[] tableNames);
public static void FillDataset(SqlTransaction transaction, string spName, DataSet dataSet, string[] tableNames, params object[] parameterValues);
public static void FillDataset(string connectionString, CommandType commandType, string commandText, DataSet dataSet, string[] tableNames);
public static void FillDataset(string connectionString, string spName, DataSet dataSet, string[] tableNames, params object[] parameterValues);
public static void FillDataset(SqlConnection connection, CommandType commandType, string commandText, DataSet dataSet, string[] tableNames, params SqlParameter[] commandParameters);
public static void FillDataset(SqlTransaction transaction, CommandType commandType, string commandText, DataSet dataSet, string[] tableNames, params SqlParameter[] commandParameters);
public static void FillDataset(string connectionString, CommandType commandType, string commandText, DataSet dataSet, string[] tableNames, params SqlParameter[] commandParameters);
public static void UpdateDataset(SqlCommand insertCommand, SqlCommand deleteCommand, SqlCommand updateCommand, DataSet dataSet, string tableName);
Siva Hyderabad 20-Mar-14 6:57am View
   
Deleted
public static SqlDataReader ExecuteReader(string connectionString, CommandType commandType, string commandText);
public static SqlDataReader ExecuteReader(string connectionString, string spName, params object[] parameterValues);
public static SqlDataReader ExecuteReader(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static SqlDataReader ExecuteReader(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static SqlDataReader ExecuteReader(string connectionString, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static SqlDataReader ExecuteReaderTypedParams(SqlConnection connection, string spName, DataRow dataRow);
public static SqlDataReader ExecuteReaderTypedParams(SqlTransaction transaction, string spName, DataRow dataRow);
public static SqlDataReader ExecuteReaderTypedParams(string connectionString, string spName, DataRow dataRow);
public static object ExecuteScalar(SqlConnection connection, CommandType commandType, string commandText);
public static object ExecuteScalar(SqlConnection connection, string spName, params object[] parameterValues);
public static object ExecuteScalar(SqlTransaction transaction, CommandType commandType, string commandText);
public static object ExecuteScalar(SqlTransaction transaction, string spName, params object[] parameterValues);
public static object ExecuteScalar(string connectionString, CommandType commandType, string commandText);
public static object ExecuteScalar(string connectionString, string spName, params object[] parameterValues);
public static object ExecuteScalar(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static object ExecuteScalar(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static object ExecuteScalar(string connectionString, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static object ExecuteScalarTypedParams(SqlConnection connection, string spName, DataRow dataRow);
public static object ExecuteScalarTypedParams(SqlTransaction transaction, string spName, DataRow dataRow);
public static object ExecuteScalarTypedParams(string connectionString, string spName, DataRow dataRow);
public static XmlReader ExecuteXmlReader(SqlConnection connection, CommandType commandType, string commandText);
public static XmlReader ExecuteXmlReader(SqlConnection connection, string spName, params object[] parameterValues);
public static XmlReader ExecuteXmlReader(SqlTransaction transaction, CommandType commandType, string commandText);
public static XmlReader ExecuteXmlReader(SqlTransaction transaction, string spName, params object[] parameterValues);
public static XmlReader ExecuteXmlReader(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static XmlReader ExecuteXmlReader(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static XmlReader ExecuteXmlReaderTypedParams(SqlConnection connection, string spName, DataRow dataRow);
public static XmlReader ExecuteXmlReaderTypedParams(SqlTransaction transaction, string spName, DataRow dataRow);
Siva Hyderabad 20-Mar-14 6:51am View
   
Deleted
see this code..
using System;
using System.Data;
using System.Data.SqlClient;
using System.Xml;

namespace Microsoft.ApplicationBlocks.Data
{
public sealed class SqlHelper
{
public static SqlCommand CreateCommand(SqlConnection connection, string spName, params string[] sourceColumns);
public static DataSet ExecuteDataset(SqlConnection connection, CommandType commandType, string commandText);
public static DataSet ExecuteDataset(SqlConnection connection, string spName, params object[] parameterValues);
public static DataSet ExecuteDataset(SqlTransaction transaction, CommandType commandType, string commandText);
public static DataSet ExecuteDataset(SqlTransaction transaction, string spName, params object[] parameterValues);
public static DataSet ExecuteDataset(string connectionString, CommandType commandType, string commandText);
public static DataSet ExecuteDataset(string connectionString, string spName, params object[] parameterValues);
public static DataSet ExecuteDataset(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static DataSet ExecuteDataset(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static DataSet ExecuteDataset(string connectionString, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static DataSet ExecuteDatasetTypedParams(SqlConnection connection, string spName, DataRow dataRow);
public static DataSet ExecuteDatasetTypedParams(SqlTransaction transaction, string spName, DataRow dataRow);
public static DataSet ExecuteDatasetTypedParams(string connectionString, string spName, DataRow dataRow);
public static int ExecuteNonQuery(SqlConnection connection, CommandType commandType, string commandText);
public static int ExecuteNonQuery(SqlConnection connection, string spName, params object[] parameterValues);
public static int ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, string commandText);
public static int ExecuteNonQuery(SqlTransaction transaction, string spName, params object[] parameterValues);
public static int ExecuteNonQuery(string connectionString, CommandType commandType, string commandText);
public static int ExecuteNonQuery(string connectionString, string spName, params object[] parameterValues);
public static int ExecuteNonQuery(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static int ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static int ExecuteNonQuery(string connectionString, CommandType commandType, string commandText, params SqlParameter[] commandParameters);
public static int ExecuteNonQueryTypedParams(SqlConnection connection, string spName, DataRow dataRow);
public static int ExecuteNonQueryTypedParams(SqlTransaction transaction, string spName, DataRow dataRow);
public static int ExecuteNonQueryTypedParams(string connectionString, string spName, DataRow dataRow);
public static SqlDataReader ExecuteReader(SqlConnection connection, CommandType commandType, string commandText);
public static SqlDataReader ExecuteReader(SqlConnection connection, string spName, params object[] parameterValues);
public static SqlDataReader ExecuteReader(SqlTransaction transaction, CommandType commandType, string commandText);
public static SqlDataReader ExecuteReader(SqlTransaction transaction, string spName, params object[] parameterValues);
public static SqlDataReader ExecuteReader(string connectionString, CommandType commandType, string commandText);
public static SqlDataReader ExecuteRead
Siva Hyderabad 20-Mar-14 6:44am View
   
Deleted
Getconnection.cs page in DataAccessLayer

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Configuration;


namespace DataAccessLayer
{
public class GetConnection
{
#region Member Variables

string connectionString = ConfigurationManager.ConnectionStrings["KJLDB"].ConnectionString;
#endregion

#region Helper methods & properties
public SqlConnection GetSqlConnection()
{
return new SqlConnection(ConnectionString);
}

public string ConnectionString
{

get
{
return connectionString;
}
set
{
connectionString = value;
}
}
#endregion

}
}

-----------


namespace DataAccessLayer
{

public class MyDAL
{
GetConnection con = new GetConnection();



public DataTable getemp()
{
DataTable getemp = new DataTable();
try
{

getemp.Load(SqlHelper1.ExecuteReader(con.ConnectionString,CommandType.StoredProcedure,"K_getemp"));


}
catch (Exception ex)
{

}
finally
{

}
return getemp;
}

}

----------------

Siva Hyderabad 15-Mar-14 5:41am View
   
Deleted
k,k
Siva Hyderabad 15-Mar-14 5:03am View
   
i think ,you are taken primary key column in your table ,that why it's not entered..and after exection of your procedure ,you are calling the ClearControls() method..that's why it cleared.....
Siva Hyderabad 14-Mar-14 8:00am View
   
first ,try once
Siva Hyderabad 14-Mar-14 7:54am View
   
+5
Siva Hyderabad 14-Mar-14 1:30am View
   
Try this..
ScriptManager.RegisterStartupScript(this,this.GetType(), "Javascript", "javascript:OnMOCPageLoad();", true);
Siva Hyderabad 13-Mar-14 9:27am View
   
try this
SqlCommand cmd = new SqlCommand("select * from transactions where account_no='" +Convert.ToInt32( label4.Text) +"'" , connect);
Siva Hyderabad 12-Mar-14 8:28am View
   
do you get any exceptions? errors
Siva Hyderabad 12-Mar-14 4:53am View
   
thanks thatraja
Siva Hyderabad 8-Mar-14 0:04am View
   
Type DATE is not a defined system type. error comes
Siva Hyderabad 5-Mar-14 0:29am View
   
insert Tbl_TextAddsBKP
select * from Tbl_TextAdds where sno = @sno

update Table set ImagePath = @ImagePath ,Price = @Price where sno=@sno
Siva Hyderabad 5-Mar-14 0:20am View
   
@prasad , if you click on duplicate button..then it shows oreginal Database Data..
Now You click on Edit button..Then it's edited Data..Fine..Now Update button is Enable..Yes,
Now You click on Update button Then Updated Data Changed The Original Table with Updation and Changing original Row Data in Another TableBKP.
Siva Hyderabad 4-Mar-14 23:45pm View
   
tell me?
Siva Hyderabad 4-Mar-14 8:57am View
   
try
ddlCountry.SelectedItem.Text
Siva Hyderabad 4-Mar-14 7:59am View
   
first You should search in Google..after try something,You don't any idea or exceptions come to CP...don't ask this type questions with out coading...
Siva Hyderabad 4-Mar-14 7:55am View
   
+4
Siva Hyderabad 4-Mar-14 7:54am View
   
dont call sir to any one ?
Siva Hyderabad 4-Mar-14 7:51am View
   
thanks
Siva Hyderabad 4-Mar-14 7:51am View
   
+5
Siva Hyderabad 4-Mar-14 4:01am View
   
what we do now?
Siva Hyderabad 4-Mar-14 0:51am View
   
try this

mysql> select datediff('2014-03-03', '2014-03-01');
Siva Hyderabad 4-Mar-14 0:46am View
   
http://www.aspdotnet-suresh.com/2013/01/aspnet-download-and-upload-files-to.html

see this link ...firstly You should create Table for that requirement..
Siva Hyderabad 4-Mar-14 0:39am View
   
Deleted
sure,firstly i am not a sir, and you are not my student ..so don't call sir....
Siva Hyderabad 4-Mar-14 0:32am View
   
com.Parameters.AddWithValue("@Contactno", txtContactno.Text);

replace this line with

com.Parameters.AddWithValue("@Contact", txtContactno.Text);
Siva Hyderabad 4-Mar-14 0:18am View
   
try this
private void TextBox_PreviewTextInput(null,null);
Siva Hyderabad 4-Mar-14 0:14am View
   
Deleted
(Name,Emailaddress,Contact,Highestqualification,Specialization,Institutename,Description) values (@Name,@Emailaddress,@Contact,@Highestqualification,@Specialization,@Institutename,@Description)"
;

remove comma after Description
Siva Hyderabad 3-Mar-14 5:05am View
   
In this case you have to use ISNULL() function, so in place of SELECT Table1.Price + Table2.Price + ...
you should use: SELECT ISNULL(Table1.Price, 0)+ ISNULL(Table2.Price,0) + ...
Siva Hyderabad 3-Mar-14 4:43am View
   
hai dave,please help me same requirement i want to shows?
see this link please
http://www.codeproject.com/Questions/737569/download-file-from-ftp-server
Siva Hyderabad 3-Mar-14 4:22am View
   
yes? download file server system,when user click on linkbutton..which i give?present in my code written my server file path..it doesnot take path
Siva Hyderabad 3-Mar-14 4:11am View
   
i tried this..but it checks my system path ex:C:\Users\sambasivarao\Desktop\kkk\Web\RetailAgreement\Madhuranagar.JPG'
Siva Hyderabad 3-Mar-14 0:52am View
   
server
Siva Hyderabad 3-Mar-14 0:46am View
   
how to check my username ,password correct or not?
Siva Hyderabad 3-Mar-14 0:46am View
   
yes,but it shows like this..
Siva Hyderabad 2-Mar-14 23:37pm View
   
hello karthik?
Siva Hyderabad 1-Mar-14 0:46am View
   
+5
Siva Hyderabad 28-Feb-14 23:49pm View
   
good morning brother...here ftp id address ok,now username ,password are application credientials?
Siva Hyderabad 28-Feb-14 7:49am View
   
Download("ftp://sedfe.uwiswAfiPN14s7xVIWxPIA==//wwwroot/Error.txt", @"E://Error.txt");

here i get InvalidURI
Siva Hyderabad 28-Feb-14 7:46am View
   
Download("ftp://sedfe.uwiswAfiPN14s7xVIWxPIA==//wwwroot/Error.txt", @"E://Error.txt");
here i get InvalidURI
Siva Hyderabad 28-Feb-14 7:31am View
   
k,k..but here how to get file
Siva Hyderabad 28-Feb-14 6:58am View
   
+5
Siva Hyderabad 28-Feb-14 6:58am View
   
Deleted
+
Siva Hyderabad 28-Feb-14 4:09am View
   
@"D:\Error.txt"
Siva Hyderabad 28-Feb-14 2:48am View
   
unable cast to file webrequest to ftpwebrequest
Siva Hyderabad 28-Feb-14 2:47am View
   
FtpWebRequest FTP = (FtpWebRequest)FtpWebRequest.Create(FTPFullFileName);
i am geting exception this line
Siva Hyderabad 28-Feb-14 2:19am View
   
thanx bro...i will check now..
Siva Hyderabad 28-Feb-14 2:12am View
   
Deleted
sergey,what we done here,how to download file..
Siva Hyderabad 28-Feb-14 2:10am View
   
internet..when client to download the docx file
Siva Hyderabad 27-Feb-14 23:11pm View
   
good morning
Siva Hyderabad 27-Feb-14 3:08am View
   
i have a doubt?if you free,i will procede to ask a question?
Siva Hyderabad 27-Feb-14 3:04am View
   
busy na?
Siva Hyderabad 27-Feb-14 1:00am View
   
How to download file from server?which steps i required?
Siva Hyderabad 26-Feb-14 23:46pm View
   
check your mail id..i send my task image..if u observed image..u may be get an idea
Siva Hyderabad 26-Feb-14 23:35pm View
   
http://www.codeproject.com/Questions/733899/the-selectedindex-and-selectedvalue-attributes-are see this link
Siva Hyderabad 26-Feb-14 8:41am View
   
we call multiple times ddl selected changed event,so it's binded data
Siva Hyderabad 26-Feb-14 8:38am View
   
databind more than one time
Siva Hyderabad 26-Feb-14 8:35am View
   
yes,dynamically add No:of rows in Dynamic grid..
Siva Hyderabad 26-Feb-14 8:24am View
   
it's not effect the exception?
Siva Hyderabad 26-Feb-14 8:07am View
   
yes,please help me?how to call same postback
Siva Hyderabad 26-Feb-14 8:00am View
   
i am getting exception..my title is an exception..
Multiple times call dropdownlist selected changed event,tha't why i am getting this exception
Siva Hyderabad 26-Feb-14 7:56am View
   
my title is an error
Siva Hyderabad 26-Feb-14 7:53am View
   
ddl1.SelectedIndex = ddl1.Items.Count - 1; this line..
if dynamically adding row,then call SetPreviousData()..In this i called selectedindex changed event –
Siva Hyderabad 26-Feb-14 7:05am View
   
hi karthik,i have a doubt? are u free now?
Siva Hyderabad 26-Feb-14 5:14am View
   
i am using dynamic gridview and it has dropdown list control..this control must be outside dropdown list control selectedindex changed event will be fired..
Siva Hyderabad 26-Feb-14 0:16am View
   
Yes,yor are right...
Siva Hyderabad 24-Feb-14 23:22pm View
   
Deleted
Hai, karthik...how are You...
Siva Hyderabad 24-Feb-14 6:04am View
   
i think ,you got an problem from date conversion
Siva Hyderabad 24-Feb-14 6:03am View
   
http://manish4dotnet.blogspot.in/2013/02/CalculateAgeUsingJavaScript.html
Siva Hyderabad 24-Feb-14 5:45am View
   
why you feel...n taken a long class to me...
Siva Hyderabad 24-Feb-14 2:25am View
   
Mukesh,You are posted the Requirement..if you get any exception or error ..we try to solve your problem...make try to your self..then come back..

see this google refered link once..

https://www.google.co.in/search?q=how+to+send+mail+with+attachment+in+asp.net+using+c%23&rlz=1C1CHMO_en-gbIN555IN555&oq=how+to+send+&aqs=chrome.0.69i59j69i57j69i60j0l2j69i60.4655j0j8&sourceid=chrome&espv=210&es_sm=93&ie=UTF-8
Siva Hyderabad 24-Feb-14 2:17am View
   
post your aspx code?
Siva Hyderabad 22-Feb-14 2:16am View
   
Do you have FTP services installed while you installed IIS? If yes then you can remove it using Server Manager.
Siva Hyderabad 22-Feb-14 1:28am View
   
not clear ..post your code
Siva Hyderabad 21-Feb-14 7:14am View
   
Deleted
http://demo.orangehrmlive.com/symfony/web/index.php/auth/login
Siva Hyderabad 21-Feb-14 7:08am View
   
Deleted
admin username ,password same
Siva Hyderabad 21-Feb-14 7:01am View
   
Deleted
http://demo.orangehrmlive.com/symfony/web/index.php/time/viewEmployeeTimesheet
see this link ..All examples from this site.. and delete all conversation
Siva Hyderabad 21-Feb-14 6:55am View
   
Deleted
see,example site link pamputhanu chudu
Siva Hyderabad 21-Feb-14 6:49am View
   
Deleted
login page ,same page lo chupimchala?
Siva Hyderabad 21-Feb-14 6:48am View
   
Deleted
telugu lo cheppu ra
Siva Hyderabad 21-Feb-14 6:42am View
   
Deleted
http://www.dotnettips4u.com/2013/03/dynamically-creating-text-boxes-using-c.html

see this link
Siva Hyderabad 21-Feb-14 6:40am View
   
Deleted
you want to create Text box dynamically,when button is clicked?
Siva Hyderabad 21-Feb-14 6:33am View
   
Deleted
What is the next step?
Siva Hyderabad 21-Feb-14 6:31am View
   
Deleted
k,fine ..Details are saved Now..waht do you want
Siva Hyderabad 21-Feb-14 6:29am View
   
Deleted
when u click on Registration link then it display the Registration page in this same pagew
Siva Hyderabad 21-Feb-14 6:28am View
   
Deleted
first you fill the login details ,Yes?
Siva Hyderabad 21-Feb-14 6:22am View
   
Deleted
Do Like this..U can easily approached this way
Siva Hyderabad 21-Feb-14 6:05am View
   
Deleted
when div1 is visible,then div2 is invisible mode..
Siva Hyderabad 21-Feb-14 6:05am View
   
Deleted
first You take two div tags..First part in 1 div ,2 part in 2 div tag..which want to display first ..use Visible propertity
Siva Hyderabad 21-Feb-14 5:22am View
   
Deleted
k,You want to display the output same page...Yes?
Siva Hyderabad 21-Feb-14 5:17am View
   
Deleted
Use Server.Transfer("webpagename.aspx");

or

Response.Redirect("webpagename.aspx");
Siva Hyderabad 21-Feb-14 5:11am View
   
Why don't you taken in TemplateField?
Siva Hyderabad 20-Feb-14 7:06am View
   
yes,i checked it..he want all the columns from the below table
Siva Hyderabad 20-Feb-14 2:27am View
   
photo bagumdi ra
Siva Hyderabad 20-Feb-14 1:58am View
   
hai sidhura..busy na?
Siva Hyderabad 19-Feb-14 23:30pm View
   
Deleted
it's comment,don't post in answerw
Siva Hyderabad 19-Feb-14 5:46am View
   
i copied code,but it shows an error..but i will check once again
Siva Hyderabad 19-Feb-14 5:20am View
   
example code from this link
http://jsfiddle.net/bWTwL/1113/
Siva Hyderabad 19-Feb-14 5:18am View
   
<ul>
<li>Home</li>
<li>About Me</li>
</ul>
<div class="panel">
<div class="home">
<span class="close">X</span>

</div>
</div>
Siva Hyderabad 18-Feb-14 6:33am View
   
Deleted
textbox lo already value umdha? or button click chesaka value chupimchala?
Siva Hyderabad 18-Feb-14 6:24am View
   
Deleted
which value ,you want to display ..do you want create textbox dynamically..after pressing button
Siva Hyderabad 18-Feb-14 1:33am View
   
if you want help from CP..You should Tried,if you get any errors or exception ..You can post the question with code,then immediately get the replies from CP members...So post your code..where you struct?
Siva Hyderabad 18-Feb-14 1:26am View
   
what have you tried so far?
Siva Hyderabad 18-Feb-14 0:37am View
   
see friend...you are accepted my answer,but you gave least marks...it's not correct way..if it's really useful..accepted it , other wise leave it..it's not correct ..that's why i deleted my answer