I have Table News
NewsID, int
NewsHeadLint, varcahr(200)
OrderNews, int
I gridView Display as following query
Select ID,NewsHeadLine from News order By OrderNews DESC
----
<asp:GridView ID="GridView1" runat="server" AutoGenerateCol umns="False" DataKeyNames="N ewsID" EmptyDataText=" There are no data records to display."
...
User Profile
Collapse
-
GridView Sorting problem
-
Dealing with command in GridView [asp.net 2.0]
Hello ;
I added grid view in my web project
and added buttun feild and covert it to template feild
and every thing works ok
protected void Grid1_Command(o bject sender, System.Web.UI.W ebControls.Grid ViewCommandEven tArgs e)
{
String z = (String)e.Comma ndArgument;
int indexGrid = Convert.ToInt16 (z);
String CommandNamew... -
............
hi
how can i get the index ???
that importent thing;
i want to know which row that checkbox is click in so i can get the datakeys
thanks... -
GridView problem
Hello;
I added gridView to web page and dataSource is table stored in database
I I have cloumn in table of database type bit
so in gridView convert this coulm to templateFeild
then i make some change in this feild
-autopostback=tr ue
-enable=true
and I want when user chech the checkbox change the value in databse
I have tried the following to get the datakey of gridView
[code=c]... -
hosting problem
Hello;
I develop website and uploaded to host provider and works fine but I uploaded it to ther hosting provider and it not working and give this problem
-----
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by... -
frameset using in asp.net
I have freamset in my web application
<frameset rows="138,*" cols="*" framespacing="1 " frameborder="NO " border="1" bordercolor="#3 366CC">
<frame src="Header.asp x" name="topFrame" scrolling="NO" noresize >
<frameset rows="*" cols="261,*" framespacing="0 " frameborder="ye s"... -
xmlWriter
Helloo all
am using xmltextWriter to write node in xml file
XmltextWriter w=null
w=new Xmltextwriter(-----);
but the problem not in using writer
the problem is
I have listbox have this values
Level1
Level2
Level2
Level2
Level3
Level3
Level1
Level2
Level3
Level4
Level2
Level2
Level1
and... -
XMLwriter help
Helloo all
am using xmltextWriter to write node in xml file
XmltextWriter w=null
w=new Xmltextwriter(-----);
but the problem not in using writer
the problem is
I have listbox have this values
Level1
Level2
Level2
Level2
Level3
Level3
Level1
Level2
Level3
Level4
Level2
Level2
Level1
and...
No activity results to display
Show More
Leave a comment: