Forum: ASP.NET 7 Days Ago |
| Replies: 2 Views: 229 Use this link - http://www.developerfusion.com/tools/convert/csharp-to-vb/
Dim photoStream As Stream = PhotoUpload.PostedFile.InputStream
Dim photoLength As Integer =... |
Forum: ASP.NET 7 Days Ago |
| Replies: 2 Views: 200 Handle SelectedIndexChanged event and set AutoPostBack=true for DropDownList1. |
Forum: ASP.NET 8 Days Ago |
| Replies: 2 Views: 185 Nested loop is a problem.
For i = 0 To 2
LabelArray(i).Text = word(i)
Next
or |
Forum: ASP.NET 8 Days Ago |
| Replies: 3 Views: 258 Property IsPostBack (http://msdn.microsoft.com/en-us/library/system.web.ui.page.ispostback.aspx) : It indicates whether the page is being rendered for the first time or is being loaded in response to... |
Forum: ASP.NET 10 Days Ago |
| Replies: 2 Views: 288 >So when i click login button, those 2 fields must be checked with database.
Use SQL Select statement with where clause.
>and if the information is correct it must login.
You have to use... |
Forum: ASP.NET 20 Days Ago |
| Replies: 2 Views: 381 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 21 Days Ago |
| Replies: 7 Views: 439 ControlToValidate property,
<asp:ListBox ID="ListBox1" runat="server"></asp:ListBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
... |
Forum: ASP.NET 21 Days Ago |
| Replies: 7 Views: 439 Use RequiredFieldValidator. |
Forum: ASP.NET 29 Days Ago |
| Replies: 1 Views: 319 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 30 Days Ago |
| Replies: 6 Views: 387 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 30 Days Ago |
| Replies: 4 Views: 518 Use ImageButton and TemplateField - ImageButton has both ImageUrl and PostBackUrl property. |
Forum: ASP.NET Nov 7th, 2009 |
| Replies: 1 Views: 332 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/... |
Forum: ASP.NET Nov 7th, 2009 |
| Replies: 5 Views: 634 To deploy asp.net web application you need IIS. Take a look at this article - Creating Virtual Directories in IIS.... |
Forum: ASP.NET Nov 6th, 2009 |
| Replies: 1 Views: 308 Take a look at - http://exploding-boy.com/images/cssmenus/menus.html |
Forum: ASP.NET Nov 5th, 2009 |
| Replies: 4 Views: 247 You may use FieldCount property of DataReader or Count property of DataTable's columns collection. |
Forum: ASP.NET Oct 1st, 2009 |
| Replies: 4 Views: 611 It's a sticky footer.
<html>
<head>
<style>
* {margin: 0; padding: 0}
html, body, #wrap {height: 100%}
body > #wrap {height: auto; min-height: 100%}
#main... |
Forum: ASP.NET Sep 4th, 2009 |
| Replies: 9 Views: 531 Use Convert.ToBase64String method. |
Forum: ASP.NET Sep 2nd, 2009 |
| Replies: 7 Views: 330 Use FileUpload control. (if are working with .netframeworkd 2.0) |
Forum: ASP.NET Aug 17th, 2009 |
| Replies: 2 Views: 227 Please read this article - http://www.lowest-price-web-hosting.com/articles/create-a-website.shtml |
Forum: ASP.NET Aug 17th, 2009 |
| Replies: 2 Views: 342 Set CausesValidation property of button. If CausesValidation is False: ASP.NET will ignore the validation controls, the page will be posted back, and your event-handling code will run normally. |
Forum: ASP.NET Aug 16th, 2009 |
| Replies: 1 Views: 226 Use RequiredFieldValidator control. |
Forum: ASP.NET Aug 3rd, 2009 |
| Replies: 6 Views: 339 Did you get solution of your problem? If yes then mark this thread as solved. If it is not resolved then ask us. |
Forum: ASP.NET Aug 1st, 2009 |
| Replies: 6 Views: 339 anuj576,
88th post and you forgot to use code tags.
chithrasujith,
Source code must be wrap up with bb code tags.
.... |
Forum: ASP.NET Aug 1st, 2009 |
| Replies: 5 Views: 745 nikhil31888,
Post source code with bb code tags. for example,
... |
Forum: ASP.NET Aug 1st, 2009 |
| Replies: 5 Views: 745 Donish,
You must read ASP.NET Page life cycle. (http://msdn.microsoft.com/en-us/library/ms178472.aspx) |
Forum: ASP.NET Jul 22nd, 2009 |
| Replies: 6 Views: 614 nccsbim071,
Handlers or module may help you. |
Forum: ASP.NET Jul 22nd, 2009 |
| Replies: 4 Views: 248 No need to pass argument to the javascript function.
<input type="checkbox" name="choice" value="30" onclick="checkTotal()"/> (30.00)<br> |
Forum: ASP.NET Jul 22nd, 2009 |
| Replies: 6 Views: 516 Write following code:
if(Session["shopingCart"]!=null) {
GridView1.DataSource=(List<string>)Session["shopingCart"];
GridView1.DataBind();
} |
Forum: ASP.NET Jul 20th, 2009 |
| Replies: 9 Views: 798 Try this code:
Dim Cn as new OledbConnection(".....")
Dim Cmd as New OledbCommand("select eno from emp where eno='" & txtEno.Text & "'",cn)
Cn.Open()
Dim obj as Object... |
Forum: ASP.NET Jul 18th, 2009 |
| Replies: 3 Views: 443 break; - no need to post source code.
sonia sardana - read this,
http://catb.org/esr/faqs/smart-questions.html |
Forum: ASP.NET Jul 18th, 2009 |
| Replies: 9 Views: 798 ctyokley,
Select query with where clause. |
Forum: ASP.NET Jul 15th, 2009 |
| Replies: 6 Views: 348 ctyokley,
>Format of the initialization string does not conform to specification at Index 33.
Where ? |
Forum: ASP.NET Jul 14th, 2009 |
| Replies: 6 Views: 2,525 Ana D.
Did you work out on that issue? Which database are using? Post your code if you have. |
Forum: ASP.NET Jul 12th, 2009 |
| Replies: 7 Views: 1,464 Use Eval format option.
... ImageUrl='<%# Eval("T1","~\\imgs\\{0}") %>' .. |
Forum: ASP.NET Jul 10th, 2009 |
| Replies: 1 Views: 347 Derice,
You may use database or file (flat) or XML. But I think database will be good choice. |
Forum: ASP.NET Jul 8th, 2009 |
| Replies: 3 Views: 474 Thanks,
Mark this thread as Solved if you get solution. |
Forum: ASP.NET Jul 8th, 2009 |
| Replies: 3 Views: 474 VinayRok,
Do not use UpdatePanel to upload an image. Try it without using UpdatePanel.
Use code tags.
>How?
- see
.... statements.... |
Forum: ASP.NET Jul 1st, 2009 |
| Replies: 2 Views: 414 Vizy,
Do you want to show a div (UpdateProgress) first and then after show an alert?
Post your code. |
Forum: ASP.NET Jul 1st, 2009 |
| Replies: 8 Views: 555 skullish,
Use ~ root operator. Is your application running under IIS 5/6? If yes then set write permission to that folder for Users group.
1. Create a folder in your root of web application -... |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 6 Views: 529 Did you work out on that issue? Post your code. |