15,896,118 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Sai Prasad anumolu (Top 141 by date)
Sai Prasad anumolu
1-Dec-14 8:04am
View
sovled sir
Sai Prasad anumolu
11-Oct-14 9:59am
View
Thank you it is working
Sai Prasad anumolu
11-Oct-14 9:05am
View
null is comming brother
ObjectRepresentDL = DataAccessDAL();
lbloutputData.Text = ObjectRepresentDL._Message;
Sai Prasad anumolu
11-Oct-14 8:38am
View
SqlCommand cmd = new SqlCommand("InsertEmployeeBioData_SP", con); //This is Insert the All Values From the Tables
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@FirstName", ObjectRepresentDL.FirstName);
cmd.Parameters.AddWithValue("@LastName", ObjectRepresentDL.LastName);
cmd.Parameters.AddWithValue("@Gender", ObjectRepresentDL.Gender);
cmd.Parameters.AddWithValue("@Experience", ObjectRepresentDL.Experience);
cmd.Parameters.AddWithValue("@Designation", ObjectRepresentDL.Designation);
cmd.Parameters.Add("@Message", SqlDbType.VarChar, 500);
cmd.Parameters["@Message"].Direction = ParameterDirection.Output;
string outputValue = cmd.Parameters["@Message"].Value.ToString();
int result= cmd.ExecuteNonQuery();
cmd.Dispose();
con.Close();
return ObjectRepresentDL;
Sai Prasad anumolu
11-Oct-14 8:26am
View
already data is Stored procedure
set @Message='Your Record Inserted Successfully'
SELECT @Message;
This data is in stored procedure
+ My Dataacesslayyer Code is this one ....
cmd.Parameters.Add("@Message", SqlDbType.VarChar, 500);
cmd.Parameters["@Message"].Direction = ParameterDirection.Output;
string outputValue = cmd.Parameters["@Message"].Value.ToString();
int result= cmd.ExecuteNonQuery();
My webpage Code is L this one
lbloutputData.Text = DataAccessDAL();
That @meassage value will display in Labal
Sai Prasad anumolu
11-Oct-14 8:18am
View
Issue means .. how to store the value in Class ?(This is class) + That stored value will call to label.text
label.text= Stored value. I used 3 tier architecture
Sai Prasad anumolu
11-Oct-14 8:07am
View
i already i return return ObjectRepresentDL; This one DAl
Sai Prasad anumolu
11-Oct-14 7:38am
View
I already returned friend
cmd.Parameters.Add("@Message", SqlDbType.VarChar, 500);
cmd.Parameters["@Message"].Direction = ParameterDirection.Output
string outputValue = cmd.Parameters["@Message"].Value.ToString();
This is class DAL .
This is .aspx.cs i want output value is call in label.text How ?
lbloutputData.Text = ObjectRepresentDL.outputValue;
Sai Prasad anumolu
1-Oct-14 6:52am
View
I want to display in UI (24-sept-2014) Like this ... and time is 10:00 PM
Sai Prasad anumolu
1-Oct-14 6:23am
View
thanks you
Sai Prasad anumolu
18-Aug-14 0:01am
View
I used button Logic sir .......
Sai Prasad anumolu
13-Aug-14 2:09am
View
kkk
Sai Prasad anumolu
11-Aug-14 16:15pm
View
kkk Sir ..... I need Update Logic Sir .....How to Update Image? (format is Varbinary(max) in datatable)
Sai Prasad anumolu
10-Aug-14 8:34am
View
kk Thank you(No probelm) i need how retrive and update the image in outline sir ...
Sai Prasad anumolu
10-Aug-14 8:20am
View
Hi sir Give me Your EmailId i will mail you ... I need how to update Logic + when i click one dit button How to data retrive expessly gridview This is my own preparation sir
Sai Prasad anumolu
10-Aug-14 8:17am
View
NOTe: I used Generic Handler method
Sai Prasad anumolu
8-Aug-14 5:31am
View
Display Image + For example I will update or change another image
Sai Prasad anumolu
8-Aug-14 5:17am
View
kkk I put Your code after How to retrieve from givediw or databse view sir ....
Sai Prasad anumolu
8-Aug-14 4:58am
View
I need how to save and Retrieve Image Form Gird view with out generic handler logic sir,
Sai Prasad anumolu
7-Aug-14 7:00am
View
This My code .....Output is Comming ...Please Check Months and Days ....
Sai Prasad anumolu
7-Aug-14 7:00am
View
<script type="text/javascript" language="javascript">
function getAge() {
var dob = document.getElementById("txtDateofBirth").value;//get date of birth ebtered in textbox ID txtDOB
var curdate = new Date(); //get Current date
dob = new Date(Date.parse(dob)); //convert dob to javascript date formate
day = curdate.getDate() - dob.getDate();
month = curdate.getMonth() - dob.getMonth();
year = curdate.getFullYear() - dob.getFullYear();
if (day < 0) {
day = curdate.getDate() + 3 - dob.getDate();
month = curdate.getMonth() - 1 - dob.getMonth();
}
if (month < 0) {
month = curdate.getMonth() + 12 - dob.getMonth();
year = curdate.getFullYear() - 1 - dob.getFullYear();
}
// alert("AGE:" + year + " Years," + month + " Months, " + day + " Days."); //Show age in alert
document.getElementById("lblDateofBirth").innerHTML = year + " Years," + month + " Months, " + day + " Days.";//set it to label
}
<div>
<asp:TextBox ID="txtDateofBirth" onblur="getAge()" runat="server" />
<span id="lblDateofBirth"></span>
<asp:RequiredFieldValidator ID="ReqDatePicker" ErrorMessage="Please Enter Your Date MM/DD" Display="Dynamic" ValidationGroup="v1" SetFocusOnError="true" ForeColor="Red" ControlToValidate="txtDateofBirth" runat="server" />
<asp:Button ID="Btn" Text="Submit" runat="server" />
</div>
Sai Prasad anumolu
7-Aug-14 5:53am
View
Any thing sir i need One example ..... Out put is Like this " 24 years 6 months 8 days "
Sai Prasad anumolu
7-Aug-14 5:01am
View
kk Thanks I need Textbox Selection only ....Can you Provide any code .....Years is displaying ...Months + Days is noth Displaying sir and i will enter Date in text box ..Like 'DD/MM/YYYY' in text box ..after it will display like this format For example : '25/08/1990' 23 years 11 months 17 days
Sai Prasad anumolu
3-Aug-14 2:39am
View
I gave your code ... another is like this
public class _Page_Views_Home_DisplayTable_cshtml : System.Web.Mvc.WebViewPage<List<country>> {
Sai Prasad anumolu
1-Aug-14 2:54am
View
thank you by mistake .....
Sai Prasad anumolu
1-Aug-14 2:51am
View
KK Can u send me sample Logic
Sai Prasad anumolu
30-Jul-14 12:01pm
View
I mean ... In Gird view When i click one Edit button This Saving path is goes to fileupload and After I will change another Image path ...Upper means Above (update button is their) ..when i click on Update Button ( I need Updation)
Sai Prasad anumolu
3-Jul-14 2:53am
View
sloved ...sir
Sai Prasad anumolu
12-Jun-14 3:00am
View
Class name ......
Sai Prasad anumolu
22-Apr-14 8:41am
View
if (!IsPostBack)
{
txtFromdate.Text = DateTime.Now.ToUniversalTime().AddMinutes(DateTime.Now.Subtract(DateTime.Now.ToUniversalTime()).TotalMinutes).ToString("dd/MM/yyyy");
txtTodate.Text = DateTime.Now.ToUniversalTime().AddMinutes(DateTime.Now.Subtract(DateTime.Now.ToUniversalTime()).TotalMinutes).ToString("dd/MM/yyyy");
}
Sai Prasad anumolu
22-Apr-14 8:41am
View
try
{
IFormatProvider provider = new System.Globalization.CultureInfo("en-CA", true);
String datefromtime = txtFromdate.Text.Trim();
String datetotime = txtTodate.Text.Trim();
DateTime dtf = DateTime.Parse(datefromtime, provider, System.Globalization.DateTimeStyles.NoCurrentDateDefault);
DateTime dtt = DateTime.Parse(datetotime, provider, System.Globalization.DateTimeStyles.NoCurrentDateDefault);
ScriptManager.RegisterClientScriptBlock(imgclick, this.GetType(), "Open", "window.open('BreederReportPrint.aspx?fromdate=" + dtf + "&todate=" + dtt + "&type=" + "todate" + "&batchno=" + ddlbatchno.SelectedValue.ToString() + "&type=" + "batchno" + "&source=" + ddlSourcetype.SelectedValue.ToString() + "&type=" + "source" + "', '_blank', 'dependent,resizable=yes,scrollbars=yes,top=0,height=600');", true);
}
catch (Exception ex)
{
Log(ex.Message, ex.StackTrace);
ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "Exception Message", "alert('You have an exception,please consult IT department')", true);
}
Sai Prasad anumolu
19-Apr-14 6:21am
View
Deleted
DataTable dtfeed = new DataTable();
IFormatProvider provider = new System.Globalization.CultureInfo("en-CA", true);
String datetime = txtdate.Text.Trim();
objFeedRetPL.requestdate = DateTime.Parse(datetime, provider, System.Globalization.DateTimeStyles.NoCurrentDateDefault);
Sai Prasad anumolu
19-Apr-14 5:55am
View
Deleted
var ddlname1 = document.getElementById('<%=ddlname.ClientID%>');
var ddlitem = ddlname1.options[ddlname1.selectedIndex].value;
if (ddlitem == 0) {
alert("Please select name.");
return false;
}
Sai Prasad anumolu
5-Apr-14 8:05am
View
I saved you tube link in Database .....I taken from database ....
My code is working but ...Video Preview is not coming
Sai Prasad anumolu
5-Apr-14 7:45am
View
#Document <html><head></head><body></body></html> .. this one displaying . when i clicked inspect element
Sai Prasad anumolu
5-Apr-14 7:38am
View
yes ....You tube video link preview
Sai Prasad anumolu
5-Apr-14 0:24am
View
I need 10MB sir ...
Sai Prasad anumolu
5-Apr-14 0:22am
View
Kk thanks sir
Sai Prasad anumolu
25-Mar-14 8:02am
View
Deleted
<style type="text/css"> .first { border: thin solid #999; width:162px; margin-top: 6px; color: #0099FE; text-decoration: none; background-repeat: repeat-x; background-position: center center; padding-top: 5px; padding-right: 0px; padding-bottom: 5px; padding-left: 15px; } .first a { color: #036; text-decoration: none; } .first a:hover { color: #00F; text-decoration: none; } .first a.active { color: #930; text-decoration: none; } </style>
Sai Prasad anumolu
25-Mar-14 6:46am
View
dtgetdetails = objMyBAL.getLogindetails(objPL);
if (dtgetdetails.Rows.Count > 0)
{
Session["username"] = dtgetdetails.Rows[0]["username"].ToString();
Session["lastlogin"] = dtgetdetails.Rows[0]["lastlogin"].ToString();
Session["roletype"] = dtgetdetails.Rows[0]["roletype"].ToString();
Response.Redirect("AddEmployee.aspx");
}
Sai Prasad anumolu
25-Mar-14 6:45am
View
Deleted
ALTER proc [dbo].[K_GetCredentialdetails]
@username varchar(50),
@password varchar(50)
as
begin
declare @number int
select @number = count(*) from K_LoginDetails where username = @username and password = @password
if(@number ! = 0)
begin
select username,password,isnull(lastlogin,getdate()) as lastlogin,roletype from K_LoginDetails
where username = @username and password = @password
update K_LoginDetails set lastlogin = getdate() where username = @username and password = @password
end
else
begin
select username,password,isnull(lastlogin,getdate()) as lastlogin,roletype from K_LoginDetails
where username = @username and password = @password
end
end
Sai Prasad anumolu
17-Mar-14 3:38am
View
i tried Row limit in Datatable ....
Sai Prasad anumolu
17-Mar-14 3:36am
View
Create table Tbl_TextAdds(AddId int Identity(1,1),TextAddImagePath varBinary(max),MaxCharLength varchar(200),Price Money default 0)
select * from Tbl_TextAdds
Sai Prasad anumolu
17-Mar-14 3:12am
View
Rows limit is 10 in database ...
Sai Prasad anumolu
17-Mar-14 2:59am
View
kk I accepted sir , Please give me any suggestions restricted values in database. In database also only 10 records acepting after 11th record is not accepted
Sai Prasad anumolu
17-Mar-14 2:46am
View
Yes i want in database also restict the 10 rows only,
Sai Prasad anumolu
17-Mar-14 2:43am
View
Yes ..Its working, Exacting you answer is write but also need in database also only 10 records accepting ..tell me any suggestion
Sai Prasad anumolu
17-Mar-14 2:32am
View
private void BindGirdTextAdd()
{
con.Open();
SqlCommand cmd = new SqlCommand("Select *from Tbl_TextAdds", con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
GridTextAdds.DataSource = ds;
GridTextAdds.DataBind();
con.Close();
}
Sai Prasad anumolu
17-Mar-14 2:27am
View
From Database , Sir and inserting in webpage
Sai Prasad anumolu
17-Mar-14 2:26am
View
It is not working solution sir
Sai Prasad anumolu
17-Mar-14 1:25am
View
I am try sir .. I have any dout i will send doubt
Sai Prasad anumolu
17-Mar-14 1:22am
View
trying U r suggestion sir
Sai Prasad anumolu
17-Mar-14 1:13am
View
yes sir ,
Sai Prasad anumolu
17-Mar-14 1:10am
View
Yes exactly , After 11 th record in not Accepted in gridview
Sai Prasad anumolu
17-Mar-14 1:05am
View
First Of all , I will display in gridview only 10 records after 11th record is not accepted in grid view. Okey .
Any Code ..I will be use gridview condition or any database logic also
Sai Prasad anumolu
17-Mar-14 1:01am
View
i need to display only records .After 11 th record is not display in gird view or any other database condition ...
Sai Prasad anumolu
17-Mar-14 1:01am
View
i need to display only records .After 11 th record is not display in gird view or any other database condition
Sai Prasad anumolu
15-Mar-14 8:47am
View
thanks anna
Sai Prasad anumolu
15-Mar-14 5:58am
View
Sended 2 emails
Sai Prasad anumolu
15-Mar-14 5:40am
View
Anna Sended ...
Sai Prasad anumolu
15-Mar-14 5:32am
View
Open Word Document and Send me..........
Sai Prasad anumolu
15-Mar-14 5:05am
View
Clear means add another record ..And Send me u r email ID i will send Code
Sai Prasad anumolu
15-Mar-14 4:20am
View
Sir Send me U r Email Id I will send Code..To u r email
Sai Prasad anumolu
15-Mar-14 3:49am
View
Yes...1st time i entered Details Click Save Button ..Data is saving in database ..After Fileds are cleared
and ..2nd time i entered Details Click Save Button ..Data is not saving in database ..After Fileds are cleared
Sai Prasad anumolu
15-Mar-14 3:38am
View
After insert i cleared ..But i need Another Time Data entered Click Save button data is not saving in database jas
Sai Prasad anumolu
15-Mar-14 3:33am
View
Functionality ..Is When i entered data after click save button all fields are cleared
Sai Prasad anumolu
15-Mar-14 3:28am
View
After Saving Fields are clearing ...Sir
private void ClearControls()
{
txtEnterChar.Text = "";
FileTextAddsUpload.ID = "";
}
Sai Prasad anumolu
15-Mar-14 3:27am
View
After Saving Fields are clearing ...Sir
Sai Prasad anumolu
14-Mar-14 7:58am
View
kk..I will try ....When i click edit Button Image is editing ...avuthun dha anna
Sai Prasad anumolu
14-Mar-14 6:58am
View
I tried this example sir , But In grid view ..Whe i clik On Edit Button in gridview in same row ...I will edit another Image
Sai Prasad anumolu
13-Mar-14 9:02am
View
Send Image is not accepting in database ....This is Doubt and Question sir
Sai Prasad anumolu
6-Mar-14 5:18am
View
hi sir i need Open Another Division When i will click add button
Sai Prasad anumolu
5-Mar-14 0:26am
View
Now You click on Edit button..Then it's edited Data..Fine..Now ,Save Button is there Both dupicate and Original ,after save button - Update button is Enable..Yes, another record is saving in database .. How it is possible anna
Sai Prasad anumolu
5-Mar-14 0:20am
View
Create table Tbl_TextAdds(AddId int Identity(1,1),ImagePath nvarchar(max),MaxCharLength varchar(200),Price Money default 1)
Sai Prasad anumolu
5-Mar-14 0:17am
View
Kk Anna I will try and Present I am using controls (File Upload and text box) i will send U Datatable
Create table Tbl_TextAdds(AddId int Identity(1,1),ImagePath nvarchar(max),MaxCharLength varchar(200),Price Money default 1)
Sai Prasad anumolu
5-Mar-14 0:03am
View
when I click on Duplicate ..Save Record data is comming, In duplicate button Edit And Save button ... When i click on Save button Save ...Another Record
Sai Prasad anumolu
4-Mar-14 5:29am
View
insert into Tbl_TextAdds(ImagePath,MaxCharLength) values('~/Images/Lighthouse.jpg','SampleData')
...This is Original Record
I need This Example Duplicate record is
insert into Tbl_TextAdds(ImagePath,MaxCharLength) values('~/Images/Lighthouse.jpg','Duplicate value ')
Sai Prasad anumolu
4-Mar-14 5:26am
View
I save duplicate values in same table ..sir
Sai Prasad anumolu
3-Mar-14 6:33am
View
I got Solution Brother ....
Sai Prasad anumolu
3-Mar-14 3:45am
View
I have so many douts in database ... Can u please send me you email Id Sir
Sai Prasad anumolu
3-Mar-14 3:20am
View
Thank u your Code working sir ......
Sai Prasad anumolu
3-Mar-14 2:07am
View
Price Column is common in all tables
Final Output Is :
Table Query is
create Table Tbl_StartupBanner(ImageId int primary key identity(1,1) check(ImageId between 0 and 1), ImagePath nvarchar(Max) NOT Null, Price Money )
, Tbl_SignInBanner, Tbl_SignOutBanner Two table also same query But table name is changing.
I used this Query
Select sum(Tbl_StartupBanner.Price + Tbl_SignInBanner.Price + Tbl_SignOutBanner.Price) as Total from Tbl_StartupBanner,Tbl_SignInBanner,Tbl_SignOutBanner
Final Outpu: total : There is no record and emmty Displaying sir
Sai Prasad anumolu
3-Mar-14 1:51am
View
Above Query is working sir , But First two table count price value is 1 , 1 but third table there is no price value .. I need total tables count is 2
Sai Prasad anumolu
3-Mar-14 1:50am
View
kk..If Price value is 1 in datatable . Total comming ..It is working but . I dont have price value in datatable . Frist two table price value is 1, 1 but third table there is not price value . I need total tables count is 2 ..
Sai Prasad anumolu
3-Mar-14 1:31am
View
Tried sir .. When i was remove sum Total is not display
Sai Prasad anumolu
1-Mar-14 8:33am
View
hi sir , Its working But , I have one problem is coming ,
For Example : Table 1 - Price 1$, Table 2 - Price No Price, Table 3 - Price 1$, Table 4 - Price 1$, Table 5 - Price No Price, Table 6 - Price ,No Price
I need to display total count is : 3$ .. It is not comming Sir , Final output is not diplay ,
Price is their value counting , But i need price is there or not their , Available price is counting Sir
Sai Prasad anumolu
1-Mar-14 7:34am
View
I modify the Question Check It Sir
Sai Prasad anumolu
1-Mar-14 7:33am
View
kk Sir ,... I Modify question
Sai Prasad anumolu
28-Feb-14 0:42am
View
Already One person give answer sir , He gave exact answer, Give .This is write
Sai Prasad anumolu
28-Feb-14 0:34am
View
Thank you Sir .....I have any i will Ask another time ..Help me ...I have less logic thinking
Sai Prasad anumolu
28-Feb-14 0:25am
View
Can you please send me sample code me .... Definitely ,I will try Sir and get the output ...Give me guidence
Sai Prasad anumolu
28-Feb-14 0:12am
View
This is my code .... Save button Logic sir, I need how to count 1$ After Save Button Click .And save the count in database
try
{
string FileName = Path.GetFileName(FileStartUpBanner.PostedFile.FileName);
// Page.ClientScript.RegisterStartupScript(typeof(Page), "openPopup", "firstPopup();", true);
if (ChechStartUpBanner.Checked == true)
{
con.Open();
Page.ClientScript.RegisterStartupScript(typeof(Page), "openPopup", "firstPopup();", true);
if (FileStartUpBanner.HasFile == true && FileStartUpBanner.FileName != null && FileStartUpBanner.PostedFile.ToString() != " ")
{
FileStartUpBanner.SaveAs(Server.MapPath("~/Images/" + FileName));
SqlCommand cmd = new SqlCommand("StartUpBanner_SP", con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@ImagePath", "~/Images/" + FileName);
int res = cmd.ExecuteNonQuery();
if (res > 0)
{
uploadmessage.Visible = true;
uploadmessage.Text = "Your File Uploadad SucessFully";
imagepreview.Visible = true;
startupimg.Visible = true;
btnStartDelete.Visible = true;
btnStartEdit.Visible = true;
btnStateUpUpdate.Visible = false;
ChechStartUpBanner.Visible = false;
}
ChechStartUpBanner.Checked = false;
}
else
{
uploadmessage.Visible = true;
uploadmessage.Text = "Please Choose Your File ";
}
StartBanner();
}
Sai Prasad anumolu
28-Feb-14 0:07am
View
kkk , I am very confusing sir , please help me
Sai Prasad anumolu
27-Feb-14 2:13am
View
Thank u very much
Sai Prasad anumolu
26-Feb-14 7:19am
View
There is know other Source Sir
Sai Prasad anumolu
26-Feb-14 2:03am
View
<div> <asp:textbox....><file uploads=""></div> Add button
When i click add button above division display below
Sai Prasad anumolu
26-Feb-14 1:58am
View
I have another Dout , When i click add button, Open another divion...
Sai Prasad anumolu
26-Feb-14 1:49am
View
k sir
Sai Prasad anumolu
26-Feb-14 1:45am
View
i need anwser
Sai Prasad anumolu
26-Feb-14 1:23am
View
There is no cents ....When i check check box add 1$ + Unchechk the check box Deduction -1$
Sai Prasad anumolu
26-Feb-14 0:02am
View
Context.Session["temp.aspx"] = _idalbum;
string allfolder = context.Session["temp.aspx"].ToString();
you can try this
Sai Prasad anumolu
25-Feb-14 8:11am
View
This is code when i click add another text add ..
To display other division
<div id="TextAdds" runat="server" class="TextAdd Border">
<div style="color: #2b2b2b; font-size: 14px;">
Text Ads (Image Formats: Jpeg, Png, Gif) ($1/Text Ad or any equivalent currency)
</div>
<div style="height: auto;">
<div style="clear: both;"></div>
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<contenttemplate>
<div>
<table>
<tr>
<td>
<asp:FileUpload ID="FileTextAddsUpload" runat="server" />
<asp:Button ID="btnTextAddUpload" Text="Upload" OnClick="btnTextAddUpload_Click" CssClass="btnCommon" OnClientClick="ToggleDiv();" runat="server" />
</td>
<td>
<asp:Image ID="ImageTextAdd" CssClass="ImageDisplay" Visible="false" ImageUrl="imageurl" runat="server" /></td>
</tr>
</table>
</div>
<Triggers>
<asp:PostBackTrigger ControlID="btnTextAddUpload" />
</Triggers>
</div>
<div style="clear: both; padding-top: 8px;"></div>
<div>
<asp:TextBox ID="txtEnterChar" placeholder="Enter Text to display (Max Character Length - 160)" MaxLength="160" CssClass="txtMaxChar" runat="server" />
</div>
<div style="clear: both; padding-top: 12px;"></div>
<div>
<asp:Button ID="btnSave" Text="Save" Visible="true" OnClick="btnSave_Click" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnClearEdits" Visible="true" OnClick="btnClearEdits_Click" Text="Clear Fields" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnDelete" Visible="false" OnClick="btnDelete_Click" Text="Delete" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnEdit" Visible="false" OnClick="btnEdit_Click" Text="Edit" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnUpdate" Visible="false" Text="Update" OnClick="btnUpdate_Click" CssClass="btnCommon" runat="server" />
</div>
<div style="clear: both; padding-top: 10px"></div>
</div>
</div>
Sai Prasad anumolu
25-Feb-14 8:09am
View
Above text add divion
<div>
<asp:Button ID="btnDuplicate" Visible="false" Text="Duplicate" OnClick="btnDuplicate_Click" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnAddAnotherText" Visible="false" Text="Add another Text Add" CssClass="btnCommon" runat="server" />
</div>
Sai Prasad anumolu
25-Feb-14 8:04am
View
open another division
Sai Prasad anumolu
25-Feb-14 4:06am
View
Thank you very much friend ...... Give me your email id
Sai Prasad anumolu
25-Feb-14 3:59am
View
When i click on duplicate button ..Display save data ...Okey but ,In duplicate button ..Edit and update options ..After i edit the data i click update data is updating sucussing ...Not saving other record .. I need to save other record
Sai Prasad anumolu
25-Feb-14 3:18am
View
k sir , i will give clear explanation ...This is heavey code , My task is
When i was click save button Data is saving in database ---
<asp:Button ID="btnSave" Text="Save" Visible="true" OnClick="btnSave_Click" CssClass="btnCommon" runat="server" />
After click Save Button - Then i will click Duplicate button Display save record and
1 record is one option and
Duplicate is other option
<div>
<asp:Button ID="btnDuplicate" Visible="false" Text="Duplicate" OnClick="btnDuplicate_Click" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnAddAnotherText" Visible="false" Text="Add another Text Add" OnClientClick="addStuff();" CssClass="btnCommon" runat="server" />
</div>
Duplicate is save Other record
Sai Prasad anumolu
25-Feb-14 3:05am
View
my Question is .. ..Data is saving in database ..How to find Duplicate records in table ?
Sai Prasad anumolu
25-Feb-14 2:58am
View
actually , You are Option ...Not question , So, I am very confusing, Please , U will not mention not question ....sir ..Y because i have so many douts in .net
Sai Prasad anumolu
25-Feb-14 2:51am
View
it is not working abhishek
Sai Prasad anumolu
25-Feb-14 2:34am
View
hey this is qustion .....What r u doing .....Do not involve my communication
Sai Prasad anumolu
25-Feb-14 1:40am
View
It it working?
My Question Is .. I designed
In the Division Like textboxs, Lables and addbutton
When i cliked add button Save the data in database After When i will click add button Same division will be open Other time ....
Sai Prasad anumolu
23-Feb-14 6:01am
View
link ?
Sai Prasad anumolu
23-Feb-14 5:58am
View
Sloution or send me exat link ?
Sai Prasad anumolu
23-Feb-14 5:55am
View
send me sir
Sai Prasad anumolu
23-Feb-14 5:52am
View
i already tried ....sir I will get the output
Sai Prasad anumolu
23-Feb-14 5:49am
View
if (FileTextAddsUpload.HasFile)
{
try
{
string FileName = Path.GetFileName(FileTextAddsUpload.PostedFile.FileName);
string exten = Path.GetExtension(FileName);
if (exten == ".png" || exten == ".PNG" || exten == ".jpg" || exten == ".JPG" || exten == ".jpeg" || exten == ".JPEG" || exten == ".gif" || exten == ".GIF")
{
Stream FS = FileTextAddsUpload.PostedFile.InputStream;
BinaryReader Br = new BinaryReader(FS);
Byte[] bytes = Br.ReadBytes((Int32)FS.Length);
string basestring = Convert.ToBase64String(bytes, 0, bytes.Length);
ImageTextAdd.ImageUrl = "~/Images/," + basestring;
}
else
{
Response.Write("<script>alert('unsupported format of photo file');</script>");
}
}
catch (Exception ex)
{
Response.Write("<script>alert('" + ex.Message + "');</script>");
}
}
i used this error is ....base string
Sai Prasad anumolu
21-Feb-14 7:12am
View
there is no signup login
Sai Prasad anumolu
21-Feb-14 7:06am
View
kkk Login avala
Sai Prasad anumolu
21-Feb-14 6:59am
View
Add another textbox .....Open another divion
Sai Prasad anumolu
21-Feb-14 6:58am
View
<div class="TextAdd Border" style="display: none;">
<div style="color: #2b2b2b; font-size: 14px;">
Text Ads (Image Formats: Jpeg, Png, Gif) ($1/Text Ad or any equivalent currency)
</div>
<div style="height: 200px;">
<div style="clear: both;"></div>
<div>
<asp:FileUpload ID="FileTextAdds" runat="server" />
<asp:Button ID="btnUpload" Text="Upload" CssClass="btnCommon" runat="server" />
</div>
<div style="clear: both; padding-top: 8px;"></div>
<div>
<asp:TextBox ID="txtEnterChar" placeholder="Enter Text to display (Max Character Length - 160)" MaxLength="160" CssClass="txtMaxChar" runat="server" />
</div>
<div style="clear: both; padding-top: 12px;"></div>
<div>
<asp:Button ID="btnSave" Text="Save" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnClearEdits" Text="Clear Fields" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnDelete" Text="Delete" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnEdit" Text="Edit" CssClass="btnCommon" runat="server" />
</div>
<div style="clear: both; padding-top: 10px"></div>
<div>
<asp:Button ID="btnDuplicate" Text="Duplicate" CssClass="btnCommon" runat="server" />
<asp:Button ID="btnAddAnotherText" Text="Add another Text Add" CssClass="btnCommon" runat="server" />
</div>
</div>
</div>
Sai Prasad anumolu
21-Feb-14 6:45am
View
yes ..This format ...And other format is when i will click add open all registration page or login page or division
Sai Prasad anumolu
21-Feb-14 6:41am
View
Yes ..I alreaay create can u please send me code
Sai Prasad anumolu
21-Feb-14 6:37am
View
For example: First of all I will take textbox k (add Button) And when i click add button open another textbox .
Same format how to open div or Anu format when i will click add button?
Sai Prasad anumolu
21-Feb-14 6:32am
View
yes ...
Sai Prasad anumolu
21-Feb-14 6:29am
View
Yes ....Data is saving sucessfuly
Sai Prasad anumolu
21-Feb-14 6:27am
View
Tell me brother any suggestion
Sai Prasad anumolu
21-Feb-14 6:21am
View
Only one Divion ..But it opens multiple times ...
Sai Prasad anumolu
21-Feb-14 6:20am
View
Only One division ...It opens multiple times
Sai Prasad anumolu
21-Feb-14 5:46am
View
yes .....
Sai Prasad anumolu
21-Feb-14 5:20am
View
No When i will click add button open another part Like For example registration page or paragraph like that
Sai Prasad anumolu
18-Feb-14 6:38am
View
thank u
Sai Prasad anumolu
18-Feb-14 6:37am
View
k thank u very much
Sai Prasad anumolu
18-Feb-14 6:26am
View
hi sir , I take one textbox and one add button , Button When i will click add button to display another textbox
Sai Prasad anumolu
18-Feb-14 4:02am
View
How to recheck The checkbox ...I am using checkbox popup
Sai Prasad anumolu
18-Feb-14 3:32am
View
I need Code
Sai Prasad anumolu
18-Feb-14 1:31am
View
It is depends Upon + , _ Operations using
Sai Prasad anumolu
18-Feb-14 1:30am
View
I tried Samba ...But i did not get the output
Sai Prasad anumolu
17-Feb-14 7:47am
View
i got output siva thanks
Sai Prasad anumolu
17-Feb-14 5:50am
View
I need Image updation
Sai Prasad anumolu
17-Feb-14 5:28am
View
Only images files - For example i upload image in Facebook or any job portal , i decide to change my profile picture. i will change my profile picture Past image is deleted auto matically
Show More