|
|
thnks for help..i will check them..
do we find anything at msdn which is installed locally if any please say me the topic or how to find it.i tried seaching for "ssl" but i got so much useful response.
enjoy..
|
|
|
|
|
Just type "SSL" in the Index of MSDN. you will find a lot of articles. eg: How To: Set Up SSL on a Web Server, Web Application Security at Run Time and so on.
Anyway, Google is the best..
|
|
|
|
|
Hi
I have bought a new computer and then I copied my web projects from the old computer to the new one.Then I made virtual directories for these web projects using IIS.
When I want to build an asp.net 2 project(a solution contains a website and a custom library) using visual studio 2005 I got 101 messages some of them is telling me :
Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration'.
When I run the project I got the error message: The website declined to show this webpage.
When I want to open another web project(asp.net 1.1) using visual studio.net 2003 its telling me that the project is on an untrusted server(I don't remember the whole message) then I clicked yes then everything is working normally with this project.
Could any one tell me what could cause all these problems to happend?
I am too late but i will never give up
|
|
|
|
|
TheEagle wrote: Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration'.
Just delete that namespace and you will be fine. It's bug. See http://weblogs.asp.net/scottgu/archive/2005/12/02/432077.aspx[^]
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
Thank you very much for your help...
But there is 4 error messages remain after deleting the namespace:
Could not find schema information for the element 'myCustomSectionName'
and the other three messages are about the elements and attributes that belong to this section in the configuration file.
Could you tell me how to solve this problem?.
I am too late but i will never give up
|
|
|
|
|
hi my dear friends,
i have written code for sorting a datagrid column as given below.but its not working perfectly.please check the code and help me to over come this problem.
thanks
sumith
****************************************************************
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
namespace WebApplication1.images
{
public class sort : System.Web.UI.Page
{
protected System.Web.UI.WebControls.DataGrid DataGrid1;
private void Page_Load(object sender, System.EventArgs e)
{
if (!Page.IsPostBack )
{
BindGrid();
}
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
public void DataGrid_Page(object sender, DataGridPageChangedEventArgs e)
{
DataGrid1.CurrentPageIndex = e.NewPageIndex;
BindGrid();
}
public void DataGrid_Sort(object sender, DataGridSortCommandEventArgs e)
{
DataGrid1.CurrentPageIndex = 0;
SortField = e.SortExpression;
BindGrid();
}
protected String SortField
{
get
{
object o = ViewState["SortField"];
return (o == null) ? String.Empty : (String)o;
}
set
{
ViewState["SortField"] = value;
}
}
void BindGrid()
{
SqlConnection con3=new SqlConnection("server=localhost;Persist Security Info=False;User ID=sa;password=sa;Initial Catalog=vms_database;Data Source=server0");
string CommandText;
if(SortField == String.Empty)
CommandText = "select * from Admin_ringtone order by songname";
else
CommandText = "select * from Admin_ringtone order by" + SortField;
SqlDataAdapter ad = new SqlDataAdapter("select * from Admin_ringtone ",con3);
DataSet ds = new DataSet();
ad.Fill(ds,"Admin_ringtone");
DataGrid1.DataSource = ds;
DataGrid1.DataBind();
}
}
}
|
|
|
|
|
SqlDataAdapter ad = new SqlDataAdapter("select * from Admin_ringtone ",con3);
chnage the above line as
SqlDataAdapter ad = new SqlDataAdapterCommandText ,con3);
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
if (flag == 0)
{
dv.Sort = e.SortExpression + " DESC";
flag = 1;
}
else
{
dv.Sort = e.SortExpression + " ASC";
flag = 0;
}
dv = dt.DefaultView;
DataGriduser.DataSource = dv;
DataGriduser.DataBind();
Sunil Tvl
|
|
|
|
|
I am trying to convert string to datetime but i am getting this error
'String was not recognized as a valid DateTime.'
Here is my code
DateTime dt = DateTime.ParseExact(txtdate.Text, "yyyy.MM.dd", null)
I Love SQL
|
|
|
|
|
hey this is working fine
if you give the value in textbox like 2007.12.23
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
In my textbox date format is dd.Mm.yyyy
I Love SQL
|
|
|
|
|
then change your code like this
DateTime dt = DateTime.ParseExact(txtdate.Text, "dd.MM.yyyy", null);
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
Look, in my app datetime format is 'dd.MM.yyyy' in server i dont know datetime format so how can i compare my date in format 'dd.MM.yyyy' whith date in server whichs format is unknown for my app???
Hope I was clear
I Love SQL
|
|
|
|
|
hey, Give a format to the user whatever the user has to type Like dd.MM.yyyy or yyyy.MM.dd. And put a validation for that textbox. If the user types wrong format notify the user before submitting.
Regards,
Sylvester G
Senior Software Engineer
Xoriant Solutions
sylvester_g_m@yahoo.com
|
|
|
|
|
A date object is standard the non standard piece of it is the format that you save it to the string as. If you put dd.MM.yyyy into a date object it will see it as MM/dd/yyyy hh:mm:ss no matter what so when you compare date to date it looks at that piece. That is why it is better to compare a date to a date instead of a string date to a string date because then you have to worry about yyyyMMdd = MM/dd/yyyy.
Cleako
|
|
|
|
|
Hi , An argent help required.
I am writing XMl file using asp.net , vb.net. When the preview is running and I am submitting a data using XML write, i am getting an error that access denied to the specific file.Please help me as early as possible.
Sandy
|
|
|
|
|
You may try to give "Write" permission to IUSR_MACHINENAME user for that path.
|
|
|
|
|
I have an icon in the data grid. How to display number dynamically on this icon?
I want to display a number dynamically.
Plzzzz help me...
Mads
|
|
|
|
|
Here you given "CustomerServiceRefund.gif" this is an static image, Instead of this static file, Give some dynamic files like .aspx... For example
in the weform1.aspx get the querystring named Value (now value is 3)
using System.Drawing draw the number into the Image Object
Then save the Image object into the response stream
Change the Content-type of the Response object to "bmp/jpg"
Now the webform1.aspx will render Image instead of the Textcontent
--Manikandan.net--
|
|
|
|
|
I have an icon in the data grid. How to display number dynamically on this icon?
<br />
<a href='#' title='View Customer Service Refund Details' onclick=LoadCustomerDetails()><img src='Images/CustomerServiceRefund.gif'></a><br />
I want to display a number dynamically.
Plzzzz help me...
Mads
|
|
|
|
|
|
hi,
I have created a page and added session.After some time,the session expires.I want to find at wat time it is breaking down.
is it possible.
plz help me out.
Thanks in advance
cheers
sangeet
|
|
|
|
|
|
H!,
I am using ASP.NET 1.1.I have a link button in my page which opens a popup window when it is clicked. But when i click it it is causing a postback and the popup window is opening. I need to open the popup window without causing the postback. Popup is opening through javascript function which is set to link button's onclick(client) event through linkbutton's attributes.
Thanks in Advance
Phanindra...
|
|
|
|