I created a new project, threw a grid on it along. i was wrote the function of formatphone in each gridview rows, i used to below code:
Protected Sub grdpatient_RowD ataBound(sender As Object, e As GridViewRowEven tArgs) Handles grdpatient.RowD ataBound
If e.Row.RowType = DataControlRowT ype.DataRow Then
Dim dbPat As DBUser = New DBUser(Page)
Dim sFormattedPhone As String...
User Profile
Collapse
-
why does gridview row databound run twice in each row
-
It is a string..
Thanks -
chechkbox list validation
Hi all
i have tried to validated the my textboxes and checkbox lists also,
i've write this following script
Code:function validateResume() { var FirstName = document.getElementById("txtFirstName"); var LastName = document.getElementById("txtLastName"); var Address1 = document.getElementById("txtAddress1"); var Address2
-
How to write query for Day, month,date and year?
Hi all
i want to get the column like wednessday,Sept ember 10,2016,
i wrote the following query, but still i did not get the day
my query is,
select (Convert(VARCHA R(11), Worship_date, 106)) as Worship_date from tbl_Worship
Thanks in advance -
Want to query
Hi alL,
I have three dropdownlists for the filters the datagrid,
like QUALIFICATION, SKILLSET, STATUS..
now if i have selected on the dropdown of ddlqualificatio n, but ddlstatus and ddlskilsets are in 'ALL' position, and same like that STATUS and SKILLSET.. i wrote the following query eith the if condition
Dim sSQL As String = (" Select ResumeId, FirstName + ' , ' + LastName AS Name, " &... -
Student id is the primary key from tblstudent and language id is the primary key from tblstudentlang tableLeave a comment:
-
join query
hai, i have a three tables one is tblstudent(uniq ueid=studentid) , tbllanguage(uni queid=languagei d,),tblstudlang (languageid and studentid)
now i want studentname from tblstudent and languagename from tblstudlang
how to write a join query of this?
help me.. -
-
Datalist control
Hi, I have the two column names of studentname, language name in datatable, now want to bind the data list control, by the way of displaying datalist control in the (StudentName:ch risty, languagename:En glish,french and so on..)
now my code is
(DataList1.Data Source = obj.GetDatalist ()
DataList1.DataB ind()}
and the result is
studentname:chr isty
languagename:en glish
... -
Join query
Hai, i'm a fresher..
now i'm working on datalist control in asp.net, now i want to join query for this purposes..
i have the three table, tblstudent, tbllang, tblstudlang,
i want to bind the columns name of firstname and courseoffered from tblstudent and its id is studentid, and languagename from tbllang and first its joining with tbllang's id is laguageid, and tblstudlang's id is languageid..
... -
query string
Code:Dim StudentID As Integer Response.Redirect("~/StudentLanguage.aspx?StudentID=" & StudentID)
but i want to selected rows of student id..
how to pass the values of query string.. -
How to validate the selected value of checkboxlist using javascript
how to write a javascript event for each checkboxlist items -
-
How to validate the selected value of checkboxlist using javascript
Hai i want to display the selected values of checkboxlist in an alert in javascript
i'm using following code, but it doesn't work.. please help me...
Code:function ChkSelectvalue(ckBoxItems) { try { var chkList = ckBoxItems.getElementsByTagName('input'); var listOfSpans = ckBoxItems.getElementsByTagName('span'); var chkList1 = chkList.length;
-
-
cursor position
Hai...
when I run it, it always gives greater length and user have to use arrow keys to go back to start of textbox.
In short I want to set the position of cursor at start of textbox by default.
would any one tell me how to set the position of cursor in TextBox?
thanx -
-
Thanks Dormilich and HargreavesRandy ,my problems were solved.:)Leave a comment:
-
Validation for gender(radiobutton list)
if (Gender === "") {
var bCheck = false;
for (var i = 0; i < Gender.length; i++) {
if (Gender[i].checked) {
bCheck = true;
}
}
if (bCheck === false) {
document.getEle mentById("Tabs_ Panel3_Label3") .innerText...
No activity results to display
Show More
Leave a comment: