Thank you KDavie, I am not getting as many errors, but the database values are not being selected.
For the detailsview, i placed the above code in the ItemCommand and then I switched the code to modeChanging event. i tried row-editing, but I don't get any of the response.writes to indicate...
...SqlConnection detconn = new SqlConnection(showdet);
SqlCommand detcomm = new SqlCommand("select * from view_shwAllMusic WHERE ID=@ID", detconn);
DataTable mdt = new DataTable();
try
{
foreach (GridViewRow abc in musicGrid.Rows)
{...
this is what I changed. I had a loop for my data, but now, the detailsview does not appear.
foreach (GridViewRow abc in musicGrid.Rows)
{
foreach (GridViewRow detm in musicDetailsGV.Rows)
{
CheckBox bCheck =...
in my code-behind, I get
Object reference not set to an instance of an object. , the error is supposedly with my datasource:
myvideo.DataSource = mdt;
foreach (GridViewRow abc in musicGrid.Rows)
{
CheckBox bCheck = (CheckBox)abc.FindControl("selectMusic")...
...feature not only the user's previous selection, but new options from the database.
Please advise.
SqlCommand detcomm = new SqlCommand("select * from view_shwAllMusic WHERE ID=@ID", detconn);
DataTable mdt = new DataTable();
try
{
foreach (GridViewRow...
...SqlConnection detconn = new SqlConnection(showdet);
SqlCommand detcomm = new SqlCommand("select * from view_showAudio WHERE ID=@ID", detconn);
DataTable mdt = new DataTable();
try
{
foreach (GridViewRow abc in musicGrid.Rows)
{...
Hello.
I understand that filemaker pro has 2 proprietary XML formats. however, it's not clear to me whether I can convert a sql generated xml file to filemaker pro's xml. Is this possible?
i actually refined my statement, and more cells are finally being highlighted, but there should be about 275 and I am getting only 10:
'1) Pull results from initial recordset
While Not rs.EOF
For i = 0 To rs.Fields.Count - 1
row = 2...
thank you. i was embedding the second statement within the overall query (which pulls the initial data).
so far, only one cell is highlighted, although there are more to highlight.
i am still getting an error within this second block. the program stops at the 'end if'. i put 2 variables in...
is it really possible to include a second query within my module that will highlight found records based on the query?
i have 2 queries. the first one runs successfully. however, i want to include a second query that is also pulled from the database. with the second query, i am searching...
as some of the strings don't exists, I tried the following, but i still get incorrect data in the transposed cells. is there an ifExists function?
For i = 0 To UBound(sInt, 2) Step 1
lRow = 2
For Each rCells In ws_source.Cells.Range("A1986:A2003")...
i get a blank worksheet:
For i = 0 To UBound(sInt, 2) Step 1
lRow = 2
For Each rCells In ws_source.Cells.Range("A1986:A2000")
ws_dest.Range("A:G").EntireColumn.AutoFit
Select Case rCells.value Case "User:", "ID:"...
Hi.
I am running a basic macro to search text within a long excel document. i am copying the contents of the search into a new excel document. the data is transposed. the problem is that some of the cells within the source document are blank.
ie:
User:
ID:
Email:
City:
Sector:
User...
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.