15,901,505 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 Anil Honey 206 (Top 200 by date)
Anil Honey 206
9-Jan-14 2:48am
View
Where do we need means Here Take Check box of AjaxControls and Try to Implement Multiple Selection with out postback
Anil Honey 206
9-Jan-14 2:34am
View
With Jquery It will Come But my Requirement is WithOut Jquery,Javascript and with out Post back that ajax Control should select Mutiple Checkboxes
Anil Honey 206
14-Aug-13 6:24am
View
can we compare the passwords means if samAccountName and password which i enter Should match like this is possible.
Anil Honey 206
14-Aug-13 6:14am
View
But iam unable to get the Passwords from Active Directory
this is the code i used for getting usernames
using (var context = new PrincipalContext(ContextType.Domain, "empover.com"))
{
using (var searcher = new PrincipalSearcher(new UserPrincipal(context)))
{
foreach (var result in searcher.FindAll())
{
DirectoryEntry de = result.GetUnderlyingObject() as DirectoryEntry;
DropDownList1.Items.Add("" + de.Properties["samAccountName"].Value);
//DropDownList1.Items.Add("" + de.Properties[" base.Password"].Value);
//Console.WriteLine("First Name: " + de.Properties["givenName"].Value);
//Console.WriteLine("Last Name : " + de.Properties["sn"].Value);
//Console.WriteLine("SAM account name : " + de.Properties["samAccountName"].Value);
//Console.WriteLine("User principal name: " + de.Properties["userPrincipalName"].Value);
//Console.WriteLine();
}
}
}
Anil Honey 206
7-Aug-13 5:39am
View
<system.web>
<identity impersonate="true" username="accountname" password="password">
i can use this to give Permission to windows service using web application
Anil Honey 206
7-Aug-13 4:30am
View
In Run Time only I got this
Error:
System.InvalidOperationException: Cannot open VMC_SMS_SERVICE service on computer '.'. ---> System.ComponentModel.Win32Exception: Access is denied --- End of inner exception stack trace --- at System.ServiceProcess.ServiceController.GetServiceHandle(Int32 desiredAccess) at System.ServiceProcess.ServiceController.Start(String[] args) at System.ServiceProcess.ServiceController.Start() at Sms_Service_Sms_SmsServiceStartStop.StartWindowsService()
When iam Running the Service Through Web application WHICH I Hosted in IIS
so please still i dont know where iam doing wrong.
Anil Honey 206
7-Aug-13 1:57am
View
System.InvalidOperationException: Cannot open VMC_SMS_SERVICE service on computer '.'. ---> System.ComponentModel.Win32Exception: Access is denied --- End of inner exception stack trace --- at System.ServiceProcess.ServiceController.GetServiceHandle(Int32 desiredAccess) at System.ServiceProcess.ServiceController.Start(String[] args) at System.ServiceProcess.ServiceController.Start() at Sms_Service_Sms_SmsServiceStartStop.StartWindowsService()
This is the Error iam getting when i host the Service in IIS
Anil Honey 206
6-Aug-13 1:31am
View
i logged as a administrator only
Anil Honey 206
6-Aug-13 1:30am
View
its Windows 7
Anil Honey 206
6-Aug-13 1:26am
View
Till now i have not hosted in any Hosting panel to test the application i hosted the application in my local computer (iis) there its getting error login as administrator to run the sms service.
Anil Honey 206
6-Aug-13 1:20am
View
But in Local IIS only the Problem came so where should i change the Setting of IIS to run the Windows Service
Anil Honey 206
5-Aug-13 7:24am
View
I checked in BIN first dll is not there then from framework i copied the dll and palced in bin
folder still same problem.My application is developed under vs2010 i have doubt System.ServiceProcess dll is windows application weather it works for web application.
Anil Honey 206
5-Aug-13 7:14am
View
Could not load Assembly dll like this error is coming
Anil Honey 206
9-Apr-13 7:56am
View
protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
GridView1.DataBind();
}
have u try this one
Anil Honey 206
4-Apr-13 8:14am
View
ok Thanks For Your Suggestion first i will do Some R&D Then i will make one Suggestion to my Team Leader weather we should go for Windows are Web service.
Anil Honey 206
4-Apr-13 7:52am
View
windows service will accept HTTP protocals?
Anil Honey 206
4-Apr-13 7:47am
View
Till now i have not Received API But Discussion with my Team Mates they said it has some Username password and some Credentials its like Normal API only,for which we used for Web Sms.
Anil Honey 206
4-Apr-13 7:44am
View
Which API i dont no till not yet Received.By using Windows service only i should use that API to send and Receive Sms.
Anil Honey 206
4-Apr-13 7:41am
View
Hi ryan Its My Requirement i should do that one.Even i dont Know why these people has changing the Existing system.May be they got some Cheap cost of Sms Service(API).
Anil Honey 206
4-Apr-13 7:29am
View
Deleted
Hi ryan Its My Requirement i should do that one.Even i dont Know why these people has changing the Existing system.May be they got some Cheap cost of Sms Service(API).
Anil Honey 206
4-Apr-13 7:20am
View
Deleted
Which API i dont no till not yet Received.By using Windows service only i should use that API to send and Receive Sms.
Anil Honey 206
28-Mar-13 7:29am
View
Your sending Sms through Modem
Anil Honey 206
27-Mar-13 8:02am
View
If Authorized User Uses the Application you can give permission for Update and Delete Button should be enable true.If unauthorized person's enable false,Through programming we can do this.
Anil Honey 206
27-Mar-13 7:59am
View
Windows its self tell's One man can Acess the Application.One Application Multiple users its not Possible.
Anil Honey 206
27-Mar-13 7:40am
View
ha ha for Understanding the Concept for programfox i have voted 5 and even i checked in sample application and i updated You and eve iam not a copy cat navin..
Anil Honey 206
27-Mar-13 7:21am
View
void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
if (e.CloseReason == CloseReason.TaskManagerClosing)
{
// Task Manager is closing the application
}
else if (e.CloseReason == CloseReason.WindowsShutDown)
{
// application is closed because Windows is shutting down
}
else if (e.CloseReason == CloseReason.UserClosing)
{
// user closes the form
}
}
This Code Works just check it.
Anil Honey 206
27-Mar-13 6:55am
View
What you want i have not understand
Anil Honey 206
27-Mar-13 0:06am
View
This Article is Good Can you give sample example based on charts so its helpful to me.
Anil Honey 206
18-Mar-13 4:05am
View
Update database set disease ='cancer' where Id=1
like this update the database
Anil Honey 206
27-Feb-13 3:56am
View
I want the List of Notify Icon's in System Tray based on that by getting the perticular icon i want to kill the application of the icon.
Anil Honey 206
27-Feb-13 3:14am
View
This link is Providing how to create a Notify Icon.But i want what are Existing icon's are getting when our system restarts.And i want to kill the icon of the application.
Anil Honey 206
21-Feb-13 4:26am
View
Free Sms to Mobile through web You Need Service Provider For that they will Provide API for you based on that you can send messages to Mobile.
Anil Honey 206
24-Jan-13 22:54pm
View
In Rdlc Report i have a Graph for that Graph i want to put scroll bar.Not in Reportviewer.
Anil Honey 206
16-Dec-12 22:27pm
View
Actually iam working with Rdlc Reports.For that Reports i have give Physical Path to that Reports.Its Working fine when application Runs.But if i create set-up its expecting path so the Error is coming its not getting the Rdlc Reports path through set-up exe.So how can get the Path of Rdlc Reports now.Because after creating set-up all files are becoming dll's.
Anil Honey 206
14-Dec-12 5:25am
View
How to do it can u give me any example for reference
Anil Honey 206
13-Dec-12 23:11pm
View
In the Dll i have a folder which have Images so i want to use that images.For that i want to break that dll and get the path of the image file.
Anil Honey 206
28-Nov-12 1:43am
View
How You Solved the Above Problem.Can u Explain me iam also facing the Same Problem.How to reset the Parameters in rdlc Reports.
Anil Honey 206
26-Sep-12 8:21am
View
so u have analized the code then u pass the student id and name from database based on that u send message.Frist put breakpoint and analize each and every line of code ok.
Anil Honey 206
26-Sep-12 3:09am
View
http://www.codeproject.com/Articles/20420/How-To-Send-and-Receive-SMS-using-GSM-Modem
first you analyze the code of this sample project then we will go further ok
Anil Honey 206
25-Sep-12 5:22am
View
First i want to know this is the first time your working on sms based application.And one more for this type of application you should create windows service for sms that service should run back end process continuously.In that service we should write code for student id and year in sms format that format should reach to database and throgh data set we can fetch the recors and send back to Mobile Num.Its so easy we can make first you try to implement windows service for sms.And its a webbased or windows application.
Anil Honey 206
25-Sep-12 1:39am
View
I got a solution for this i have taken one istaller.cs file in that i have written like this
public override void Install(System.Collections.IDictionary stateSaver)
{
base.Install(stateSaver);
#if DEBUG
string connStr = "";
string[] strp = new
string[Assembly.GetExecutingAssembly().Location.Split('\\').Length];
strp =Assembly.GetExecutingAssembly().Location.Split('\\');
int i = 0;
string CompletePath = "";
for (i = 0; i < strp.Length - 1; i++)
{
CompletePath += strp[i] + "\\";
}
string servername =Context.Parameters["SERVERNAME"].ToString();
string databasename =Context.Parameters["DBNAME"].ToString();
string username =Context.Parameters["UNAME"].ToString();
string password =Context.Parameters["PWDNAME"].ToString();
string EMISMIRRORSERVER =Context.Parameters["EMISMIRRORSERVER"].ToString();
string EMISWITNESSSERVER =Context.Parameters["EMISWITNESSSERVER"].ToString();
string EMISHELP = Context.Parameters["EMISHELP"].ToString();
connStr = "User Id=" + username + ";password=" + password + ";server=" + servername + ";database=" + databasename + ";Failover Partner= " + EMISMIRRORSERVER;
Configuration config = ConfigurationManager.OpenExeConfiguration(CompletePath + "DEMIS_SERVICE.exe");
config.AppSettings.Settings["DATABASE_CONNECTION"].Value = connStr;
config.AppSettings.Settings["HelpFilesLocation"].Value = EMISHELP;
config.Save();
Configuration config1 = ConfigurationManager.OpenExeConfiguration(CompletePath + "DEMIS_SERVER.exe");
config1.AppSettings.Settings["DATABASE_CONNECTION"].Value = connStr;
config1.AppSettings.Settings["DatabaseName"].Value = databasename;
config1.AppSettings.Settings["Witness"].Value = EMISWITNESSSERVER;
config1.AppSettings.Settings["HelpFilesLocation"].Value = EMISHELP;
config1.Save();
Configuration config2 = ConfigurationManager.OpenExeConfiguration(CompletePath + "DEMIS_SMS_SERVICE.exe");
config2.AppSettings.Settings["DATABASE_CONNECTION"].Value = connStr;
config2.Save();
Configuration config3 = ConfigurationManager.OpenExeConfiguration(CompletePath + "MODEM_SERVICE_DETECTOR.exe");
config3.AppSettings.Settings["DATABASE_CONNECTION"].Value = connStr;
config3.Save();
#endif
}
while creating the setup i can change the connectionstring username and password of four projects at time
regards,
AnilKumar.D
Anil Honey 206
13-Sep-12 5:34am
View
I have not return any code in ProgressForm() just i deigned the form and iam calling the form through thread.
Anil Honey 206
13-Sep-12 2:52am
View
thrd = new System.Threading.Thread(new System.Threading.ThreadStart(opendashboard1)); thrd.IsBackground = true; thrd.Start();
this is the code iam calling the progress bar window.
Anil Honey 206
12-Sep-12 0:04am
View
actually i create dashboard for my application in that dashboard start button is there to run the windows service.The windows service will take time to activate mean while i blocked the dashboard because user not intract anything on the dashboard until the windows service start so i write the code this.Enabled = false; so after this i called the progress bar form and sleep the thread after the windows service starts i abort the thread.But this functionality works sometime.And some times it showing error.
Anil Honey 206
11-Sep-12 8:17am
View
iam not get u but that opendashbord1() method executes from windows.form class.
Anil Honey 206
11-Sep-12 8:12am
View
Thanks i will check it in my application
Anil Honey 206
11-Sep-12 8:10am
View
s its a windows application
Anil Honey 206
11-Sep-12 8:06am
View
private void opendashboard1()
{
xf4 = new ProgressForm();
xf4.ShowDialog();
}
after this iam calling that form like this
thrd = new System.Threading.Thread(new System.Threading.ThreadStart(opendashboard1));
thrd.IsBackground = true;
thrd.Start();
Anil Honey 206
11-Sep-12 8:01am
View
Can u give the exact method how to abort the thread like this situation.
Anil Honey 206
28-Aug-12 1:32am
View
But it will get all modem names.But i want one the Modem which i inserted
Anil Honey 206
26-Jul-12 23:42pm
View
SELECT ntblDesignation.DisigantionName, ISNULL(ISNULL(SUM(CASE WHEN tblConnectivity.Networkid = '1' THEN tblConnectivity.Networkid END), 0), 0) AS YES,
ISNULL(ISNULL(SUM(CASE WHEN tblConnectivity.Networkid = '2' THEN tblConnectivity.Networkid END), 0), 0) AS NO, ISNULL(CONVERT(Decimal(10, 2),
CONVERT(Decimal(10, 2), ISNULL(ISNULL(SUM(CASE WHEN tblConnectivity.Networkid = '1' THEN tblConnectivity.Networkid END), 0), 0)) / CONVERT(Decimal(10, 2),
NULLIF
((SELECT ISNULL(ISNULL(SUM(CASE WHEN tblConnectivity_1.Networkid = '1' THEN tblConnectivity_1.Networkid END), 0), 0) AS YES1
FROM tblConnectivity AS tblConnectivity_1 INNER JOIN
tblInformation AS tblInformation_1 ON tblConnectivity_1.intInformationID = tblInformation_1.intInformationID INNER JOIN
ntblDistrict ON tblConnectivity_1.intDistrictid = ntblDistrict.intDistrictid AND tblInformation_1.DistrictID = ntblDistrict.intDistrictid
WHERE (ntblDistrict.intDistrictid = @DistrictID)), 0))) * 100, 0) AS YESPercent, ISNULL(CONVERT(Decimal(10, 2), CONVERT(Decimal(10, 2),
ISNULL(ISNULL(SUM(CASE WHEN tblConnectivity.Networkid = '2' THEN tblConnectivity.Networkid END), 0), 0)) / CONVERT(Decimal(10, 2), NULLIF
((SELECT ISNULL(ISNULL(SUM(CASE WHEN tblConnectivity_1.Networkid = '2' THEN tblConnectivity_1.Networkid END), 0), 0) AS YES1
FROM tblConnectivity AS tblConnectivity_1 INNER JOIN
tblInformation AS tblInformation_1 ON tblConnectivity_1.intInformationID = tblInformation_1.intInformationID INNER JOIN
ntblDistrict AS ntblDistrict_2 ON tblConnectivity_1.intDistrictid = ntblDistrict_2.intDistrictid AND
tblInformation_1.DistrictID = ntblDistrict_2.intDistrictid
WHERE (ntblDistrict_2.intDistrictid = @DistrictID)), 0))) * 100, 0) AS NoPercent
FROM tblConnectivity INNER JOIN
ntblDistrict AS ntblDistrict_1 ON tblConnectivity.intDistrictid = ntblDistrict_1.intDistrictid INNER JOIN
tblInformation ON tblConnectivity.intInformationID = tblInformation.intInformationID INNER JOIN
ntblDesignation ON tblInformation.intDesignation = ntblDesignation.intDesiginationID
WHERE (ntblDistrict_1.intDistrictid = @DistrictID)
GROUP BY ntblDesignation.DisigantionName
This is My Query Where i should use that Condiction
Anil Honey 206
13-Jul-12 3:23am
View
Can u Explian the way how to write that one
Anil Honey 206
13-Jul-12 2:55am
View
Where i should use this code it is in my Application
Anil Honey 206
11-Jul-12 5:07am
View
Only one Modem will Connect and Disconnect as per Events and one icon iam maintaining till now.But when disconnecting two icons are coming.
Anil Honey 206
11-Jul-12 2:27am
View
I want to hold the Notify icon because my application will not close or end or exist its like service
Anil Honey 206
11-Jul-12 2:21am
View
One more this My Application will not end and the user will not stop its Continue process when modem Disconnected also the application will run.Because when use wants to connect just he will connect the modem to cpu at that time Modem Connected message should come.
Anil Honey 206
11-Jul-12 2:17am
View
I understand your Concept Actually if you see any Pendrive connected to Cpu Pendrive is Connected Message will Come and while Disconnectec its showing Pendrive disconnected message will like that concept
Anil Honey 206
5-Jul-12 6:52am
View
Windows service doesn't support Graphical events.So its very tough even i tried but iam not sucessfully.
Anil Honey 206
2-Jul-12 2:14am
View
its not redirecting to ViewDocuments.aspx page
Anil Honey 206
28-Jun-12 7:24am
View
Manually its not Correct i should uncheck thurough code only.......
Anil Honey 206
28-Jun-12 7:16am
View
i should unCheck the permission through code only.I know in that file properties there is read only is true.Through code i should unchek that.But i dont know how to uncheck
Anil Honey 206
14-Jun-12 2:28am
View
Down i posted My Code please check it.
Anil Honey 206
14-Jun-12 2:24am
View
Deleted
private bool EnterNewSettings()
{
int newPort=0;
int newBaudRate=0;
int newTimeout=0;
int count = 0;
string[] strport;
string[] strbaudrate;
string[] strtimeout;
try
{
strport = Convert.ToString(ConfigurationSettings.AppSettings["COMPortID"]).Split(',');
strbaudrate = Convert.ToString(ConfigurationSettings.AppSettings["COMBaudRATE"]).Split(',');
strtimeout = Convert.ToString(ConfigurationSettings.AppSettings["COMTimeOUT"]).Split(',');
}
catch (Exception es) { return false; }
bool comStatus;
bool comMTN = true;
int comPortNonMTN = 0;
if (count != 1)
{
for (int i = 0; i < strport.Length; i++)
{
comStatus = true;
for (int j = 0; j < strbaudrate.Length; j++)
{
for (int k = 0; k < strtimeout.Length; k++)
{
try
{
newPort = int.Parse(strport[i]);
}
catch (Exception)
{
AddToLog("Invalid port number");
return false;
}
try
{
newBaudRate = int.Parse(strbaudrate[j]);
}
catch (Exception)
{
AddToLog("Invalid baud rate");
return false;
}
try
{
newTimeout = int.Parse(strtimeout[k]);
}
catch (Exception)
{
AddToLog("Invalid timeout value");
return false;
}
SetData(newPort, newBaudRate, newTimeout);
GsmCommMain comm = new GsmCommMain(port, baudRate, timeout);
try
{
if (comStatus)
{
comm.Open();
comStatus = false;
Thread.Sleep(20000);
if (!comm.IsConnected())
{
//AddToLog("Not Connected : Port - " + port);
comm.Close();
//return false;
}
else
{
if (comMTN)
{
comm.Close();
comMTN = false;
comPortNonMTN = i;
i = strport.Length + 1;
count = 1;
return true;
}
else
{
AddToLog("Connected: Port - " + port);
comm.Close();
return true;
}
Anil Honey 206
14-Jun-12 2:18am
View
As per Your Information i can Remove and Commet the Try catch and Exception Block.But if the Modem is Not There.Then the End User will try to Connect the Modem which is not Present in the System.At that time i should the Message "Modem is not there or Not Connected.For this also i should put Exception Message Box.Because this Exception will also hit through the for loop only.Because as per me the Application should be Customized.
Anil Honey 206
8-Jun-12 4:28am
View
Present iam in Office and Dont have Google Access that why i posted this question.
Anil Honey 206
5-Jun-12 1:21am
View
Just the Sample i want not Complete Application
Anil Honey 206
5-Jun-12 0:23am
View
Its Windows Forms with C#
Anil Honey 206
5-Jun-12 0:14am
View
Is there any Applications in Windows with c# platform
Anil Honey 206
4-Jun-12 4:37am
View
Hi i want the Properties of Dataset Only.But i came to know that it is very Difficult.
Anil Honey 206
2-Jun-12 2:30am
View
I have Checked in Server Explorer Evetlogs i have not find my SmsService_Anil So whats the Problem where should i find the logs
Anil Honey 206
29-May-12 2:16am
View
Its not the Problem of Cache and Bin Folders and DLL.its problem of version because the system.data dll is from .net frame work 4.0 and the windows 7 mobile is develped in seperate architectures.So the problem is coming with assemble version.The two versions are Different so i should add the .net 4.0 assembly vesion to windows 7 Sdk but how i dont know.Iam not getting the Exact path.
Anil Honey 206
29-May-12 0:20am
View
How can u explain clearly
Anil Honey 206
29-May-12 0:18am
View
i Added the System.data dll its does not provide any error information its added sucessfully.And i also created the object for dataset like this
private void button1_Click(object sender, RoutedEventArgs e)
{
DataSet ds = new DataSet();
ds.Tables.Add(ds.Tables[0].Rows[0][1].ToString());
}
Iam getting the required metadat and class file of dataset But when i build the Project the above errors are coming.
Anil Honey 206
28-May-12 23:12pm
View
what type of datastructure i should use
Anil Honey 206
25-May-12 2:21am
View
Hey thanks its Came thank you very much
Anil Honey 206
25-May-12 2:20am
View
I have tried its showing same error
Anil Honey 206
25-May-12 2:09am
View
Error is Coming like this
Conversion failed while Converting varchar value l's to datatype int
Anil Honey 206
25-May-12 1:53am
View
SELECT 'l''s' + CONVERT(varchar(20),
(SELECT COUNT(*) AS Expr1
FROM Customer
WHERE (Customername = 'SunilSunilAnil'))) AS 'Names'
Output is Coming like this
Names
l's1
But the OutPut Should Come l's3 Becoz three l's are there
Anil Honey 206
21-May-12 7:26am
View
But its the bad way Through Trigger your inserting the values in Table 2 instead of Trigger we can insert through Code.He should maintain Relation ship between two tables.
Anil Honey 206
21-May-12 6:57am
View
How your inserting Empid in first table,Can u give me sample code
Anil Honey 206
18-May-12 7:04am
View
Iam not Getting Claerly about this article can u explain in clear mode
Anil Honey 206
14-May-12 3:23am
View
See Give abt answer to My Questions Not abt my Personal.I hope its Not SO Madatory....
Anil Honey 206
9-May-12 0:11am
View
See actually i created one Username password Form in Windows Mobile and i created one Webservice application in that iam accessing my database and Methods.Now iam calling Userdetail() metho in Mobile application by adding WebReference.But the Exception is coming not connect to Remote Connection
Anil Honey 206
9-May-12 0:07am
View
But how the Anti Virus Software is Working..... its Updates every Session.
Anil Honey 206
4-May-12 8:22am
View
Begin
select * from SchoolDetailsInfo where strSchoolName LIKE '%' + @SchoolName +'%'
End
u use this in stored procedure
Anil Honey 206
4-May-12 8:18am
View
cmd.parameters.Add(New sqlparameter("@search" "%" +search+"%"));
this line is wrong ur not set the Properties that's why sql injection will effects.Frist u set the property for that search .Then it will work fine.
Anil Honey 206
4-May-12 8:05am
View
U ask that to store the value in label text
Anil Honey 206
4-May-12 8:05am
View
What is Literal it is any inbuilt class file
Anil Honey 206
4-May-12 7:43am
View
Seen in this Code first ths Username and MailID Should match based on that we wil retrieve the related Password frst u pass the usernamse and mail id to this Function.Ur Using stored Procedures and 3 tier architecture right.
Anil Honey 206
4-May-12 7:16am
View
What Exactly
u
you want?
U
You want to send mail to multiple users at a time.
Anil Honey 206
3-May-12 2:07am
View
I want to Update WebService Reference in Client Machine
Anil Honey 206
1-May-12 8:29am
View
Could not find a part of the path 'D:\Tz21-Projects\ImportExport\Export_Trc_Files\Staff_Individual_Data\'. iam getting this error in expection
Anil Honey 206
1-May-12 8:24am
View
please can u explain in brief
Anil Honey 206
30-Apr-12 7:42am
View
can u tell me how to convert zip file into byte array
Anil Honey 206
25-Apr-12 3:12am
View
Thank You for giving valuable information
Anil Honey 206
26-Dec-11 6:50am
View
You can Use Same SubPage.Same like that which your using Sub page in first Master Page.
Anil Honey 206
26-Dec-11 6:31am
View
Try this it works.......
Anil Honey 206
26-Dec-11 6:26am
View
you know the way how to take connectionstring of msacess?
Anil Honey 206
29-Nov-11 5:01am
View
iam getting error object cannot be null value.
Anil Honey 206
29-Nov-11 4:44am
View
Why so.is there any problem if we use this format.
Anil Honey 206
29-Nov-11 1:40am
View
But Divide/Zero exception is coming in query
Anil Honey 206
29-Nov-11 0:57am
View
ThankYou Sachin.
Anil Honey 206
16-Nov-11 4:33am
View
where should i put the solution in my query
Anil Honey 206
11-Nov-11 1:04am
View
Actually i Dont know the Depth Concept Regarding this.So now i want to show the table ion Horizontal Fomat.In Reports i want to Display
txage:Below6 6 7 8 9
Total: 3 7 11 18 19
in Horizontal Manner.
Anil Honey 206
11-Nov-11 0:50am
View
Can u give me any other Article.Due to security reasons i cant open this link
Anil Honey 206
10-Nov-11 3:24am
View
you want to Implement AutoComplete Extender or Normal TextBox.
Anil Honey 206
10-Nov-11 1:09am
View
I got It Thanx a Lot..........
Anil Honey 206
10-Nov-11 1:09am
View
I got It Thanx a Lot..........
Anil Honey 206
9-Nov-11 22:49pm
View
So Now i want to Replace Frist Letter with Capital Remainning small means anil should convert Anil.How should Replace?
Anil Honey 206
9-Nov-11 22:49pm
View
So Now i want to Replace Frist Letter with Capital Remainning small means anil should convert Anil.How should Replace?
Anil Honey 206
9-Nov-11 7:07am
View
Than YOU....
Anil Honey 206
9-Nov-11 1:50am
View
Ok Sure i will accept Your Answer.
Anil Honey 206
9-Nov-11 0:15am
View
Thax For Your Suggestion
Anil Honey 206
8-Nov-11 2:31am
View
Thanx its working thank You VeryMuch.......
Anil Honey 206
7-Nov-11 22:39pm
View
OK Thanks But when i Encrypt the Url.The statusBar also Should Encrypt at a Time.
Anil Honey 206
7-Nov-11 22:08pm
View
What is the Use of This.Can u Explian Me.Is this will Encrypt the Status Bar.
Anil Honey 206
7-Nov-11 6:56am
View
Deleted
I Have a Task like that.So i should do like that Only.
Anil Honey 206
7-Nov-11 6:55am
View
But I have a Task like that.So i should Do like that.
Anil Honey 206
7-Nov-11 6:54am
View
No i created Class file for that For Encrypting and Decrypting the Url
Anil Honey 206
7-Nov-11 6:46am
View
Actually iam Encrypting the Url.But the StatusBar is Showing the information of Encrypting Url on MouseOver.So i want to Encrypt the StatusBar.
Anil Honey 206
6-Nov-11 23:56pm
View
Can you Provide Some Code Regarding This.
Anil Honey 206
4-Nov-11 2:12am
View
How Your Going to Edit.Your Going to Edit in Gridview or By selection Index changed through controls Your Going to Edit.
Anil Honey 206
3-Nov-11 5:51am
View
See If dataset having any Null Values That Value Should Replace with NotApplicable and then Bind to Datalist.That only i have done.Still you have any Problems with that code Replace with
if (dt.Rows[i][j].ToString()==" ")
{
multiarray[i, j] = "NotApplicable.";
}
It will work
Anil Honey 206
3-Nov-11 5:49am
View
Ok Next Onwards i will not Do That.
Anil Honey 206
3-Nov-11 5:48am
View
Deleted
Ok Next Onwards i will not Do That.
Anil Honey 206
3-Nov-11 4:11am
View
So you want to show Null values in your Datalist That means NotApplicable.
Anil Honey 206
2-Nov-11 2:23am
View
Same to You Have a Nice Day.
Anil Honey 206
1-Nov-11 1:48am
View
Deleted
Through Parameter for Encryption i have written one class file.Its Works Fine where Response.Redirect("") another page.But if i want to Redirect with in the page in pageload.But my Encryption class file it check everything in my application.In page Respose.Redirect("samepage.aspx").The page is hanging.Iam encrypting only parameter sample code:
try
{
if (!IsPostBack)
{
Form.Action = QuertStringModule.Encrypt(Request.Url.ToString()); Response.Redirect("ManageUser.aspx?ID=1"); } } catch (Exception ex)
{
ex.ToString();
}
But the page is hanging.butif i redirect the page its working fine.
Anil Honey 206
1-Nov-11 1:45am
View
Through Parameter for Encryption i have written one class file.Its Works Fine where Response.Redirect("") another page.But if i want to Redirect with in the page in pageload.But my Encryption class file it check everything in my application.In page Respose.Redirect("samepage.aspx").The page is hanging.Iam encrypting only parameter
sample code:
try
{
if (!IsPostBack)
{
Form.Action = QuertStringModule.Encrypt(Request.Url.ToString());
Response.Redirect("ManageUser.aspx?ID=1");
}
}
catch (Exception ex)
{
ex.ToString();
}
But the page is hanging.butif i redirect the page its working fine.
Anil Honey 206
31-Oct-11 23:43pm
View
i think that connectionstring path is not correct check once.
Anil Honey 206
31-Oct-11 7:36am
View
in your code you have taken sqlnamespace
using System.Data;
using System.Data.SqlClient;
you include this namespaces
Anil Honey 206
31-Oct-11 7:35am
View
You try like this.
private string conString = "Data Source=XP\SqlServer; Data Base= ApplicationDB; Integrated Security=true;";
SqlConnection sqlCon;
sqlCon = new SqlConnection(conString);
it will work
Anil Honey 206
31-Oct-11 7:02am
View
You want in c# or vb.net
Anil Honey 206
31-Oct-11 5:05am
View
Ok friend u want example to pass stored Procedures
Anil Honey 206
31-Oct-11 4:19am
View
This code u can pass queries.If u want to pass stored Procedure.YOU should change the methods.
Anil Honey 206
31-Oct-11 4:18am
View
S like we can make our methods inside class file.We can use lot of methods in it.
Anil Honey 206
31-Oct-11 1:42am
View
Actually If User Implementing 3tier or ntier Architecture You Should Use Dal Concept Only.So Another way is there that is 2tier architecture we dont have any class files.Directly we can write the code in asp.cs file.But that is not the good way.If u want i can give sample.Just analize it.
Anil Honey 206
28-Oct-11 1:14am
View
Iam Not Archana iam Anilkumar Archana is My Sister.
Anil Honey 206
28-Oct-11 0:59am
View
Dear Friend Dal is Not A Predifined class you should define your Own Class for that.Your Going to Implement Three tire Architecture.So frst you search through Google How to implement dataacess layer in your Project.
Anil Honey 206
27-Oct-11 5:30am
View
Its Correct.
Anil Honey 206
27-Oct-11 5:17am
View
How your Getting other feilds in Gridview same like that only.So you analize that copncept how Your fetching the data.
Anil Honey 206
27-Oct-11 5:15am
View
For this you should have DataacessHelper class that is Dal u have that one
Anil Honey 206
27-Oct-11 4:26am
View
Excuseme sir,
How to Insert in this format in c# 27 Oct 2011 1:59 AM
Anil Honey 206
27-Oct-11 4:17am
View
Ur using Stored Procedures in your Class file.If your Using Class file then you should set properties for that means if for district you sholud give one propert for that and also for Mandal then u can pass the values and get the values.
Anil Honey 206
27-Oct-11 2:53am
View
What architecture ur using 3tier or 2tier Ur not setting any properties in your class file.
Anil Honey 206
27-Oct-11 1:59am
View
He Should Work on that Issue.Then only he can undersatnd.
Anil Honey 206
27-Oct-11 1:42am
View
Its Good
Anil Honey 206
25-Oct-11 3:04am
View
You want to Find Controls on Your Page and based on that controls you want to find or save the data?
Anil Honey 206
25-Oct-11 0:22am
View
What Marcus said is correct.
Anil Honey 206
20-Oct-11 4:17am
View
But my Intention is if anyBody Copy or save or Drag the Image.The Image Should be Display in Scrap or he cant see the Preview of Image.
Anil Honey 206
19-Oct-11 4:46am
View
you want to display youtube vedios or anything else?
Anil Honey 206
17-Oct-11 7:22am
View
you want code for this or? or any problem your facing?
Anil Honey 206
17-Oct-11 7:18am
View
QUESTION IS NOT CLEAR
Anil Honey 206
17-Oct-11 4:51am
View
exactly its correct
Anil Honey 206
17-Oct-11 4:45am
View
Question is not clear?
Anil Honey 206
12-Oct-11 7:06am
View
You want to search Data in Gridview or any other Control so we can Help you.
Anil Honey 206
11-Oct-11 7:07am
View
Correct Answer.
Anil Honey 206
10-Oct-11 5:29am
View
Give in Technical Way.If u give like this People feel that Your Not A Software Professional.
Anil Honey 206
5-Oct-11 4:38am
View
Thank u But can u give me small Example code in c# with asp.net so i can implement.
Anil Honey 206
30-Sep-11 7:09am
View
Thanks for Your Suggestion.So if i develop exe file for my windows application.I will install that Exe in my 4 pcs.So aboutt my database i will hold in another Pc.So how can i Use this appliaction in 4 Pcs.What about the Connection String.I should Deploy application in LAN?
Anil Honey 206
30-Sep-11 0:57am
View
thanks a lot............
Anil Honey 206
30-Sep-11 0:57am
View
Thank Your Very Much.Its Working
Anil Honey 206
28-Sep-11 7:37am
View
First You Think......... Analize all Oops Concepts and give me one real time Example?
Anil Honey 206
28-Sep-11 6:09am
View
Bank Atm that is the best example of Oops.Total OOPS concepts is involved in that Atm Just analize........
Anil Honey 206
27-Sep-11 7:55am
View
With out Opps software industry is not there.So can u give me the best example of Oops?
Anil Honey 206
27-Sep-11 5:57am
View
No One will send Project along with source code.If u have any projects in your Project.we will try to rectify.
Anil Honey 206
27-Sep-11 5:51am
View
Oh Thats Good My Suggesstion go for Java.But for Java Oops should be Strong.Concentrate on Oops.
Anil Honey 206
26-Sep-11 0:54am
View
good
Anil Honey 206
23-Sep-11 5:15am
View
thanks its working but i have written this query
SELECT DISTINCT Emailid,
(SELECT TOP (1) StoreUserId
FROM StoreUserEmails AS StoreUserEmails1
WHERE (Emailid = StoreUserEmails2.Emailid)) AS StoreUserId
FROM StoreUserEmails AS StoreUserEmails2
Anil Honey 206
23-Sep-11 4:47am
View
But i want along with primary key id
ex:1 anil@gmail.com
2 anil@gmail.com if execute any query the result should come
1 anil@gmail.com
for this i want query along with id.
Anil Honey 206
20-Sep-11 23:26pm
View
good
Anil Honey 206
20-Sep-11 7:14am
View
i agree
Anil Honey 206
19-Sep-11 0:41am
View
Iam not Getting what your Asking.What is Led?
Anil Honey 206
16-Sep-11 8:19am
View
not like iam sendind object like image or file any object.window.print will take current object.
Anil Honey 206
7-Sep-11 23:44pm
View
What u said is Correct But iam facing some problem in Button event fires the cursor should be wait.i have written like this ImageButton2.Attributes.Add("onClick", "javascript:return doHourglass()"); from javascript iam calling.So after Completing the Button event i have used one dailogbox means if (ret == DialogResult.OK)
{
GenerateReport(sfg.FileName.ToString());
ImageButton2.Attributes.Add("onClick", "javascript:return doHourglass1()");
}
sfg.Dispose();
doHourglass() is for wait
doHourglass1() is for default.
But its not working after Deafault also the cursor is still in wait position.Iam not gettting where iam doing mistake.
Anil Honey 206
7-Sep-11 23:26pm
View
I agree with u it is right.Ur sending Parameters its the good way to write.But in my coding iam not sending parameters values.Iam directly sending the values.Sql injections attacks to my code.But iam not thinking about standards.
Anil Honey 206
6-Sep-11 8:23am
View
Hello Brother i can Post Code of 3tier and Ntier Architecture.But the Person Should learn from Bascis.What is what ok then he will inceares his coding levels.Directly if i wrire the 3tier architecture concepts he will confuse.
Anil Honey 206
6-Sep-11 8:15am
View
Its A basic Code ok
Anil Honey 206
6-Sep-11 8:13am
View
I Agree with Your Answer
Anil Honey 206
6-Sep-11 1:36am
View
i have not read the question Properly
Anil Honey 206
2-Sep-11 5:41am
View
Yes what u said is correct in Coding Iam not Getting Logic
Anil Honey 206
2-Sep-11 5:18am
View
But i want in Asp.net with c# Means throgh FileUpload Concept i will Upload the Msacaess Database and I will take Import Button.From thie Button i should convet msacess database to sqlserver database.This Should be done through coding Only.
Anil Honey 206
2-Sep-11 2:54am
View
NO Its Not Open i have checked but the Exception is coming
Anil Honey 206
2-Sep-11 1:44am
View
i want in asp.net with c#
Anil Honey 206
2-Sep-11 1:44am
View
i want in asp.net with c#
Anil Honey 206
31-Aug-11 7:23am
View
So its Impossible to Open the Dll code
Anil Honey 206
31-Aug-11 6:18am
View
its Correct.
Anil Honey 206
31-Aug-11 5:52am
View
iam not Getting what your Asking.
Anil Honey 206
29-Aug-11 7:53am
View
You want Website Portal or... Something Else
Anil Honey 206
29-Aug-11 2:48am
View
Dear Abhinav,
Iam using DevExpress Control TextBox for that TextBox there is no OnkeyPress Property.In Normal asp.net Textbox Having onkeypress Property thats the Problem.SO Iam Unable to write the onkeyPress Event in DevExpress textBox.
Anil Honey 206
26-Aug-11 8:01am
View
Correct It will work
Anil Honey 206
26-Aug-11 7:49am
View
With Out Seeing The Code we Cant Analize The Code.
Anil Honey 206
26-Aug-11 7:00am
View
For that Code Only Gmail will Work if u want for Yahoo go for Yahoomail.Replacing Gmail to Yahoo.Bcoz End User should be One Credential only.
Anil Honey 206
26-Aug-11 2:17am
View
SO I Should Put any Condiction while Iam Creating Trigger.
Anil Honey 206
26-Aug-11 2:13am
View
Its Ok But i want to See where the Trigger Fires when iam inserting the Data Just now only i executed My Code.But iam not Getting the Difference.I want the Drifference of Triggers.
Regards,
Anilkumar.D
Anil Honey 206
26-Aug-11 2:07am
View
Thanks Shameel ThankYou VeryMuch.
Anil Honey 206
25-Aug-11 7:48am
View
It is Good But Under CityId MunicipalityId Should Come Bcoz City is the Main Preference.In one City we can Get Lot of Municipalities.
Anil Honey 206
25-Aug-11 7:41am
View
it will work
Anil Honey 206
19-Aug-11 8:24am
View
Its Correct.
Anil Honey 206
19-Aug-11 7:54am
View
Good Thinking.
Show More