15,902,114 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 amit28august (Top 38 by date)
amit28august
20-Apr-12 3:44am
View
Now the rating is back to 4.67........:)
amit28august
19-Apr-12 23:47pm
View
no i have not gone through it.....thanks for link.....:)
amit28august
19-Apr-12 6:30am
View
hey dosent matter.......It solves my prob, for me its always up only.......
amit28august
19-Apr-12 5:42am
View
Millions of thanks to you........i was struggling for last 2 days.....
thanks a lot dear.....
:)
amit28august
19-Apr-12 5:17am
View
hi, thanks for reply, here i am not able to locate these file :sqlfront.h or sqldb.h, where do i get these files.
Also dont want to go for third party tools.
amit28august
12-Jan-12 1:47am
View
I tried this but it gives me only local host name and IP, thats it, It is not all network host connected and only for associated IP list for that host.
amit28august
12-Jan-12 1:30am
View
Deleted
class Program
{
static int upCount = 0;
static object lockObj = new object();
const bool resolveNames = true;
static void Main(string[] args)
{
Stopwatch sw = new Stopwatch();
sw.Start();
string ipBase = "192.168.1.";
for (int i = 1; i < 255; i++)
{
string ip = ipBase + i.ToString();
Ping p = new Ping();
p.PingCompleted += new PingCompletedEventHandler(p_PingCompleted);
p.SendAsync(ip, 100, ip);
}
sw.Stop();
TimeSpan span = new TimeSpan(sw.ElapsedTicks);
Console.WriteLine("Took {0} milliseconds. {1} hosts active.", sw.ElapsedMilliseconds, upCount);
Console.ReadLine();
}
static void p_PingCompleted(object sender, PingCompletedEventArgs e)
{
string ip = (string)e.UserState;
if (e.Reply != null && e.Reply.Status == IPStatus.Success)
{
if (resolveNames)
{
string name;
try
{
IPHostEntry hostEntry = Dns.GetHostEntry(ip);
name = hostEntry.HostName;
}
catch (SocketException ex)
{
name = "?";
}
Console.WriteLine("{0} ({1}) is up: ({2} ms)", ip, name, e.Reply.RoundtripTime);
}
else
{
Console.WriteLine("{0} is up: ({1} ms)", ip, e.Reply.RoundtripTime);
}
lock (lockObj)
{
upCount++;
}
}
else if (e.Reply == null)
{
Console.WriteLine("Pinging {0} failed. (Null Reply object?)", ip);
}
}
}
amit28august
2-Jan-12 4:30am
View
try to use Convert.ToDateTime('Ur_date_variable').ToString("dd-MMM-yyyy");
and then try to insert it.
amit28august
29-Dec-11 3:53am
View
u use string handling functions String.Replace("bin\\release\\","REPORT FOLDER NAME HERE");
take it from ur folder
amit28august
29-Dec-11 3:07am
View
Deleted
provide some more info ..............
amit28august
29-Dec-11 2:21am
View
you can also have cell_update event and have some datatable then take the current value of the date and find the day and update the current row and create another new row to the DT with DateAdd(7) to that cell and then rebind the grid again.
amit28august
29-Dec-11 2:05am
View
check also whether u r having full control...i.e. logged in as admin.
amit28august
29-Dec-11 2:03am
View
if you dont want ur dll to be registered then ucan it as unregister and u can use it, it works fine
regsvr32 /u C:\GPL_NonProd\New\MSDS\bin\Dow.EHS.DCTM.WebService.dll
amit28august
28-Dec-11 23:15pm
View
Hi prob in ur javascript not able to find the control 'country'
change ur html and use 'this' instead of passing the name
onchange="getCountry(this);"
and in javascript change
var y=x.value;
thats it, it will work........:)
amit28august
28-Dec-11 7:22am
View
asp:Label closing is missing
and it works fine man............damm correct........i just change O in onchange tats it and for label. same code i pasted and it is ok........ got to go....work time is over....try man some small prob might b there. just check it, all d best man. Every thing is ok.
amit28august
28-Dec-11 7:01am
View
onchange 'o' looks different chrck the spell........
<select runat="server" onchange="getCountry('country');" id="country" name = "country">
use this over there........
amit28august
28-Dec-11 6:58am
View
its work fine 4 me..... u have to check some prom at ur end only......
amit28august
28-Dec-11 6:43am
View
ya javascripts will work with runat server also. now wats the problem u r facing.
amit28august
28-Dec-11 6:35am
View
include in ur button click this at last to update the label from code behind
lblCountry.Text = country.Value.ToString();
this also works fine.
amit28august
28-Dec-11 6:26am
View
generally if ur server is distributed server then most of the time it is not installed on it. try to find find out with the domain provider.
amit28august
28-Dec-11 6:23am
View
do one thing make select available at code side by making it runat="server" in html
<select runat="server" önchange="getCountry('country');" id="country" name = "country">
<option value ="Japan">Japan</option>
<option value ="Korea">Korea</option>
<option value ="Africa">Africa</option>
</select>
and then u can use
cmd.Parameters["country"].Value =country.Value.Tostring();
to get the selected value
this works fine.
amit28august
28-Dec-11 5:57am
View
check whether the server have installed the crystal reporting services, tat might also be the other problem.
amit28august
28-Dec-11 5:44am
View
<select önchange="getCountry('country');" id="country" name = "country">
<option value ="Japan">Japan</option>
<option value ="Korea">Korea</option>
<option value ="Africa">Africa</option>
</select>
<asp:Label ID ="lblCountry" runat ="server" >
<script language ="javascript" type ="text/javascript">
function getCountry(x)
{
var y=document.getElementById(x).value;
document.getElementById('lblCountry').innerHTML =y;
alert (y);
}
</script>
You try first with this normal code then u go with ur databse assinment.
amit28august
28-Dec-11 5:41am
View
yes, lblCountry is updating onchange of select dropdownlist.
amit28august
28-Dec-11 5:22am
View
missing .dll in bin directory...copy .dll related to the crystal reports. or missing references.
amit28august
9-Aug-11 0:45am
View
thanks
amit28august
17-Jun-11 0:23am
View
no dude u can do all the stuff with the DataSourceID,
amit28august
17-Jun-11 0:21am
View
it has to load initially, then when u fire any other event, it should get reload, otherwise it will lost its current state, check it up, or u can send me ur whole page code
amit28august
16-Jun-11 9:39am
View
always welcome dude
amit28august
16-Jun-11 9:21am
View
where u want to do ......... in windows form or in asp.net
amit28august
16-Jun-11 9:16am
View
if (Session["ssnLoginName"] != null)
{
intLoginID = int.Parse(Session["ssnLoginID"].ToString());
wlblLoginName.Text = Session["ssnLoginName"].ToString();
}
else
{
Response.Redirect("../Loginweb.aspx");
}
amit28august
16-Jun-11 9:15am
View
ya in the page load event of each page
amit28august
16-Jun-11 9:11am
View
no the browser creates a different session for every session start event.
amit28august
16-Jun-11 8:41am
View
dude u have check for the value coming from database....whether it is a integer or string...thats what the error says.....
amit28august
16-Jun-11 8:39am
View
can u give me the error, or check for some control, is it missing with runat tag
amit28august
16-Jun-11 8:02am
View
This Function will return row by row value......... in the @item table created above as a temp table on the basis of the split character u pass
amit28august
16-Jun-11 6:39am
View
would it worked
amit28august
31-May-11 5:21am
View
use fileupload control.
Show More