Search Results

Showing results 1 to 40 of 300
Search took 0.03 seconds.
Search: Posts Made By: adatapost ; Forum: ASP.NET and child forums
Forum: ASP.NET 3 Days Ago
Replies: 2
Views: 156
Posted By adatapost
You're on your own for holidays, though; .NET doesn't know which dates are holidays where you live.


int days = 0;
DateTime sdt = DateTime.Parse("2/1/2009");
...
Forum: ASP.NET 5 Days Ago
Replies: 4
Views: 201
Posted By adatapost
>No value given for one or more required parameters..

Error message says that your sql statement (query) has irrelevent column name. Show us your code please.

Encase your code in [code] tags.
Forum: ASP.NET 8 Days Ago
Replies: 2
Views: 262
Posted By adatapost
You might want to read the Viewable with any browser (http://www.anybrowser.org/campaign/abdesign.html) and Web Standard checklist. (http://www.maxdesign.com.au/presentation/checklist.htm)
Forum: ASP.NET 9 Days Ago
Replies: 2
Views: 376
Posted By adatapost
>Error: Invalid postback or callback argument.

Event validation - What came back to the server is not what it sent down.

Three possible options. I guess,

1. Disabled the eventvalidation...
Forum: ASP.NET 9 Days Ago
Replies: 1
Views: 309
Posted By adatapost
I have used IO and Collection classes,

.aspx markup

<form id="form1" runat="server">
<div>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
...
Forum: ASP.NET 9 Days Ago
Replies: 2
Views: 293
Posted By adatapost
Store root relative into (daabase) table.

string dpath="~/Images/" + txtPrdId.Text.Trim() + ".jpg";


and use absolute path to save the uploaded file,

string ufile=MapPath("~/Images/" +...
Forum: ASP.NET 9 Days Ago
Replies: 3
Views: 281
Posted By adatapost
You might want to read the ASP.NET and IIS Configuration (http://msdn.microsoft.com/en-us/library/ms178477.aspx).
Forum: ASP.NET 9 Days Ago
Replies: 1
Views: 212
Posted By adatapost
>..view it completely(especially save and cancel button).

Try to set margin or padding. Show us your code please.
Forum: ASP.NET 10 Days Ago
Replies: 3
Views: 265
Posted By adatapost
Redirect webpage according to resolution. Design your webpages for different resolution use javascript to detect the resolution.

screenRes.js

switch(screen.width) {
case 640:...
Forum: ASP.NET 10 Days Ago
Replies: 7
Views: 326
Posted By adatapost
ControlToValidate property,

<asp:ListBox ID="ListBox1" runat="server"></asp:ListBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
...
Forum: ASP.NET 10 Days Ago
Replies: 7
Views: 326
Posted By adatapost
Use RequiredFieldValidator.
Forum: ASP.NET 11 Days Ago
Replies: 2
Views: 314
Posted By adatapost
Please read more (http://msdn.microsoft.com/en-us/library/hbdfdyh7.aspx) about ViewState and Dynamic server controls.


protected void Page_Load(object sender, EventArgs e)
{
...
Forum: ASP.NET 15 Days Ago
Replies: 1
Views: 358
Posted By adatapost
>Can I do something like that? Is it hard to achieve?
Yes you do that using methods of DataSet class and it is very easy.

string file=MapPath("~/text.xml");
DataSet ds = new DataSet();
...
Forum: ASP.NET 15 Days Ago
Replies: 4
Views: 306
Posted By adatapost
Yes, there is a SOAP Fault messsage structure. Read more about SOAP fault - http://msdn.microsoft.com/en-us/library/ms189538.aspx
Forum: ASP.NET 15 Days Ago
Replies: 2
Views: 351
Posted By adatapost
Office interop in .net - http://msdn.microsoft.com/en-us/library/aa192487(office.11).aspx
Forum: ASP.NET 15 Days Ago
Replies: 4
Views: 417
Posted By adatapost
From MSDN article - http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.commandfield.causesvalidation.aspx

SUMMARY:
Use the CausesValidation property to specify whether validation...
Forum: ASP.NET 16 Days Ago
Replies: 1
Views: 294
Posted By adatapost
I really don't think there is any reason to encrypt session. Session state enables you to store and retrieve values for a user as the user navigates ASP.NET pages in a Web application. It is not...
Forum: ASP.NET 16 Days Ago
Replies: 1
Views: 440
Posted By adatapost
Use & (string concat) operator to form a query.


....
oCom.CommandText = "INSERT INTO Children(First,Middle,Last,Ofsted) VALUES ('" & textbox1.text & "','" & textbox4.text & "','" &...
Forum: ASP.NET 17 Days Ago
Replies: 2
Views: 414
Posted By adatapost
You have to configure ItemTemplate and other templates of DataList (http://www.w3schools.com/ASPNET/aspnet_datalist.asp). Take a look at tutorial -...
Forum: ASP.NET 18 Days Ago
Replies: 3
Views: 400
Posted By adatapost
Take a look at http://www.asp.net/ - Microsoft portal site for the ASP.NET development community.
Forum: ASP.NET 18 Days Ago
Replies: 1
Views: 277
Posted By adatapost
Welcome,

Use classes from ADO.NET (http://msdn.microsoft.com/en-us/library/h43ks021(VS.71).aspx) to execute stored-procedures. Take at look at this link -...
Forum: ASP.NET 19 Days Ago
Replies: 1
Views: 287
Posted By adatapost
Take a look at The Power of XmlElement Parameters in ASP.NET Web Methods (http://msdn.microsoft.com/en-us/library/aa480498.aspx).
Forum: ASP.NET 19 Days Ago
Replies: 3
Views: 349
Posted By adatapost
Use ASP.NET Menu (http://msdn.microsoft.com/en-us/library/ecs0x9w5.aspx) control. To change the Menu orientation you can set the Orientation property as follows:

Menu1.Orientation =...
Forum: ASP.NET 19 Days Ago
Replies: 3
Views: 290
Posted By adatapost
print function of JavaScript is needed to print a web page.


..
<script type="text/javascript">
function doit(){
print();
}
</script>
..
Forum: ASP.NET 19 Days Ago
Replies: 4
Views: 342
Posted By adatapost
To develop website/webapp using asp.net, you must have know-how of .net framework, C# or VB.NET language, and html/css/javascript.

Take a look at -...
Forum: ASP.NET 19 Days Ago
Replies: 6
Views: 353
Posted By adatapost
Yes you can change the order of rows using Linq Dataset,

DataTable dt = new DataTable("Test");
dt.Columns.Add("No", typeof(int));
dt.Columns.Add("Name");
...
Forum: ASP.NET 19 Days Ago
Replies: 1
Views: 286
Posted By adatapost
Take a look at wiki - Microsoft SharePoint (http://en.wikipedia.org/wiki/Microsoft_SharePoint).

SUMMARY: SharePoint can be used to host web sites that access shared workspaces, information stores...
Forum: ASP.NET 19 Days Ago
Replies: 4
Views: 478
Posted By adatapost
Use ImageButton and TemplateField - ImageButton has both ImageUrl and PostBackUrl property.
Forum: ASP.NET 19 Days Ago
Replies: 2
Views: 454
Posted By adatapost
You are on the right way. Use web service or vendor (mobile operator) specific api.
Forum: ASP.NET 19 Days Ago
Replies: 1
Views: 361
Posted By adatapost
Read this article - http://www.hanselman.com/blog/HowToSetAnIISApplicationOrAppPoolToUseASPNET35RatherThan20.aspx
Forum: ASP.NET 20 Days Ago
Replies: 1
Views: 263
Posted By adatapost
ASP.NET 2.0 GridView HtmlEncode property of Bound Columns is set to true for security reasons (to prevent xss attacks). I think you are working with 1.1 version.

Take a look at this MSDN article...
Forum: ASP.NET 20 Days Ago
Replies: 2
Views: 357
Posted By adatapost
Try out,

....
for(int i=0;i<ListBox1.Items.Count;)
{
if (ListBox1.Items[i].Selected)
{
CheckBoxList1.Items.Add(ListBox1.Items[i]);
...
Forum: ASP.NET 22 Days Ago
Replies: 1
Views: 314
Posted By adatapost
Take a look at this link - http://forums.asp.net/p/1052310/1516339.aspx
Forum: ASP.NET 22 Days Ago
Replies: 1
Views: 345
Posted By adatapost
Use parameter. Please read this article - http://msdn.microsoft.com/en-us/library/ms247297(VS.80).aspx
Forum: ASP.NET 22 Days Ago
Replies: 2
Views: 471
Posted By adatapost
Use classes of System.Net.Mail namespace.


....
try
{
System.Net.Mail.MailMessage mm=new System.Net.Mail.MailMessage("to@aaa.com","aaa@gmail.com");

mm.Subject = "Subject details";
...
Forum: ASP.NET 22 Days Ago
Replies: 2
Views: 565
Posted By adatapost
You must have to read this article - http://www.codeproject.com/KB/mcpp/helloworldmc.aspx

SUMMARY - ASP.NET does not support Managed C++ but it does support MSIL compiled assemblies.
Forum: ASP.NET 22 Days Ago
Replies: 1
Views: 334
Posted By adatapost
Set SelectedValue property of RadioButtonList control.

...
Me.rblprinter.DataBind()
Me.rblprinter.SelectedValue="Name_of_Printer"
...
Forum: ASP.NET 23 Days Ago
Replies: 2
Views: 331
Posted By adatapost
Turn off client & proxy cache,

protected void Page_Load(object sender, EventArgs e)
{
Response.Cache.SetCacheability(HttpCacheability.NoCache);
if (Session["iskey"] == null)...
Forum: ASP.NET 23 Days Ago
Replies: 1
Views: 500
Posted By adatapost
>Now my issue is I have to pass on the data from the C# to JScript and i m struck here..

Use GMap (http://sourceforge.net/projects/gmapdotnetctl/) asp.net control.

SUMMARY: A custom server...
Forum: ASP.NET 28 Days Ago
Replies: 1
Views: 301
Posted By adatapost
Here is a good article - Adding ASP.NET AJAX to an Existing ASP.NET Application. (http://www.codeproject.com/KB/ajax/EnableAjax.aspx) You will find more details on ajax from http://www.asp.net/ajax/...
Showing results 1 to 40 of 300

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC