I am not sure if that what you need but you can possibly add delete button to repeater like this
<ItemTemplate>
<tr><td><%# DataBinder.Eval(Container.DataItem, "Model") %></td><td><asp:Button Text="push" CommandArgument='<%#DataBinder.Eval(Container.DataItem, "ID") %>'...
I am adding parameter to my report in the design view and at the run time I am setting it's value code below:
paramList.Add(
new ReportParameter("ReportYear", "2003", false));
this.reportViewer1.ServerReport.SetParameters(paramList);
//...
I am new to windows forms and trying to use form_load event. See code bellow.
private void Form1_Load(Object sender, System.EventArgs e)
{
MessageBox.Show("TEST");
}
When the window's form is showing up, nothing is happening.
I would appreciate your suggestions.
I am trying create rdlc reports microsoft reports in Visual Studio Express and can't find any templates when going to add new item.
Any suggestions appreciate.
I am not sure if you have to do all in one join query, but you can
get desired output with two query and two loops.
sql="Select * from PU_TEAMS"
rs.execute(sql)
do while not rs.eof
'set teamid
pu_teamsid=rs("id")
print Team Name
print Description
sql="select * from Contacts where...
Thanks, I used this in the past. I have decided to get all the variables from the recordset in the asp variables like this
name=rs("name")
lname=rs("lname")
this will avoid error since I will not have to access it through rs object of ADO
query="Select firstname, lastname from users"
' if I am assigning lastname before firstname error will be
'produce and no data will be assigned
lastname=rs("lastname")
fistname=rs("fistname")
I don't have an exact source code now will get it later thanks
set cnn = server.createobject("ADODB.Connection")
cnn.open "Provider=SQLOLEDB; Data Source=mydb/sqlexpress;UID=;PWD=;DATABASE= "
set comm=server.createobject("ADODB.Command")
This works for me.
I am having an issue with data access through the record set. When I am getting value from execution of the sql query with asp execute statement. The order of the selected data columns in the query is matters.
For example if my query “select firstname, lastname from users”, and I will try...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.