I can't access to this address if root string http://localhost/project/picture/aks-13 but I recive this string E:\mgh\AmirKabir\ASP.NET\Project\Picture\aks-13
mghiassi
Posts
-
How can I use server.mappath -
Textbox default LanguageHello It set in Windows Language but you can set direction and text-align with css like this .txt { direction:rtl; text-align:right; } then in aspx file in heading section you must write this code <link href="StyleSheet.css" type="text/css" rel="Stylesheet" />
-
How can I use server.mappathHello, I wrote this code string root = Server.MapPath("~/"); or string root = Server.MapPath("/Project"); but it does not work what's the problem?
-
How to use DropDownList with C#.NETHi all, I want to use a DropDownList control and set this property In Page_Load event: ddl.DataTextField="Adminicle"; ddl.DataValueField="CodeAdminicle"; ddl.DataBind(); In SelectedIndexChanged event: row=ddl.SelectedItem.Value but no row was selected. what should i do?
-
DropDownList with C#.NETHi all I wamt to use a DropDownList with ASP.NET.My code like this: in Page_Load event: ddlAdminicle.DataTextField = "Adminicle"; ddlAdminicle.DataValueField = "CodeAdminicle"; ddlAdminicle.DataBind(); and in accept event: row = Convert.ToInt16(ddlAdminicle.SelectedItem.Value); but items didn't selected what should i do?
-
Pleasehelp me for SSL and DropDownListHi all, I have two Problem please help me. One: I want secure pages and i wrote this code for it <authentication mode="Forms"> <forms name="myCookie" timeout="30" loginUrl="English.aspx" defaultUrl="_Default.aspx"> <credentials passwordFormat="Clear"> <user name="myUserName" password="myPassword"/> </credentials> </forms> </authentication> <authorization> <allow users="myUserName"/> <deny users="?"/> </authorization> but I don't access to _Default.aspx page. Two: I want a DropDownList that AutoPostBack property is true and i wrote this code for select an item: protected void ddlField_SelectedIndexChanged(object sender, EventArgs e) { row = myFunction(2, ddlField.SelectedItem.Text);//row select index in database DT_SelectAdeptP = TA_SelectAdeptP.GetData(1, row); ddlAdept.DataSource = DT_SelectAdeptP; ddlAdept.DataTextField = "Adept"; ddlAdept.DataBind(); } but this code didn't execute and page is loading agian Please help me. Thanks in advance.
-
Secure page with C#.NETHi all, I want secure pages with C#.NET and I write this code in web.config for this prepose <authentication mode="Forms"> <forms name="myCookie" loginUrl="login.aspx" timeout="30"> <credentials passwordFormat="Clear"> <user name="myUserName" password="myPassword"/> </credentials> </forms> </authentication> <authorization> <allow users="yekdose"/> <deny users="?"/> </authorization> but in the first page I didn't access to another pages. Please hlp me. Thanks in advance.
-
[Message Deleted][Message Deleted]
-
I want to use CSS with c# windows applicationyou can not use css in windows application
-
Problem With Grid View Headeryou can use this code <asp:GridView ID="GridView1" runat="server"> <Columns> <asp:ButtonField ButtonType="Button" Text="Button" /> </Columns> </asp:GridView>
-
How to Use DataSet in C#I make DataSet By Wizard but when I want to use this DataSet in my application,C# does not know DataSet and not show method and properties
-
SQL SERVER .sql script file to DB2 DBMSyou can use import statement,this means you can run .sql file and then and you must import .mdf file
-
How to Use DataSet in C#Hi all, I use C# and SQL Server,I make DataSet by QueriesTableAdapter but I don't know how can use DataSet in C# program when i use Wizard DataSet
-
radio buttos in datagrid source using vb.net2.0<asp:DataGrid ID="DataGrid1" runat="server"> <Columns> asp:TemplateColumn <ItemTemplate> <asp:RadioButton /> </ItemTemplate> </asp:TemplateColumn> </Columns> </asp:DataGrid>
-
Need to create tables with different cultureyou must use two table with foreign key in another table. One table include (SeedID,FirstName,LastName,Gender and CultureID foreign key) and another table include(CultureID PrimeryKey,Culture)
-
How to work with style element in WebBrowser controlYou can use CSS Class(Cascading Style Sheet) for control it.
-
ArrayControl [modified]Please help me. I use Visual c# 2005. I want to use some control with same name and diffrent index like control array. Please tell me i can use what property of controls like DropDownList Thanks in advance. -- modified at 14:57 Monday 13th August, 2007
-
String ConcatenationHi, You can use String.Concat
-
How can i use Process.StartHi all, How can i use Process.Start that when i right click or click in a LinkButton the Internet Explorer opens in new window Thanks in advance
-
Trouble connecting to SQl server 2005Hi, You should connect to SQL Server by SQL Server Authentication(User sa) and not Windows Authentication.