|
Hello Everyone,
I want to run my uploaded videos in realplayer or quicktime or mediaplayer
in my program My videos can be flash files or anything else
Thnx & Regards
Manoj Bisht
|
|
|
|
|
Hi All,
I am working with ASP.NET2.0(VB) and want to merge two GridView on button click. Is there any way of doing this.
Please help...
Thanks in advance...
|
|
|
|
|
please explain ur question
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
Thanks for the reply, I need one Gridview with 5 rows and another gridview with 2 rows and I need to merge this two gridview show 7 rows.
Is there any way???
|
|
|
|
|
your both gried view have same columns and if u r binding ur gridview then try to merge both tables (Dim dt as Data.Table) in seprate table and bind it with gridview
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
try like this
Table1 (with 5 rows)<br />
Table2 (with 2 rows)<br />
<br />
<br />
Dim Dt As Data.DataTable<br />
Dim dr As Data.DataRow<br />
<br />
<br />
dt = Table1<br />
<br />
For index As Integer = 1 To LeaveReacordTable1.Rows.Count - 1<br />
dr = dt.NewRow<br />
dr.Item("Column Name 1") = LeaveReacordTable1.Rows(index)("Column Name 1")<br />
dr.Item.....<br />
dt.Rows.Add(dr)<br />
<br />
Next<br />
GridView1.DataSource = dt<br />
GridView1.DataBind()
Is it helpfull?
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
I tried doing that before only but its giving me repeated records.... In check ur code but didnt get what is LeaveReacordTable1??
Actually problem is that I have 3 gridview on my form original, search and Import from excel Gridview. When the page is load Original gridview is displayed if I do any searching then search girdview is displayed and other two r visible false. Finally if I import data from excel then I need to merge that gridvie with any of the one which is visible with no data repeating. This proceed can be done is random way also. I mean I can first import and then search or vice versa..
Please help me...
|
|
|
|
|
sorry it's (LeaveReacordTable1) Table2
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
I tried doing that before only but its giving me repeated records.... In check ur code but didnt get what is LeaveReacordTable1??
Actually problem is that I have 3 gridview on my form original, search and Import from excel Gridview. When the page is load Original gridview is displayed if I do any searching then search girdview is displayed and other two r visible false. Finally if I import data from excel then I need to merge that gridvie with any of the one which is visible with no data repeating. This proceed can be done is random way also. I mean I can first import and then search or vice versa..
Please help me...
|
|
|
|
|
u r getting records in some table before displaying them in gridview
if u have same structure of your tables Search, Import....
then
let suppose if u have records in SearchDataTable wich u r binding with GridViewSearch and now u want to display ur ImportDataTable records in same SearchGridVeiw then u have todo somthing like this
SearchDataTable (with 5 rows)
ImportDataTable (with 2 rows)
'Creat a new DataTable and DataRow
Dim Dt As Data.DataTable
Dim dr As Data.DataRow
dt = SearchDataTable
For index As Integer = 1 To ImportDataTable.Rows.Count - 1
dr = dt.NewRow
dr.Item("Column Name 1") = ImportDataTable.Rows(index)("Column Name 1")
dr.Item("Column Name 2") = ImportDataTable.Rows(index)("Column Name 2")
dr.Item.....
dt.Rows.Add(dr)
Next
SearchGridVeiw.DataSourceID=""
SearchGridVeiw.DataSource = dt
SearchGridVeiw.DataBind()
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
|
function Cover(botto,top,ignoreSize){
var location=Sys.UI.DomElement.getLocation(bottom);
top.style.position='absolute';
top.style.top=location.y+'px';
if(!ignoreSize){
top.style.height=bottom.offsetHeight+'px';
top.style.width=bottom.offsetWidth+'px';
}
}
does anyone know how to convert this java code to visual basic
or a software to perform the convertion
|
|
|
|
|
Apart from the Sys.UI.DomElement, this looks like javascript to me. No tool will convert java to VB, or javascript to VB. The core thing is, what does this code do ? It looks like client side code to me, and VB runs on the server, so a conversion won't help you.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
whts the difference between java and javascript
anyways i hate java coding
thx for replying though
|
|
|
|
|
There are not any tools that will convert from Java/Javascript to VB. You will need to understand what the java function is doing, and write vb code from scratch to try to mimic the java function.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
whts the difference between java and javascript
anyways i hate java coding
thx for replying though
|
|
|
|
|
javascript in short, is watered down java that runs like a script, java code actually gets compiled into byte code like VB.NET/C#.
duo!@# wrote: i hate java coding
Good reply on a VS/.NET site I did plenty of java back in the college days, and I don't miss it
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I know of one Java to VB converter:
http://www.gen-y-softwares.com/[^]
I haven't tried it though.
David Anton
http://www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
C++ to C# Converter: converts C++ to C#
C++ to VB Converter: converts C++ to VB
Instant C++: converts C# to C++/CLI and VB to C++/CLI
|
|
|
|
|
Hi,
why does it give me an error: 'System.Web.HttpRequest.ServerVariables' is a 'property' but is used like a 'method'
here is the code :
e.Message.Body = e.Message.Body.Replace("<%DomainName%>", Request.ServerVariables("SERVER_NAME"))
|
|
|
|
|
try this...
e.Message.Body = e.Message.Body.Replace("<%DomainName%>", Request.ServerVariables["SERVER_NAME"])
<< >>
|
|
|
|
|
|
I try to find a label inside my repeater and asign it a new value:
can some one tell me where my error:
it give me "Null Reference Exception..."
this my code:
Dim aa As New Label
aa = myRepeater.FindControl("LblName")
aa.Text = "rrrrr"
Thanks a lot
Assaf
|
|
|
|
|
Several reasons
1 - because you should never call FindControl and not check the return value, as it can fail
2 - because the contents of a repeater are going to 'repeat' ( hence the name ), there's no single label called LblName, instead you need to handle the event when a row is data bound, and find the control inside the row.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
The label doesn't repet many time just in the top of the repeater
"<asp:Repeater ID="myRepeater" runat="server">
<HeaderTemplate>
<table border="2">
<tr>
<td colspan="5" height="30"><asp:Label ID="LblName" runat="server" Text="dddddd"></asp:Label></td>
</tr> "
.....
the error is as it appear in message in catch exception :"Object reference not set to an instance of an object. "
Thanks a lot Christian
Assaf
|
|
|
|
|
See my comments on one of the many other threads you've created on this issue, below.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|