Forum: ASP.NET 9 Hours Ago |
| Replies: 2 Views: 98 why dont you try to manipulate the sql query
Select FirstName + ' ' + MiddleName + ' ' + LastName As [Name] From Student |
Forum: ASP.NET 11 Days Ago |
| Replies: 5 Views: 254 Like this ?
Dim NoList As String()
Dim I As Byte
NoList = Split(TextBox1.Text.Trim, ",")
For I = 0 To NoList .Length - 1
Response.Write(" This is index " & CStr(i))
... |
Forum: ASP.NET 17 Days Ago |
| Replies: 1 Views: 258 Using Stored Procedure
or
use my way, replace ' to ` :$
TextBox1.Text = Replace(TextBox1.Text,"'","`") |
Forum: ASP.NET 28 Days Ago |
| Replies: 2 Views: 288 Try to check your fields table structure....Need to enlarge the columns width |
Forum: ASP.NET 28 Days Ago |
| Replies: 2 Views: 315 For #1:
I think, you don't need anything to autosize it, because it's automatically autosize. Make Width property null or blank.
for #2:
In my way, I use ClassCSS property.
I created CSS file... |
Forum: ASP.NET Sep 30th, 2009 |
| Replies: 3 Views: 214 I think, fields on the form represent fields on table.....
If you insist to capture all fields from form, use temporary table or send sessions to crystal report by using formula, but use session... |
Forum: ASP.NET Sep 29th, 2009 |
| Replies: 3 Views: 214 try to use Crystal Report or Reporting Services |
Forum: ASP.NET Sep 28th, 2009 |
| Replies: 1 Views: 226 please see the bold-red text. Hope I can help you :) |
Forum: ASP.NET Sep 28th, 2009 |
| Replies: 1 Views: 352 Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Panel1.Width = 400
Panel1.Height = 400
End Sub |
Forum: ASP.NET Sep 28th, 2009 |
| Replies: 4 Views: 874 You need to use AJAX.Net for that I think. |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 1 Views: 306 Have you succeded to retreive tblCountry in DropDownList control? |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 4 Views: 874 If you have save the ID in session, you can directly use it
Dim SQL As String = "SELECT * FROM Trx WHERE ID = '" & Session("ID") & "'
but, just my suggestion, try to avoid using sessions. For... |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 3 Views: 383 It's happened to me also, then I changed the frameset file to .aspx |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 1 Views: 366 I hope I can help you :)
In ASPX form
<head runat="server">
<title>...</title>
<link rel="stylesheet" href="../../MyStyle.css" type="text/css" />
<meta name="DownloadOptions"... |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 3 Views: 220 maybe, you forget the red-bold one text.
thanks |
Forum: ASP.NET Aug 27th, 2009 |
| Replies: 4 Views: 214 how if like this :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If session("UserID").ToString.Trim = "" Then
... |
Forum: ASP.NET Jul 30th, 2009 |
| Replies: 1 Views: 390 Dear all,
I have a problem for my session state.
Previously, I used session state InProc, but because CPU usage was very high cause IIS sometimes restarts, so I changed it to SQLServer.
but... |
Forum: MS SQL Jul 23rd, 2009 |
| Replies: 1 Views: 395 Dear all,
Sorry, if this Thread is wrong room :$ .
I want to return a field value from a table, so I created a function like this :
CREATE FUNCTION dbo.CheckStatusTrx(@TransNo Varchar(20))... |
Forum: ASP.NET Jul 22nd, 2009 |
| Replies: 4 Views: 329 You may use JavaScript function.
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<script language="JavaScript">
function openWindow()
{
var w... |
Forum: ASP.NET Jul 22nd, 2009 |
| Replies: 5 Views: 736 Hi, please adjust with your purpose.
I hope I can help you.
:)
Protected Sub CmdTD_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CmdTD.Click
... |
Forum: ASP.NET Jul 16th, 2009 |
| Replies: 1 Views: 355 Dear all friends,
I have Crystal Report file, just call RptCustomerMaster.rpt that displays Customer ID, Customer Name, Telp No, Email Address, Account Officer,
In my report, I want users to be... |
Forum: ASP.NET Jul 6th, 2009 |
| Replies: 2 Views: 241 :) just use the default setting from ASP.NET web.config. Because there is no "connection string" if you use default web config. |
Forum: ASP.NET Jul 2nd, 2009 |
| Replies: 0 Views: 448 Dear all,
I have a problem with AJAX.Net.
Now, all my program forms use Anthem.Net. But, Anthem.Net gets problem in IE7 (dropdownlist shrunks and Anthem.Net doesn't provide date picker).
So, I... |
Forum: ASP.NET Jul 1st, 2009 |
| Replies: 2 Views: 619 Hi YellowDog,
I want to try to help you...hope this helpful
from parent page :
Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles... |
Forum: ASP.NET Jul 1st, 2009 |
| Replies: 5 Views: 523 Ehmm.....still could not solve my problem...
I don't get at where my mistake is :'( :( :-/ |
Forum: ASP.NET Jun 29th, 2009 |
| Replies: 5 Views: 523 I have changed it, but the error is still same.... |
Forum: ASP.NET Jun 29th, 2009 |
| Replies: 5 Views: 523 I got this source code from internet.
This source purpose is to call ASP.Net function or method from JavaScript.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default5.aspx.vb"... |
Forum: JavaScript / DHTML / AJAX Jun 28th, 2009 |
| Replies: 2 Views: 821 Done, I have solved that problem
I use this code :
StrJScript = "<SCRIPT>parent.document.getElementById('iFrmCustomer').style.display = 'none';</SCRIPT>"
If Not... |
Forum: JavaScript / DHTML / AJAX Jun 25th, 2009 |
| Replies: 2 Views: 821 Dear all,
I can use this code to write a value in parent window control.
StrJScript = "<SCRIPT>parent.document.forms[0].TxtCustomerId.value = '" & ClearSpace(Row.Cells(1).Text.Trim) &... |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 3 Views: 2,505 thanks...it works....
I made mistake in
ScriptManager.RegisterClientScriptBlock(Page, Me.GetType(), "s", "<SCRIPT>var w = 0, h = 0;if (document.all || document.layers) { w =... |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 3 Views: 2,505 Dear all,
I used to use pure ASP.Net code like this :
Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim S As String
If... |
Forum: ASP.NET Jun 10th, 2009 |
| Replies: 4 Views: 754 Check this link :
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6559&lngWId=10 |
Forum: ASP.NET May 14th, 2009 |
| Replies: 3 Views: 1,302 in my way
string str="";
int no = Convert.ToInt32(Val(str)); |
Forum: ASP.NET May 12th, 2009 |
| Replies: 4 Views: 1,443 I use ButtonField not CommandField.
So, if I click 'Edit', it doesn't mean I want to edit my GridView cell. I want to edit my data in TextBoxes and DropDownList.
But I don't know whether... |
Forum: ASP.NET May 12th, 2009 |
| Replies: 2 Views: 3,055 Hi Chester,
try this :
Sub ActionSave()
Dim Chk As New CheckBox
Dim D As GridViewRow
Dim EmployeeID As String = "" |
Forum: ASP.NET May 12th, 2009 |
| Replies: 4 Views: 1,443 Dear all,
I use asp:button field in my gridview
<asp:GridView ID="GV" runat="server" DataSourceID="SDSInHouseRate" Width="100%" AutoGenerateColumns="False" OnRowCommand="GV_RowCommand"... |
Forum: MS SQL May 11th, 2009 |
| Replies: 5 Views: 1,051 Oh my God, It works....Thanks a lot
:) |
Forum: ASP.NET May 8th, 2009 |
| Replies: 1 Views: 277 You may use session to check your user id
Public Function CheckValidation(ByVal UserId As String) As Boolean
CheckValidation= False
If UserId = "" Then
... |
Forum: ASP.NET May 7th, 2009 |
| Replies: 2 Views: 909 Hi ebosysindia,
Please use CheckBoxList control.
and to check which item is selected :
Dim V As String = ""
Dim I As SByte
For i = 0 To CheckBoxList1.Items.Count - 1
... |
Forum: ASP.NET May 6th, 2009 |
| Replies: 1 Views: 314 Hi jkvsos,
Try this one :
Try
Dim Table As CrystalDecisions.CrystalReports.Engine.Table
For Each Table In Crs.ReportDocument.Database.Tables
Dim Logon... |