15,916,463 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 Shibiny (Top 47 by date)
Shibiny
6-Jul-15 1:23am
View
But how to implement it in my application without script.because it is a windows application.
Shibiny
29-Jun-15 3:26am
View
yes iwant to transalte pls help me
Shibiny
29-Jun-15 3:26am
View
yes iwant to transalte pls help me
Shibiny
9-Oct-14 6:36am
View
command for rename please
Shibiny
28-Sep-12 2:33am
View
when i use filtered textboxextender i got this error
"Unknown server tag 'asp:FilteredTextBoxExtender'. "
Shibiny
18-Sep-12 7:36am
View
Deleted
Year 1 2 up to 12
2000 45 50
2001 50 100
Shibiny
18-Sep-12 6:59am
View
but each one have different conditions
Shibiny
11-Sep-12 4:37am
View
yes.there is no error now.but i want it in ispostback
Shibiny
10-Sep-12 5:22am
View
please clear
Shibiny
10-Sep-12 2:59am
View
in .aspx page
<asp:Button ID="btnSave" runat="server" Text="Upload"
CssClass="buttonbox" onclick="btnSave_Click" ValidationGroup="s" />
in .cs page
protected void btnSave_Click(object sender, EventArgs e)
{
}
Shibiny
10-Sep-12 2:55am
View
please give me a solution to it
Shibiny
10-Sep-12 2:54am
View
yes.
Shibiny
4-Sep-12 3:20am
View
I want a simple query for encrypt a field in sql server
Shibiny
3-Sep-12 4:24am
View
Using java script How to validate the password in asp.net c#
I want some characters,numbers,Special characters,
Shibiny
3-Sep-12 3:30am
View
How to use it in javascript
Shibiny
3-Sep-12 3:01am
View
add new event is not working after showing this error message
Shibiny
3-Sep-12 3:00am
View
How to do this
Shibiny
3-Sep-12 2:31am
View
I Used your code like this:
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
ErrorMessage="RegularExpressionValidator" ControlToValidate="txtpassword"
ValidationExpression="((?=.*\d)(?=.*[A-Z])(?=.*\W).{8,8})">
It Worked fine,But data after error message,Entered data saved to database,how to prevent this
Shibiny
23-Aug-12 7:31am
View
i want .cs code to it
Shibiny
23-Aug-12 7:30am
View
no.it get only file name
Shibiny
23-Aug-12 4:55am
View
please help me.i want to implement it in asp.net website with c#.
very urgent........
Shibiny
23-Aug-12 2:24am
View
i want to connect to sql server databse using connection string or any method
Shibiny
23-Aug-12 2:22am
View
I USE THIS CODE LIKE THIS BUT ERROR......
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.OleDb;
using System.Data.SqlClient;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnSend_Click(object sender, EventArgs e)
{
String fileName = fileuploadExcel.ResolveClientUrl(fileuploadExcel.PostedFile.FileName);
int count = 0;
DataClassesDataContext conLinq = new DataClassesDataContext("Data Source=WEB;Initial Catalog=ExcelDB;Integrated Security=true");
try
{
DataTable dtExcel = new DataTable();
string SourceConstr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source='" + fileName + "';Extended Properties= 'Excel 8.0;HDR=Yes;IMEX=1'";
OleDbConnection con = new OleDbConnection(SourceConstr);
string query = "Select * from [Sheet1$]";
OleDbDataAdapter data = new OleDbDataAdapter(query, con);
data.Fill(dtExcel);
for (int i = 0; i < dtExcel.Rows.Count; i++)
{
try
{
count += conLinq.ExecuteCommand("insert into Excel_table values(" + dtExcel.Rows[i][0] + "," + dtExcel.Rows[i][1] + ",'" + dtExcel.Rows[i][2] + "')");
}
catch (Exception ex)
{
continue;
}
}
if (count == dtExcel.Rows.Count)
{
//<--Success Message-->
}
else
{
//<--Failure Message-->
}
}
catch (Exception ex)
{
throw ex;
}
finally
{
conLinq.Dispose();
}
string SourceConstr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source='" + +"';Extended Properties= 'Excel 8.0;HDR=Yes;IMEX=1'";
OleDbConnection con = new OleDbConnection(SourceConstr);
string query = "Select * from [Sheet1$]";
OleDbDataAdapter data = new OleDbDataAdapter(query, con);
data.Fill(dtExcel);
}
}
Shibiny
23-Aug-12 1:59am
View
how to connect with databse. in sql server.
and i want to browse excel file to import
Shibiny
22-Aug-12 5:28am
View
sorry i try to change this project code to website.
But i faced some problems.
Shibiny
22-Aug-12 5:00am
View
Thanks for your help................
.
Shibiny
22-Aug-12 3:30am
View
Please give me the implemented code in asp.net website in c#.
I implemented ,But have some errors.
please help me.....................
Shibiny
18-Nov-11 3:35am
View
how to call a javascript function in pageload in asp.net
Shibiny
14-Oct-11 6:57am
View
Sorry it is not working
Shibiny
14-Oct-11 6:56am
View
Sorry it is not working
iwant to print a apllication form that contain text box and label within a table tag ind in a panel
code
<asp:Panel ID="panel2" runat="server">
<table style="width: 100%">
<tr><td></td><td >
You Have Applied Successfully!
</td></tr>
<tr>
<td style="padding-left: 100px; text-align: left;font-size:small">
</td>
<td style="padding-left:0px"><asp:Image ID="imgphoto" runat="server" Height="110px" Width="120px" /></td>
</tr>
<tr>
<td style="padding-left:100px; text-align: left;font-size:small">
</td>
</tr>
<tr>
<td style="padding-left: 100px; width: 40%; text-align: left;font-size:small">
Name of Applicant</td>
<td style="width: 60%; text-align: left;font-size:small">
<asp:Label ID="lblfname" runat="server" Text=""> <asp:Label ID="lbllname"
runat="server" Text="">
</td>
</tr>
<tr>
<td style="padding-left: 100px; width: 40%; text-align: left;font-size:small">
</td>
<td style="width: 60%; text-align: left;font-size:small">
</td>
</tr>
<tr>
<td style="padding-left: 100px; width: 40%; text-align: left;font-size:small">
Age</td>
<td style="width: 60%; text-align: left;font-size:small">
<asp:Label ID="lblage" runat="server" Text="">
</td>
</tr>
<tr>
<td style="padding-left: 100px; width: 40%; text-align: left;font-size:small">
<asp:Label ID="lblquali" runat="server" Font-Bold="True" Font-Size="Medium"
Text="Qualification">
</td>
<td style="width: 60%; text-align: left;font-size:small">
</td>
</tr>
</table>
<table border="1">
<tr>
<td align="center" style="border-style: solid" width="2px">
SI NO</td>
<td align="center" style="border-style: solid" width="2px">
Qualification</td>
<td align="center" style="border-style: solid">
Year
</td>
<td align="center" style="border-style: solid">
%</td>
<td align="center" style="border-style: solid" width="2px">
Board</td>
</tr>
</table>
Shibiny
7-Oct-11 7:01am
View
I want to send onlineapplication to administrator's mail including biodata
Shibiny
29-Sep-11 4:18am
View
Thanks And for Twitter
Shibiny
28-Sep-11 3:26am
View
WorkSheet means Work Assigning for students by teacher ,
Shibiny
5-Sep-11 6:59am
View
i Change my code
<asp:TemplateField HeaderText="Amount" >
<itemtemplate>
<asp:Label ID="lblAmount" runat="server" Text='<%# Eval("Amount") %>'>
<footertemplate>
<asp:Label ID="lblTotal" runat="server" >
////////////////
Label lblTotal = ((Label)gvDetail.FooterRow.FindControl("lblTotal"));
NetAmount= Convert.ToDecimal(lblTotal.Text);
but in NetAmount only get the footer value at the time of loading grid,
if change the footer value ,only get the older value
Shibiny
18-Aug-11 4:46am
View
please send with one example
Shibiny
18-Aug-11 4:44am
View
Label ll = (Label)e.Item.FindControl("lblsample"); ll.Visible = false; logically the label will be disabled.after executing these code the label again visible.
Shibiny
18-Aug-11 4:29am
View
Label ll = (Label)e.Item.FindControl("lblsample");
ll.Visible = false;
this not working.
Shibiny
18-Aug-11 4:28am
View
Label ll = (Label)e.Item.FindControl("lblsample");
ll.Visible = false; this not working
Shibiny
11-Aug-11 6:29am
View
no. i mean that, i want to sort based on last numbers .
Shibiny
4-Aug-11 1:41am
View
i still have this same problem in some pages of same application .pls help me
Shibiny
28-Jul-11 1:42am
View
i change the code like this but listview control is not get only get null
my code is
var OprMOde = document.getElementById("<%=txtOperationMode.ClientID%>").value;
obj = document.getElementById("<%=ddlUnits.ClientID%>").value;
var List = document.getElementById('<%=lstItemUnits.ClientID%>');
alert(List);
var msgflag = 0;
var cell;
if (List.Items.length > 0) {
//loop starts from 1. rows[0] points to the header.
for (i = 1; i < List.Items.length - 1; i++) {
//get the reference of first column
cell= List.Items[i].FindControl("lblUnitOfMeasureID").innerHTML;
alert(cell);
if (obj == cell) {
msgflag = 1;
}
}
}
if (OprMOde == "N") {
if (msgflag == 1) {
alert("Duplicate Units not allowed");
return false;
}
}
Shibiny
26-Jul-11 7:38am
View
I Try Thhis now there is no error but still listview is not updating.pls help me
Shibiny
26-Jul-11 6:56am
View
In Display() Function Have CurrectDatas in Dataset And Bind That Data toListView .But When Display The ListView Show Old Datas.But when We Use Response.redirect NO Problem.And In Save I Use The Same Display() ,that is Workig
Shibiny
26-Jul-11 6:09am
View
Deleted
Pls Help Me
Shibiny
26-Jul-11 6:02am
View
Yes, I use Display() after Delete
Shibiny
26-Jul-11 5:32am
View
Sorry My problem is when Deleting An Item From Listview The Listview is not updated.But the listview is updating When use response.redirect instead of Display(), but Display() function is working after delete
Shibiny
26-Jul-11 4:42am
View
Thanks For ur Help
But a Error occured
The Update method can only be called on UpdatePanel with ID 'UpdatePanel2' when UpdateMode is set to Conditional.
Now code is
protected void lstExchangeHistoryView_ItemCommand(object sender, ListViewCommandEventArgs e)
{
if (e.Item.ItemType == ListViewItemType.DataItem)
{
Label lblRateHistoryID = (Label)e.Item.FindControl("lblRateHistoryID");
int _RateHistoryID = Convert.ToInt32(lblRateHistoryID.Text);
switch (e.CommandName)
{
case "Delete":
{
_OperationMode = "Delete";
ExchangeHistory objExchangeHistory = new ExchangeHistory();
if(_RateHistoryID!=0)
{
objExchangeHistory.Delete(_RateHistoryID);
Display();//Bind the data source To ListView
UpdatePanel2.Update();
}
else
{
ListViewDataItem dataItem = (ListViewDataItem)e.Item;
lstExchangeHistoryView.Items.Remove(dataItem);
}
Display();
UpdatePanel2.Update();
break;
}
}
}
}
Show More